Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ResupplySupportStationComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_ResupplySupportStationComponentClass
 

Functions

SCR_ResupplySupportStationComponentClass SCR_BaseSupportStationComponentClass Attribute (SCR_EArsenalSupplyCostType.DEFAULT.ToString(), desc:"Cost type of items. If it is not DEFAULT than it will try to get the diffrent supply cost if the item has it assigned", uiwidget:UIWidgets.SearchComboBox, enums:ParamEnumArray.FromEnum(SCR_EArsenalSupplyCostType), category:"Resupply Support Station")] protected SCR_EArsenalSupplyCostType m_eSupplyCostType
 
protected override void DelayedInit (IEntity owner)
 
protected override bool InitValidSetup ()
 
override bool IsValid (IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action, vector actionPosition, out ESupportStationReasonInvalid reasonInvalid, out int supplyCost)
 
override ESupportStationType GetSupportStationType ()
 
protected override int GetSupplyCostAction (IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action)
 
override void OnExecutedServer (notnull IEntity actionOwner, notnull IEntity actionUser, notnull SCR_BaseUseSupportStationAction action)
 
protected override void OnExecute (IEntity actionOwner, IEntity actionUser, int playerId, SCR_BaseUseSupportStationAction action)
 

Variables

protected int m_iFallbackItemSupplyCost
 
protected SCR_EntityCatalogManagerComponent m_EntityCatalogManager
 

Function Documentation

◆ Attribute()

SCR_ResupplySupportStationComponentClass SCR_BaseSupportStationComponentClass Attribute ( SCR_EArsenalSupplyCostType.DEFAULT.  ToString(),
desc:"Cost type of items. If it is not DEFAULT than it will try to get the diffrent supply cost if the item has it assigned"  ,
uiwidget:UIWidgets.  SearchComboBox,
enums:ParamEnumArray.  FromEnumSCR_EArsenalSupplyCostType,
category:"Resupply Support Station"   
)

◆ DelayedInit()

protected override void DelayedInit ( IEntity  owner)

Definition at line 17 of file SCR_ResupplySupportStationComponent.c.

◆ GetSupplyCostAction()

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

Definition at line 61 of file SCR_ResupplySupportStationComponent.c.

◆ GetSupportStationType()

override ESupportStationType GetSupportStationType ( )

Definition at line 55 of file SCR_ResupplySupportStationComponent.c.

◆ InitValidSetup()

protected override bool InitValidSetup ( )

Definition at line 24 of file SCR_ResupplySupportStationComponent.c.

◆ IsValid()

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

Definition at line 43 of file SCR_ResupplySupportStationComponent.c.

◆ OnExecute()

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

Definition at line 112 of file SCR_ResupplySupportStationComponent.c.

◆ OnExecutedServer()

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

Definition at line 87 of file SCR_ResupplySupportStationComponent.c.

Variable Documentation

◆ m_EntityCatalogManager

protected SCR_EntityCatalogManagerComponent m_EntityCatalogManager

Definition at line 14 of file SCR_ResupplySupportStationComponent.c.

◆ m_iFallbackItemSupplyCost

protected int m_iFallbackItemSupplyCost

Definition at line 12 of file SCR_ResupplySupportStationComponent.c.