Arma Reforger Script API
Loading...
Searching...
No Matches
FuelManagerComponent Interface Reference
Inheritance diagram for FuelManagerComponent:
GameComponent SCR_FuelManagerComponent

Public Member Functions

proto external int GetFuelNodesList (out notnull array< BaseFuelNode > outNodes)
 
proto external bool HasFuel ()
 Returns true if one node has at least some fuel.
 
proto external bool CanBeRefueled ()
 Returns true if at least one node can be refueled.
 
proto external float GetTotalFuel ()
 Get the current sum of amount of fuel in all nodes.
 
proto external float GetTotalMaxFuel ()
 Get the current sum of the max amount of fuel in all nodes.
 
void OnInit (IEntity owner)
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Member Function Documentation

◆ CanBeRefueled()

proto external bool FuelManagerComponent.CanBeRefueled ( )

Returns true if at least one node can be refueled.

◆ GetFuelNodesList()

proto external int FuelManagerComponent.GetFuelNodesList ( out notnull array< BaseFuelNode > outNodes)

◆ GetTotalFuel()

proto external float FuelManagerComponent.GetTotalFuel ( )

Get the current sum of amount of fuel in all nodes.

◆ GetTotalMaxFuel()

proto external float FuelManagerComponent.GetTotalMaxFuel ( )

Get the current sum of the max amount of fuel in all nodes.

◆ HasFuel()

proto external bool FuelManagerComponent.HasFuel ( )

Returns true if one node has at least some fuel.

◆ OnInit()

void FuelManagerComponent.OnInit ( IEntity owner)

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