DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
Loading...
Searching...
No Matches
FireConsumableType.c
Go to the documentation of this file.
1
class
FireConsumableType
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:2
FireConsumableType::m_ItemType
m_ItemType
Definition
FireConsumableType.c:3
FireConsumableType::GetItemType
GetItemType()
Definition
FireConsumableType.c:17
FireConsumableType::m_AttSlot
string m_AttSlot
Definition
FireConsumableType.c:6
FireConsumableType::GetEnergy
float GetEnergy()
Definition
FireConsumableType.c:23
FireConsumableType::m_IsKindling
bool m_IsKindling
Definition
FireConsumableType.c:5
FireConsumableType::IsKindling
bool IsKindling()
Definition
FireConsumableType.c:29
FireConsumableType::m_Energy
float m_Energy
Definition
FireConsumableType.c:4
FireConsumableType::GetAttSlot
string GetAttSlot()
Definition
FireConsumableType.c:35
FireConsumableType::FireConsumableType
void FireConsumableType(typename item_type, float energy, bool is_kindling, string att_slot)
Definition
FireConsumableType.c:8