|
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the documentation of this file.
9 protected float m_fFuelWeightPerLiter;
18 void SCR_FuelInventoryItemComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
24 if ((gameMode && !gameMode.IsMaster()) || (!gameMode && Replication.IsClient()))
41 Debug.Error2(
"SCR_FuelInventoryItemComponent",
"Fuel Inventory Item does not have a 'SCR_FuelManagerComponent'!");
47 SetAdditionalWeight(newFuelValue * m_fFuelWeightPerLiter);
SCR_FragmentEntityClass ComponentEditorProps
ArmaReforgerScripted GetGame()
void ~SCR_FuelInventoryItemComponent()
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_BaseGameMode GetGameMode()
protected void OnFuelAmountChanged(float newFuelValue)
SCR_FuelInventoryItemComponentClass InventoryItemComponentClass Attribute("1", desc:"Weight of fuel per liter to update the inventory weight", params:"0 inf", category:"Fuel")
protected void DelayedInit()
protected FuelManagerComponent m_FuelManager
IEntity GetOwner()
Owner entity of the fuel tank.
void SCR_FuelManagerComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
Configs ServerBrowser KickDialogs params