Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
fireconsumable.c
Go to the documentation of this file.
1
class
FireConsumable
2
{
3
ItemBase
m_Item;
4
float
m_Energy;
5
float
m_RemainingEnergy;
6
7
void
FireConsumable
(
ItemBase
item,
float
energy )
8
{
9
m_Item
= item;
10
m_Energy = energy;
11
m_RemainingEnergy = energy;
12
}
13
14
//Item
15
ItemBase
GetItem()
16
{
17
return
m_Item
;
18
}
19
20
//Energy
21
float
GetEnergy()
22
{
23
return
m_Energy;
24
}
25
26
//Remaining energy
27
float
GetRemainingEnergy()
28
{
29
return
m_RemainingEnergy;
30
}
31
32
void
SetRemainingEnergy(
float
energy )
33
{
34
m_RemainingEnergy = energy;
35
}
36
}
ItemBase
Definition:
inventoryitem.c:730
m_Item
protected EntityAI m_Item
Definition:
radialquickbarmenu.c:14
FireConsumable
Definition:
fireconsumable.c:1
DAYZ
scripts_v1.24.157551
scripts
world
classes
cooking
fireconsumable.c
Generated by
1.8.17