Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Enumerations | |
enum | EFuelFlowCapacityIn |
Functions | |
enum EFuelFlowCapacityIn | Attribute (defvalue:"1", uiwidget:UIWidgets.EditBox, desc:"Initial fuel level")] protected float m_fInitialFuelTankState |
bool | CanReceiveFuel () |
bool | CanProvideFuel () |
bool | HasExactTypeFlags (SCR_EFuelNodeTypeFlag typeFlag) |
bool | HasAllTypeFlags (SCR_EFuelNodeTypeFlag typeFlag) |
bool | HasAnyTypeFlag (SCR_EFuelNodeTypeFlag typeFlag) |
int | GetFuelTankID () |
Assigned fuel tank ID. More... | |
IEntity | GetOwner () |
Owner entity of the fuel tank. More... | |
void | SetHealth (float health) |
override void | OnFixedFrame (IEntity owner, float timeSlice) |
override protected void | OnFuelChanged (float newFuel) |
ScriptInvokerFloat | GetOnFuelChanged () |
float | GetHealth () |
float | GetLeakableFuel () |
EFuelFlowCapacityOut | GetMaxFlowCapacityOut () |
EFuelFlowCapacityIn | GetMaxFlowCapacityIn () |
override void | OnInit (IEntity owner) |
Variables | |
enum EFuelFlowCapacityIn | MANUAL = 50 |
enum EFuelFlowCapacityIn | VEHICLE_SMALL = 250 |
enum EFuelFlowCapacityIn | VEHICLE_MEDIUM = 700 |
enum EFuelFlowCapacityIn | VEHICLE_BIG = 1400 |
enum EFuelFlowCapacityIn | VEHICLE_HELICOPTER = 2500 |
enum EFuelFlowCapacityIn | FUEL_CARGO = 4500 |
enum EFuelFlowCapacityIn | CAN_RECEIVE_FUEL = 1 << 0 |
Can the fuel node receive fuel from other fuel nodes. More... | |
enum EFuelFlowCapacityIn | CAN_PROVIDE_FUEL = 1 << 1 |
Can the fuel node provide fuel to other fuel nodes. More... | |
enum EFuelFlowCapacityIn | CAN_BE_DRAINED = 1 << 2 |
If the fuel node can be drained with user action. More... | |
enum EFuelFlowCapacityIn | IS_FUEL_STORAGE = 1 << 3 |
Any fuel nodes such as fuel tanker and in world refuel points. More... | |
protected EFuelFlowCapacityOut | m_MaxFlowCapacityOut |
protected EFuelFlowCapacityIn | m_MaxFlowCapacityIn |
protected int | m_iFuelLeakSpeed |
protected SCR_EFuelNodeTypeFlag | m_eFuelNodeType |
protected int | m_iFuelTankID |
protected ref ScriptInvokerFloat | m_OnFuelChanged |
const protected float | TIME_STEP = 1 |
protected float | m_fTimeSkip |
protected IEntity | m_Owner |
protected float | m_fHealth = 1 |
protected SignalsManagerComponent | m_SignalManagerComp |
protected int | m_iSignalFuelStateIdx |
protected int | m_iSignalIndexFuelTank |
protected string | m_sSignalFuelState |
const protected string | SIGNAL_FUEL_TANK_PREFIX = "fuel" |
const protected string | SIGNAL_FUEL_TANK_ID = "fueltank" |
enum EFuelFlowCapacityIn |
Definition at line 2 of file SCR_FuelNode.c.
enum EFuelFlowCapacityIn Attribute | ( | defvalue:"1" | , |
uiwidget:UIWidgets. | EditBox, | ||
desc:"Initial fuel level" | |||
) |
bool CanProvideFuel | ( | ) |
Definition at line 87 of file SCR_FuelNode.c.
bool CanReceiveFuel | ( | ) |
Definition at line 80 of file SCR_FuelNode.c.
int GetFuelTankID | ( | ) |
Assigned fuel tank ID.
Definition at line 121 of file SCR_FuelNode.c.
float GetHealth | ( | ) |
Definition at line 196 of file SCR_FuelNode.c.
float GetLeakableFuel | ( | ) |
Definition at line 203 of file SCR_FuelNode.c.
EFuelFlowCapacityIn GetMaxFlowCapacityIn | ( | ) |
Definition at line 217 of file SCR_FuelNode.c.
EFuelFlowCapacityOut GetMaxFlowCapacityOut | ( | ) |
Definition at line 210 of file SCR_FuelNode.c.
ScriptInvokerFloat GetOnFuelChanged | ( | ) |
Definition at line 186 of file SCR_FuelNode.c.
bool HasAllTypeFlags | ( | SCR_EFuelNodeTypeFlag | typeFlag | ) |
Check if FuelNodeType enum contains all the given fuel node type flags
typeFlag | Queried flag types |
Definition at line 105 of file SCR_FuelNode.c.
bool HasAnyTypeFlag | ( | SCR_EFuelNodeTypeFlag | typeFlag | ) |
Check if FuelNodeType enum contains any of the given fuel node type flags
typeFlag | Queried flag types |
Definition at line 114 of file SCR_FuelNode.c.
bool HasExactTypeFlags | ( | SCR_EFuelNodeTypeFlag | typeFlag | ) |
Check if FuelNodeType enum is exactly the same as the nodeType enum
typeFlag | Queried flag types |
Definition at line 96 of file SCR_FuelNode.c.
override void OnFixedFrame | ( | IEntity | owner, |
float | timeSlice | ||
) |
Definition at line 150 of file SCR_FuelNode.c.
override protected void OnFuelChanged | ( | float | newFuel | ) |
Definition at line 175 of file SCR_FuelNode.c.
void SetHealth | ( | float | health | ) |
[in] | health |
Definition at line 135 of file SCR_FuelNode.c.
enum EFuelFlowCapacityIn CAN_BE_DRAINED = 1 << 2 |
If the fuel node can be drained with user action.
enum EFuelFlowCapacityIn CAN_PROVIDE_FUEL = 1 << 1 |
Can the fuel node provide fuel to other fuel nodes.
enum EFuelFlowCapacityIn CAN_RECEIVE_FUEL = 1 << 0 |
Can the fuel node receive fuel from other fuel nodes.
FUEL_CARGO = 4500 |
Definition at line 7 of file SCR_FuelNode.c.
enum EFuelFlowCapacityIn IS_FUEL_STORAGE = 1 << 3 |
Any fuel nodes such as fuel tanker and in world refuel points.
protected SCR_EFuelNodeTypeFlag m_eFuelNodeType |
Definition at line 48 of file SCR_FuelNode.c.
protected float m_fHealth = 1 |
Definition at line 60 of file SCR_FuelNode.c.
protected float m_fTimeSkip |
Definition at line 58 of file SCR_FuelNode.c.
protected int m_iFuelLeakSpeed |
Definition at line 45 of file SCR_FuelNode.c.
protected int m_iFuelTankID |
Definition at line 51 of file SCR_FuelNode.c.
protected int m_iSignalFuelStateIdx |
Definition at line 64 of file SCR_FuelNode.c.
protected int m_iSignalIndexFuelTank |
Definition at line 65 of file SCR_FuelNode.c.
protected EFuelFlowCapacityIn m_MaxFlowCapacityIn |
Definition at line 42 of file SCR_FuelNode.c.
protected EFuelFlowCapacityOut m_MaxFlowCapacityOut |
Definition at line 39 of file SCR_FuelNode.c.
protected ref ScriptInvokerFloat m_OnFuelChanged |
Definition at line 54 of file SCR_FuelNode.c.
protected IEntity m_Owner |
Definition at line 59 of file SCR_FuelNode.c.
protected SignalsManagerComponent m_SignalManagerComp |
Definition at line 62 of file SCR_FuelNode.c.
protected string m_sSignalFuelState |
Definition at line 66 of file SCR_FuelNode.c.
MANUAL = 50 |
Definition at line 2 of file SCR_FuelNode.c.
const protected string SIGNAL_FUEL_TANK_ID = "fueltank" |
Definition at line 68 of file SCR_FuelNode.c.
const protected string SIGNAL_FUEL_TANK_PREFIX = "fuel" |
Definition at line 67 of file SCR_FuelNode.c.
const protected float TIME_STEP = 1 |
Definition at line 57 of file SCR_FuelNode.c.
VEHICLE_BIG = 1400 |
Definition at line 5 of file SCR_FuelNode.c.
VEHICLE_HELICOPTER = 2500 |
Definition at line 6 of file SCR_FuelNode.c.
VEHICLE_MEDIUM = 700 |
Definition at line 4 of file SCR_FuelNode.c.
VEHICLE_SMALL = 250 |
Definition at line 3 of file SCR_FuelNode.c.