![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| ScriptInvokerBase< SupportStation_OnSupportStationExecuted > | GetOnSupportStationExecutedSuccessfully () |
| int | GetArrayOfSupportStationType (ESupportStationType type, notnull out array< SCR_BaseSupportStationComponent > supportStations) |
| SCR_BaseSupportStationComponent | GetClosestValidSupportStation (ESupportStationType type, notnull IEntity actionUser, notnull IEntity actionOwner, SCR_BaseUseSupportStationAction action, vector actionPosition, out ESupportStationReasonInvalid reasonInvalid, out int supplyCost) |
| void | AddSupportStation (SCR_BaseSupportStationComponent supportStation) |
| void | RemoveSupportStation (SCR_BaseSupportStationComponent supportStation) |
| override void | OnPostInit (IEntity owner) |
Static Protected Member Functions | |
| static SCR_SupportStationManagerComponent | GetInstance () |
| static void | OnSupportStationExecutedSuccessfully (notnull SCR_BaseSupportStationComponent supportStation, ESupportStationType supportStationType, IEntity actionUser, IEntity actionOwner, SCR_BaseUseSupportStationAction action) |
| static void | GetCombinedHitZonesStateForDamageSupportStation (notnull SCR_DamageManagerComponent damageManagerComponent, notnull array< HitZone > hitZones, float maxHealPercentage, out float roughHealPercentageStatus, out bool allHitZonesMaxHealth=true) |
Protected Attributes | |
| ref map< ESupportStationType, ref array< SCR_BaseSupportStationComponent > > | m_mSupportStations = new map<ESupportStationType, ref array<SCR_BaseSupportStationComponent>>() |
| ref ScriptInvokerBase< SupportStation_OnSupportStationExecuted > | m_OnSupportStationExecutedSuccessfully = new ScriptInvokerBase<SupportStation_OnSupportStationExecuted>() |
Static Protected Attributes | |
| static SCR_SupportStationManagerComponent | s_Instance |
Definition at line 10 of file SCR_SupportStationManagerComponent.c.
|
inlineprotected |
Add support station to manager
| [in] | supportStation | Support Station to add |
Definition at line 148 of file SCR_SupportStationManagerComponent.c.
|
inlineprotected |
Definition at line 55 of file SCR_SupportStationManagerComponent.c.
|
inlineprotected |
Returns closest valid support station of given type. Will only get support stations of highest availible priority
| [in] | type | Support Station Type |
| [in] | actionUser | User that started the action |
| [in] | actionOwner | entity on which the action manager was executed |
| [in] | action | |
| [in] | actionPosition | |
| [out] | reasonInvalid | Reason why interaction was invalid (Will always take the highest reason why) |
| [out] | supplyCost | cost of closest valid support station, -1 if supplies are not enabled or if no support station is valid |
Definition at line 79 of file SCR_SupportStationManagerComponent.c.
|
inlinestaticprotected |
Used in DamageSystemSupport station to return a rough percentage of the health the given damageManagercompnent has. Take note that this will never be a precise number and it will ignore the default hitZone until all other hitZone percentage is greater than it
| [in] | damageManagerComponent | Damage Manager to check |
| [in] | hitZones | |
| [in] | maxHealPercentage | How much can be healed max 1 == 100% |
| [out] | roughHealPercentageStatus | Rough percentage of health of the entity to display to the player the status |
| [out] | allHitZonesMaxHealth | True if all hitZones are max health using maxHealPercentage |
Definition at line 210 of file SCR_SupportStationManagerComponent.c.
|
inlinestaticprotected |
Get instance of SCR_SupportStationManagerComponent from GameMode
Definition at line 23 of file SCR_SupportStationManagerComponent.c.
|
inlineprotected |
Get script invoker when a Support station is executed There is always a chance that given component, entity or action is null depending if it was deleted. Highly unlikely but possible
Definition at line 48 of file SCR_SupportStationManagerComponent.c.
|
inlineprotected |
Definition at line 253 of file SCR_SupportStationManagerComponent.c.
|
inlinestaticprotected |
Called by Support stations when they are successfully executed (Local and server)
| [in] | supportStation | Support station that was executed |
| [in] | type | Support Station Type |
| [in] | actionUser | User that started the action |
| [in] | actionOwner | entity on which the action manager was executed (This is in general the target of the support station action) |
| [in] | action | Action used to execute the support station |
Definition at line 35 of file SCR_SupportStationManagerComponent.c.
|
inlineprotected |
Remove support station from manager
| [in] | supportStation | Support Station to remove |
Definition at line 184 of file SCR_SupportStationManagerComponent.c.
|
protected |
Definition at line 13 of file SCR_SupportStationManagerComponent.c.
|
protected |
Definition at line 18 of file SCR_SupportStationManagerComponent.c.
|
staticprotected |
Definition at line 15 of file SCR_SupportStationManagerComponent.c.