Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
fireconsumabletype.c
Go to the documentation of this file.
2 {
3  typename m_ItemType;
4  float m_Energy;
5  bool m_IsKindling;
6  string m_AttSlot;
7 
8  void FireConsumableType ( typename item_type, float energy, bool is_kindling, string att_slot )
9  {
10  m_ItemType = item_type;
11  m_Energy = energy;
12  m_IsKindling = is_kindling;
13  m_AttSlot = att_slot;
14  }
15 
16  //Item typename
17  typename GetItemType()
18  {
19  return m_ItemType;
20  }
21 
22  //Energy
23  float GetEnergy()
24  {
25  return m_Energy;
26  }
27 
28  //Is Kindling
29  bool IsKindling()
30  {
31  return m_IsKindling;
32  }
33 
34  //Attachment slot
35  string GetAttSlot()
36  {
37  return m_AttSlot;
38  }
39 }
FireConsumableType
Definition: fireconsumabletype.c:1
m_AttSlot
int m_AttSlot
Definition: actionattach.c:2