Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_FuelNozzleHolderComponent.c
Go to the documentation of this file.
1 [ComponentEditorProps(category: "GameScripted", description: "THIS IS THE SCRIPT DESCRIPTION.", icon: HYBRID_COMPONENT_ICON)]
2 class SCR_FuelNozzleHolderComponentClass : ScriptComponentClass
3 {
4 }
5 
7 {
8  private SCR_Nozzle m_Nozzle = null;
9 
10  //------------------------------------------------------------------------------------------------
13  void StoreNozzle( SCR_Nozzle Nozzle )
14  {
15  m_Nozzle = Nozzle;
16  }
17 
18  //------------------------------------------------------------------------------------------------
22  bool NozzleStored( SCR_Nozzle Nozzle )
23  {
24  if( !Nozzle )
25  return false;
26  else
27  return true;
28  }
29 
30  //------------------------------------------------------------------------------------------------
32  void RemoveNozzle()
33  {
34  m_Nozzle = null;
35  }
36 
37  //------------------------------------------------------------------------------------------------
40  {
41  return m_Nozzle;
42  }
43 
44  //------------------------------------------------------------------------------------------------
45  // constructor
49  void SCR_FuelNozzleHolderComponent( IEntityComponentSource src, IEntity ent, IEntity parent )
50  {
51  }
52 }
ComponentEditorProps
SCR_FragmentEntityClass ComponentEditorProps
ScriptComponent
SCR_SiteSlotEntityClass ScriptComponent
m_Nozzle
SCR_FuelNozzleHolderComponentClass m_Nozzle
GetNozzle
SCR_Nozzle GetNozzle()
Definition: SCR_FuelNozzleHolderComponent.c:39
SCR_FuelNozzleHolderComponent
void SCR_FuelNozzleHolderComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
Definition: SCR_FuelNozzleHolderComponent.c:49
StoreNozzle
void StoreNozzle(SCR_Nozzle Nozzle)
Definition: SCR_FuelNozzleHolderComponent.c:13
NozzleStored
bool NozzleStored(SCR_Nozzle Nozzle)
Definition: SCR_FuelNozzleHolderComponent.c:22
RemoveNozzle
void RemoveNozzle()
Definition: SCR_FuelNozzleHolderComponent.c:32
SCR_FuelNozzleHolderComponentClass
Definition: SCR_FuelNozzleHolderComponent.c:2
SCR_Nozzle
Definition: SCR_Nozzle.c:1
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180