Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_RefuelAtSupportStationAction Class Reference
Inheritance diagram for SCR_RefuelAtSupportStationAction:
SCR_BaseUseSupportStationAction

Protected Member Functions

override ESupportStationType GetSupportStationType ()
void GetFuelTankIDs (array< int > fuelTankIDs)
bool CheckIfFuelNodeIsValid (SCR_FuelNode fuelNode)
int GetValidFuelNodesCount ()
override void Init (IEntity pOwnerEntity, GenericComponent pManagerComponent)
override LocalizedString GetInvalidPerformReasonString (ESupportStationReasonInvalid reasonInvalid)
override bool CanBeShownScript (IEntity user)
override bool PrioritizeHeldGadget ()
override bool CanBePerformedScript (IEntity user)
override int GetActionDecimalCount ()
override float GetActionPercentage ()

Protected Attributes

LocalizedString m_sInvalidFullTank
LocalizedString m_sInvalidFuelActionReason
LocalizedString m_sInvalidReasonFuelCanisterEmpty
ref array< intm_aFuelTankIDs
int m_iActionDecimalCount
SCR_FuelManagerComponent m_FuelManager

Detailed Description

Definition at line 1 of file SCR_RefuelAtSupportStationAction.c.

Member Function Documentation

◆ CanBePerformedScript()

override bool SCR_RefuelAtSupportStationAction::CanBePerformedScript ( IEntity user)
inlineprotected

Definition at line 110 of file SCR_RefuelAtSupportStationAction.c.

◆ CanBeShownScript()

override bool SCR_RefuelAtSupportStationAction::CanBeShownScript ( IEntity user)
inlineprotected

Definition at line 77 of file SCR_RefuelAtSupportStationAction.c.

◆ CheckIfFuelNodeIsValid()

bool SCR_RefuelAtSupportStationAction::CheckIfFuelNodeIsValid ( SCR_FuelNode fuelNode)
inlineprotected

Check if given Fuel node is linked to action. Simply checks the ID of the fuel node not if the given fuel node is linked to the Fuel manager on action

Returns
True if fuel node is valid or FuelTankIDs are ignored. Will return true if null as node is simply filled

Definition at line 38 of file SCR_RefuelAtSupportStationAction.c.

◆ GetActionDecimalCount()

override int SCR_RefuelAtSupportStationAction::GetActionDecimalCount ( )
inlineprotected

Definition at line 166 of file SCR_RefuelAtSupportStationAction.c.

◆ GetActionPercentage()

override float SCR_RefuelAtSupportStationAction::GetActionPercentage ( )
inlineprotected

Definition at line 172 of file SCR_RefuelAtSupportStationAction.c.

◆ GetFuelTankIDs()

void SCR_RefuelAtSupportStationAction::GetFuelTankIDs ( array< int > fuelTankIDs)
inlineprotected

Definition at line 27 of file SCR_RefuelAtSupportStationAction.c.

◆ GetInvalidPerformReasonString()

override LocalizedString SCR_RefuelAtSupportStationAction::GetInvalidPerformReasonString ( ESupportStationReasonInvalid reasonInvalid)
inlineprotected

Definition at line 63 of file SCR_RefuelAtSupportStationAction.c.

◆ GetSupportStationType()

override ESupportStationType SCR_RefuelAtSupportStationAction::GetSupportStationType ( )
inlineprotected

Definition at line 21 of file SCR_RefuelAtSupportStationAction.c.

◆ GetValidFuelNodesCount()

int SCR_RefuelAtSupportStationAction::GetValidFuelNodesCount ( )
inlineprotected

/return Count of valid fuel nodes

Definition at line 47 of file SCR_RefuelAtSupportStationAction.c.

◆ Init()

override void SCR_RefuelAtSupportStationAction::Init ( IEntity pOwnerEntity,
GenericComponent pManagerComponent )
inlineprotected

Definition at line 53 of file SCR_RefuelAtSupportStationAction.c.

◆ PrioritizeHeldGadget()

override bool SCR_RefuelAtSupportStationAction::PrioritizeHeldGadget ( )
inlineprotected

Definition at line 104 of file SCR_RefuelAtSupportStationAction.c.

Member Data Documentation

◆ m_aFuelTankIDs

ref array<int> SCR_RefuelAtSupportStationAction::m_aFuelTankIDs
protected

Definition at line 13 of file SCR_RefuelAtSupportStationAction.c.

◆ m_FuelManager

SCR_FuelManagerComponent SCR_RefuelAtSupportStationAction::m_FuelManager
protected

Definition at line 18 of file SCR_RefuelAtSupportStationAction.c.

◆ m_iActionDecimalCount

int SCR_RefuelAtSupportStationAction::m_iActionDecimalCount
protected

Definition at line 16 of file SCR_RefuelAtSupportStationAction.c.

◆ m_sInvalidFuelActionReason

LocalizedString SCR_RefuelAtSupportStationAction::m_sInvalidFuelActionReason
protected

Definition at line 7 of file SCR_RefuelAtSupportStationAction.c.

◆ m_sInvalidFullTank

LocalizedString SCR_RefuelAtSupportStationAction::m_sInvalidFullTank
protected

Definition at line 4 of file SCR_RefuelAtSupportStationAction.c.

◆ m_sInvalidReasonFuelCanisterEmpty

LocalizedString SCR_RefuelAtSupportStationAction::m_sInvalidReasonFuelCanisterEmpty
protected

Definition at line 10 of file SCR_RefuelAtSupportStationAction.c.


The documentation for this class was generated from the following file: