DayZ 1.24
Loading...
Searching...
No Matches
FireConsumable Class Reference
Collaboration diagram for FireConsumable:
[legend]

Private Member Functions

void FireConsumable (ItemBase item, float energy)
 
ItemBase GetItem ()
 
float GetEnergy ()
 
float GetRemainingEnergy ()
 
void SetRemainingEnergy (float energy)
 

Private Attributes

ItemBase m_Item
 
float m_Energy
 
float m_RemainingEnergy
 

Detailed Description

Definition at line 1 of file FireConsumable.c.

Constructor & Destructor Documentation

◆ FireConsumable()

void FireConsumable::FireConsumable ( ItemBase item,
float energy )
inlineprivate

Definition at line 7 of file FireConsumable.c.

8 {
9 m_Item = item;
12 }
float m_RemainingEnergy

References m_Energy, m_Item, and m_RemainingEnergy.

Member Function Documentation

◆ GetEnergy()

float FireConsumable::GetEnergy ( )
inlineprivate

Definition at line 21 of file FireConsumable.c.

22 {
23 return m_Energy;
24 }

References m_Energy.

◆ GetItem()

ItemBase FireConsumable::GetItem ( )
inlineprivate

Definition at line 15 of file FireConsumable.c.

16 {
17 return m_Item;
18 }

References m_Item.

◆ GetRemainingEnergy()

float FireConsumable::GetRemainingEnergy ( )
inlineprivate

Definition at line 27 of file FireConsumable.c.

28 {
29 return m_RemainingEnergy;
30 }

References m_RemainingEnergy.

◆ SetRemainingEnergy()

void FireConsumable::SetRemainingEnergy ( float energy)
inlineprivate

Definition at line 32 of file FireConsumable.c.

33 {
35 }

References m_RemainingEnergy.

Member Data Documentation

◆ m_Energy

float FireConsumable::m_Energy
private

Definition at line 4 of file FireConsumable.c.

Referenced by FireConsumable(), and GetEnergy().

◆ m_Item

ItemBase FireConsumable::m_Item
private

Definition at line 3 of file FireConsumable.c.

Referenced by FireConsumable(), and GetItem().

◆ m_RemainingEnergy

float FireConsumable::m_RemainingEnergy
private

Definition at line 5 of file FireConsumable.c.

Referenced by FireConsumable(), GetRemainingEnergy(), and SetRemainingEnergy().


The documentation for this class was generated from the following file: