![]() |
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
| class | SCR_CampaignSuppliesComponentClass |
Functions | |
| int | GetLoadingPlayer (bool unloading=false) |
| void | SetSupplyLoadingPlayer (int playerID) |
| void | DeleteSupplyLoadingPlayer (int playerID) |
| protected void | OnPlayerKilled (int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator killer) |
| void | SetSupplyUnloadingPlayer (int playerID) |
| void | DeleteSupplyUnloadingPlayer (int playerID) |
| void | OnSuppliesChanged () |
| int | GetSupplies () |
| int | GetSuppliesMax () |
| void | SetSuppliesMax (int suppliesMax) |
| float | GetOperationalRadius () |
| void | SetIsPlayerInRange (bool status) |
| bool | GetIsPlayerInRange () |
| void | SetLastLoadedAt (SCR_CampaignMilitaryBaseComponent base) |
| void | SetLastUnloadedAt (SCR_CampaignMilitaryBaseComponent base) |
| bool | AwardXP () |
| void | AddSupplies (int supplies, bool replicate=true) |
| bool | GetIsStandaloneDepot () |
| override void | EOnInit (IEntity owner) |
| override void | OnPostInit (IEntity owner) |
| Called on PostInit when all components are added. More... | |
| void | SCR_CampaignSuppliesComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
| void | ~SCR_CampaignSuppliesComponent () |
Variables | |
| SCR_CampaignSuppliesComponentClass | m_LastLoadedAt |
| Makes a vehicle able to carry Conflict resources. More... | |
| protected SCR_CampaignMilitaryBaseComponent | m_LastUnloadedAt |
| protected SCR_CampaignMilitaryBaseComponent | m_LastXPAwardedAt |
| protected bool | m_bAwardUnloadXP = true |
| protected bool | m_bIsPlayerInRange |
| protected ref array< int > | m_aLoadingPlayerIDs = {} |
| protected ref array< int > | m_aUnloadingPlayerIDs = {} |
| ref ScriptInvoker | m_OnSuppliesChanged = new ScriptInvoker() |
| ref ScriptInvoker | m_OnSuppliesTruckDeleted = new ScriptInvoker() |
| protected int | m_iSupplies |
| protected int | m_iSuppliesMax |
| protected float | m_fOperationalRadius |
| bool | m_bIsStandaloneDepot |
| [in] | supplies | |
| [in] | replicate |
Definition at line 227 of file SCR_CampaignSuppliesComponent.c.
| bool AwardXP | ( | ) |
Definition at line 217 of file SCR_CampaignSuppliesComponent.c.
| void DeleteSupplyLoadingPlayer | ( | int | playerID | ) |
| [in] | playerID |
Definition at line 79 of file SCR_CampaignSuppliesComponent.c.
| void DeleteSupplyUnloadingPlayer | ( | int | playerID | ) |
Deletes from Unloading players array
| [in] | playerID |
Definition at line 113 of file SCR_CampaignSuppliesComponent.c.
| bool GetIsPlayerInRange | ( | ) |
Definition at line 182 of file SCR_CampaignSuppliesComponent.c.
| bool GetIsStandaloneDepot | ( | ) |
Definition at line 247 of file SCR_CampaignSuppliesComponent.c.
| int GetLoadingPlayer | ( | bool | unloading = false | ) |
| [in] | unloading | true to verify in Unloading array, otherwise it will look in loading array |
Definition at line 46 of file SCR_CampaignSuppliesComponent.c.
| float GetOperationalRadius | ( | ) |
Get the load / unload radius. If set custom use this. if it's set to zero, use default.
Definition at line 163 of file SCR_CampaignSuppliesComponent.c.
| int GetSupplies | ( | ) |
Definition at line 133 of file SCR_CampaignSuppliesComponent.c.
| int GetSuppliesMax | ( | ) |
Definition at line 141 of file SCR_CampaignSuppliesComponent.c.
| void OnSuppliesChanged | ( | ) |
Definition at line 124 of file SCR_CampaignSuppliesComponent.c.
| void SCR_CampaignSuppliesComponent | ( | IEntityComponentSource | src, |
| IEntity | ent, | ||
| IEntity | parent | ||
| ) |
| [in] | src | |
| [in] | ent | |
| [in] | parent |
Definition at line 327 of file SCR_CampaignSuppliesComponent.c.
| void SetIsPlayerInRange | ( | bool | status | ) |
| [in] | status |
Definition at line 174 of file SCR_CampaignSuppliesComponent.c.
| void SetLastLoadedAt | ( | SCR_CampaignMilitaryBaseComponent | base | ) |
| [in] | base |
Definition at line 190 of file SCR_CampaignSuppliesComponent.c.
| void SetLastUnloadedAt | ( | SCR_CampaignMilitaryBaseComponent | base | ) |
| [in] | base |
Definition at line 203 of file SCR_CampaignSuppliesComponent.c.
| void SetSuppliesMax | ( | int | suppliesMax | ) |
| [in] | suppliesMax |
Definition at line 149 of file SCR_CampaignSuppliesComponent.c.
| void SetSupplyLoadingPlayer | ( | int | playerID | ) |
Setter for Loading players array
| [in] | playerID |
Definition at line 65 of file SCR_CampaignSuppliesComponent.c.
| void SetSupplyUnloadingPlayer | ( | int | playerID | ) |
Setter for Unloading players array
| [in] | playerID |
Definition at line 100 of file SCR_CampaignSuppliesComponent.c.
| void ~SCR_CampaignSuppliesComponent | ( | ) |
Definition at line 333 of file SCR_CampaignSuppliesComponent.c.
| protected ref array<int> m_aLoadingPlayerIDs = {} |
Definition at line 19 of file SCR_CampaignSuppliesComponent.c.
| protected ref array<int> m_aUnloadingPlayerIDs = {} |
Definition at line 22 of file SCR_CampaignSuppliesComponent.c.
| protected bool m_bAwardUnloadXP = true |
Definition at line 13 of file SCR_CampaignSuppliesComponent.c.
| protected bool m_bIsPlayerInRange |
Definition at line 14 of file SCR_CampaignSuppliesComponent.c.
| bool m_bIsStandaloneDepot |
Definition at line 40 of file SCR_CampaignSuppliesComponent.c.
| protected float m_fOperationalRadius |
Definition at line 37 of file SCR_CampaignSuppliesComponent.c.
| protected int m_iSupplies |
Definition at line 30 of file SCR_CampaignSuppliesComponent.c.
| protected int m_iSuppliesMax |
Definition at line 34 of file SCR_CampaignSuppliesComponent.c.
| SCR_CampaignSuppliesComponentClass m_LastLoadedAt |
Makes a vehicle able to carry Conflict resources.
| protected SCR_CampaignMilitaryBaseComponent m_LastUnloadedAt |
Definition at line 11 of file SCR_CampaignSuppliesComponent.c.
| protected SCR_CampaignMilitaryBaseComponent m_LastXPAwardedAt |
Definition at line 12 of file SCR_CampaignSuppliesComponent.c.
| ref ScriptInvoker m_OnSuppliesChanged = new ScriptInvoker() |
Definition at line 25 of file SCR_CampaignSuppliesComponent.c.
| ref ScriptInvoker m_OnSuppliesTruckDeleted = new ScriptInvoker() |
Definition at line 26 of file SCR_CampaignSuppliesComponent.c.