![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_PlayerSupplyAllocationComponentClass |
|
protected |
Adds param[in] amount to player Available Allocated Supplies New Available Allocated Supplies value is clamped so it does not go below 0 ar above Military Supply Allocation value
| [in] | amount |
Definition at line 130 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 95 of file SCR_PlayerSupplyAllocationComponent.c.
Definition at line 499 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 121 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 77 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 86 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 115 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 109 of file SCR_PlayerSupplyAllocationComponent.c.
| [in] | amount |
Definition at line 173 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 102 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Adjust player Available Allocated Supplies value after requesting an item from arsenal
| [in] | resourceComponent | |
| [in] | resourceName | |
| [in] | inventoryStorageComponent | |
| [in] | resourceType | |
| [in] | itemCost |
Definition at line 376 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Is called when player spawns or gets control of his character after reconnect Sets up the events for supply allocation changes based on rank
| [in] | possessed | character |
Definition at line 232 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 507 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Sets up the component if case Military Supply Allocation by Rank has been enabled or disabled
| [in] | if | Military Supply Allocation by Rank is enabled or disabled |
Definition at line 439 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 427 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Subscribes to player XP changed invoker
| [in] | playerId |
Called after a player is connected. Server-only.
| [in] | playerId | PlayerId of connected player. |
| [in] | playerId |
Definition at line 256 of file SCR_PlayerSupplyAllocationComponent.c.
Called after a player gets deleted.
| [in] | playerId | Player ID |
| [in] | player | Player entity |
Definition at line 303 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Unsubscribes the rank changed invoker
| [in] | playerId | |
| [in] | kick | cause |
| [in] | timeout |
Called after a player is disconnected.
| [in] | playerId | PlayerId of disconnected player. |
| [in] | cause | Reason player disconnected |
| [in] | timeout | Timeout for when players are allowed to connect again. -1 means Ban without an assigned timeout |
What happens when a player disconnects.
| [in] | playerID | is a unique player identifier that defines which player has disconnected. |
| [in] | cause | |
| [in] | timeout |
Definition at line 208 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 295 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Reset Available Allocated Supplies value to value of Military Supply Allocation Stops Available Allocated Supplies replenishment timer
Definition at line 312 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Updates Military Supply Allocation values based on player rank in an event of a unspawned player getting XP
| [in] | playerId | |
| [in] | currentXP | |
| [in] | XPToAdd | |
| [in] | rewardId |
Definition at line 274 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Player rank changed - set the Supply Allocation values according to new rank
| [in] | prevRank | |
| [in] | newRank | |
| [in] | owner | |
| [in] | silent |
Definition at line 336 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
If player's Available Allocated Supplies are below the threshold value it gets replenished to threshold value.
Definition at line 189 of file SCR_PlayerSupplyAllocationComponent.c.
| SCR_PlayerSupplyAllocationComponentClass ScriptComponentClass RplProp | ( | onRplName:"MilitarySupplyAllocationReplicated" | , |
| condition:RplCondition. | OwnerOnly ) |
|
protected |
Sets Military Supply Allocation to new value Adds the difference between old and new Military Supply Allocation value to the current Available Allocated Supplies value
| [in] | amount |
Definition at line 152 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 179 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Sets new Military Supply Allocation value corresponding to player rank
| [in] | playerRank |
Definition at line 347 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 58 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 13 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 23 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 21 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 11 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 15 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 19 of file SCR_PlayerSupplyAllocationComponent.c.
|
protected |
Definition at line 17 of file SCR_PlayerSupplyAllocationComponent.c.