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

Go to the source code of this file.

Classes

class  SCR_VehicleSalvageSupportStationComponentClass

Functions

SCR_VehicleSalvageSupportStationComponentClass SCR_BaseSupportStationComponentClass Attribute (defvalue:"0.2", uiwidget:UIWidgets.SpinBox, params:"0 inf", desc:"The refund multiplier for salvging wrecks. 20% of original cost by default.", category:"General Settings")] protected float m_fRefundMultiplier
override bool IsValid (IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action, vector actionPosition, out ESupportStationReasonInvalid reasonInvalid, out int supplyAmount)
override ESupportStationType GetSupportStationType ()
override bool HasSupplyGainInsteadOfCost (SCR_BaseUseSupportStationAction action)
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)

Function Documentation

◆ Attribute()

SCR_VehicleSalvageSupportStationComponentClass SCR_BaseSupportStationComponentClass Attribute ( defvalue:"0.2" ,
uiwidget:UIWidgets. SpinBox,
params:"0 inf" ,
desc:"The refund multiplier for salvging wrecks. 20% of original cost by default." ,
category:"General Settings"  )

◆ GetSupplyAmountAction()

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

Definition at line 39 of file SCR_VehicleSalvageSupportStationComponent.c.

◆ GetSupportStationType()

override ESupportStationType GetSupportStationType ( )

Definition at line 26 of file SCR_VehicleSalvageSupportStationComponent.c.

◆ HasSupplyGainInsteadOfCost()

override bool HasSupplyGainInsteadOfCost ( SCR_BaseUseSupportStationAction action)

Definition at line 32 of file SCR_VehicleSalvageSupportStationComponent.c.

◆ IsValid()

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

Definition at line 13 of file SCR_VehicleSalvageSupportStationComponent.c.

◆ OnExecute()

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

Definition at line 76 of file SCR_VehicleSalvageSupportStationComponent.c.

◆ OnExecutedServer()

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

Definition at line 53 of file SCR_VehicleSalvageSupportStationComponent.c.