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

Go to the source code of this file.

Classes

class  SCR_VehicleWeaponSupportStationComponentClass

Functions

override void DelayedInit (IEntity owner)
override bool InitValidSetup ()
override bool IsValid (IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action, vector actionPosition, out ESupportStationReasonInvalid reasonInvalid, out int supplyAmount)
override bool HasSupplyGainInsteadOfCost (SCR_BaseUseSupportStationAction action)
float GetGeneratorSupplyMultiplier ()
override ESupportStationType GetSupportStationType ()
override int GetSupplyAmountAction (IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action)
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)

Variables

SCR_VehicleWeaponSupportStationComponentClass m_InventoryStorage

Function Documentation

◆ DelayedInit()

override void DelayedInit ( IEntity owner)
protected

Definition at line 11 of file SCR_VehicleWeaponSupportStationComponent.c.

◆ GetGeneratorSupplyMultiplier()

float GetGeneratorSupplyMultiplier ( )
protected
Returns
the multiplier when generating supplies (aka refunding)

Definition at line 62 of file SCR_VehicleWeaponSupportStationComponent.c.

◆ GetSupplyAmountAction()

override int GetSupplyAmountAction ( IEntity actionOwner,
IEntity actionUser,
SCR_BaseUseSupportStationAction action )
protected

Definition at line 77 of file SCR_VehicleWeaponSupportStationComponent.c.

◆ GetSupportStationType()

override ESupportStationType GetSupportStationType ( )
protected

Definition at line 71 of file SCR_VehicleWeaponSupportStationComponent.c.

◆ HasSupplyGainInsteadOfCost()

override bool HasSupplyGainInsteadOfCost ( SCR_BaseUseSupportStationAction action)
protected

Definition at line 54 of file SCR_VehicleWeaponSupportStationComponent.c.

◆ InitValidSetup()

override bool InitValidSetup ( )
protected

Definition at line 21 of file SCR_VehicleWeaponSupportStationComponent.c.

◆ IsValid()

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

Definition at line 34 of file SCR_VehicleWeaponSupportStationComponent.c.

◆ OnExecute()

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

Definition at line 258 of file SCR_VehicleWeaponSupportStationComponent.c.

◆ OnExecutedServer()

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

Definition at line 105 of file SCR_VehicleWeaponSupportStationComponent.c.

Variable Documentation

◆ m_InventoryStorage