Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ResupplySupportStationComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_ResupplySupportStationComponentClass

Functions

SCR_ResupplySupportStationComponentClass SCR_BaseItemSupportStationComponentClass InitValidSetup ()
override ESupportStationType GetSupportStationType ()
override bool IsValid (IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action, vector actionPosition, out ESupportStationReasonInvalid reasonInvalid, out int supplyAmount)
override void OnExecutedServer (notnull IEntity actionOwner, notnull IEntity actionUser, notnull SCR_BaseUseSupportStationAction action)
override void OnExecute (IEntity actionOwner, IEntity actionUser, int playerId, SCR_BaseUseSupportStationAction action)
void OnConsumeMilitarySupplyAllocationServer (IEntity actionUser, int amount)
int GetMilitarySupplyAllocationCostOfAction (SCR_BaseUseSupportStationAction action)

Function Documentation

◆ GetMilitarySupplyAllocationCostOfAction()

int GetMilitarySupplyAllocationCostOfAction ( SCR_BaseUseSupportStationAction action)
protected
Returns
the Military Supply Allocation cost of action based on item supply cost
Parameters
[in]action

Definition at line 158 of file SCR_ResupplySupportStationComponent.c.

◆ GetSupportStationType()

override ESupportStationType GetSupportStationType ( )

Definition at line 22 of file SCR_ResupplySupportStationComponent.c.

◆ InitValidSetup()

◆ IsValid()

override bool IsValid ( IEntity actionOwner,
IEntity actionUser,
SCR_BaseUseSupportStationAction action,
vector actionPosition,
out ESupportStationReasonInvalid reasonInvalid,
out int supplyAmount )

Definition at line 28 of file SCR_ResupplySupportStationComponent.c.

◆ OnConsumeMilitarySupplyAllocationServer()

void OnConsumeMilitarySupplyAllocationServer ( IEntity actionUser,
int amount )
protected
Parameters
[in]actionUser
[in]amount

Definition at line 127 of file SCR_ResupplySupportStationComponent.c.

◆ OnExecute()

override void OnExecute ( IEntity actionOwner,
IEntity actionUser,
int playerId,
SCR_BaseUseSupportStationAction action )
protected

Definition at line 69 of file SCR_ResupplySupportStationComponent.c.

◆ OnExecutedServer()

override void OnExecutedServer ( notnull IEntity actionOwner,
notnull IEntity actionUser,
notnull SCR_BaseUseSupportStationAction action )

Definition at line 40 of file SCR_ResupplySupportStationComponent.c.