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

Go to the source code of this file.

Classes

class  SCR_FuelSupportStationComponentClass

Functions

SCR_FuelSupportStationComponentClass SCR_BaseSupportStationComponentClass Attribute (defvalue:EFuelFlowCapacityOut.FUEL_CARGO.ToString(), uiwidget:UIWidgets.SearchComboBox, desc:"Maximum Flow Capacity (per minute). Is only used if entity does not have a Fuelmanager with Nodes as scripted fuel nodes have the max flow assigned", enums:ParamEnumArray.FromEnum(EFuelFlowCapacityOut), category:"Fuel Support Station Only")] protected EFuelFlowCapacityOut m_BackupMaxFlowCapacity
SCR_AudioSourceConfiguration GetOnUpdateAudioConfig ()
override void DelayedInit (IEntity owner)
override bool IsValid (IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action, vector actionPosition, out ESupportStationReasonInvalid reasonInvalid, out int supplyAmount)
override ESupportStationType GetSupportStationType ()
void OnFuelAddedToVehicleServer (float fuelAmount, SCR_FuelNode nodeUsedForRefuel)
void GetFuelNodeInfo (out float maxFlowCapacity, out SCR_FuelNode nodeUsedForRefuel, float actionDuration)
override void OnExecutedServer (notnull IEntity actionOwner, notnull IEntity actionUser, notnull SCR_BaseUseSupportStationAction action)
void OnExecuteFuelBroadcast (RplId ownerId, RplId userId, int userPlayerId, float fuelTankFillPercentage, bool currentTankFull, int actionId)
void OnExecuteFuel (IEntity actionOwner, IEntity actionUser, int playerId, float fuelPercentage, bool currentTankFull, SCR_BaseUseSupportStationAction action)
override void OnExecute (IEntity actionOwner, IEntity actionUser, int playerId, SCR_BaseUseSupportStationAction action)
void PlayRefuelUpdateSound (IEntity actionOwner, SCR_BaseUseSupportStationAction action)

Variables

string m_sOnUpdateSoundEffectEventName
ref SCR_AudioSourceConfiguration m_OnUpdateAudioSourceConfiguration
ESupportStationReasonInvalid m_EmptyInvalidReason
SCR_FuelManagerComponent m_SupportStationFuelManager

Function Documentation

◆ Attribute()

SCR_FuelSupportStationComponentClass SCR_BaseSupportStationComponentClass Attribute ( defvalue:EFuelFlowCapacityOut.FUEL_CARGO. ToString(),
uiwidget:UIWidgets. SearchComboBox,
desc:"Maximum Flow Capacity (per minute). Is only used if entity does not have a Fuelmanager with Nodes as scripted fuel nodes have the max flow assigned" ,
enums:ParamEnumArray. FromEnumEFuelFlowCapacityOut,
category:"Fuel Support Station Only"  )

◆ DelayedInit()

override void DelayedInit ( IEntity owner)
protected

Definition at line 46 of file SCR_FuelSupportStationComponent.c.

◆ GetFuelNodeInfo()

void GetFuelNodeInfo ( out float maxFlowCapacity,
out SCR_FuelNode nodeUsedForRefuel,
float actionDuration )
protected

Definition at line 92 of file SCR_FuelSupportStationComponent.c.

◆ GetOnUpdateAudioConfig()

SCR_AudioSourceConfiguration Attribute::GetOnUpdateAudioConfig ( )
protected

Get Audio config to play Will create it if it not yet exists. Returns null if no SoundFile or SoundEvent is set

Returns
Sound Config

Definition at line 9 of file SCR_FuelSupportStationComponent.c.

◆ GetSupportStationType()

override ESupportStationType GetSupportStationType ( )
protected

Definition at line 73 of file SCR_FuelSupportStationComponent.c.

◆ IsValid()

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

Definition at line 57 of file SCR_FuelSupportStationComponent.c.

◆ OnExecute()

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

Definition at line 341 of file SCR_FuelSupportStationComponent.c.

◆ OnExecutedServer()

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

Definition at line 135 of file SCR_FuelSupportStationComponent.c.

◆ OnExecuteFuel()

void OnExecuteFuel ( IEntity actionOwner,
IEntity actionUser,
int playerId,
float fuelPercentage,
bool currentTankFull,
SCR_BaseUseSupportStationAction action )
protected

Definition at line 287 of file SCR_FuelSupportStationComponent.c.

◆ OnExecuteFuelBroadcast()

void OnExecuteFuelBroadcast ( RplId ownerId,
RplId userId,
int userPlayerId,
float fuelTankFillPercentage,
bool currentTankFull,
int actionId )
protected

Definition at line 269 of file SCR_FuelSupportStationComponent.c.

◆ OnFuelAddedToVehicleServer()

void OnFuelAddedToVehicleServer ( float fuelAmount,
SCR_FuelNode nodeUsedForRefuel )
protected

Definition at line 80 of file SCR_FuelSupportStationComponent.c.

◆ PlayRefuelUpdateSound()

void PlayRefuelUpdateSound ( IEntity actionOwner,
SCR_BaseUseSupportStationAction action )
protected

Definition at line 348 of file SCR_FuelSupportStationComponent.c.

Variable Documentation

◆ m_EmptyInvalidReason

ESupportStationReasonInvalid m_EmptyInvalidReason
protected

Definition at line 41 of file SCR_FuelSupportStationComponent.c.

◆ m_OnUpdateAudioSourceConfiguration

ref SCR_AudioSourceConfiguration m_OnUpdateAudioSourceConfiguration
protected

Definition at line 3 of file SCR_FuelSupportStationComponent.c.

◆ m_sOnUpdateSoundEffectEventName

string m_sOnUpdateSoundEffectEventName
protected

Definition at line 1 of file SCR_FuelSupportStationComponent.c.

◆ m_SupportStationFuelManager

SCR_FuelManagerComponent m_SupportStationFuelManager
protected

Definition at line 43 of file SCR_FuelSupportStationComponent.c.