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

Private Member Functions

void SyncedValue (string name, float value, bool state, float val_norm)
 
string GetName ()
 
float GetValue ()
 
float GetValueNorm ()
 
bool GetState ()
 

Private Attributes

string m_Name
 
float m_Value
 
float m_ValueNorm
 
bool m_State
 

Detailed Description

Definition at line 1 of file SyncedValue.c.

Constructor & Destructor Documentation

◆ SyncedValue()

void SyncedValue::SyncedValue ( string name,
float value,
bool state,
float val_norm )
inlineprivate

Definition at line 8 of file SyncedValue.c.

9 {
10 m_Name = name;
11 m_Value = value;
12 m_State = state;
14 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
float m_Value
Definition SyncedValue.c:4
float m_ValueNorm
Definition SyncedValue.c:5
string m_Name
Definition SyncedValue.c:3

References m_Name, m_State, m_Value, m_ValueNorm, and name.

Member Function Documentation

◆ GetName()

string SyncedValue::GetName ( )
inlineprivate

Definition at line 16 of file SyncedValue.c.

17 {
18 return m_Name;
19 }

References m_Name.

◆ GetState()

bool SyncedValue::GetState ( )
inlineprivate

Definition at line 31 of file SyncedValue.c.

32 {
33 return m_State;
34 }

References m_State.

◆ GetValue()

float SyncedValue::GetValue ( )
inlineprivate

Definition at line 21 of file SyncedValue.c.

22 {
23 return m_Value;
24 }

References m_Value.

◆ GetValueNorm()

float SyncedValue::GetValueNorm ( )
inlineprivate

Definition at line 26 of file SyncedValue.c.

27 {
28 return m_ValueNorm;
29 }

References m_ValueNorm.

Member Data Documentation

◆ m_Name

string SyncedValue::m_Name
private

Definition at line 3 of file SyncedValue.c.

Referenced by GetName(), and SyncedValue().

◆ m_State

bool SyncedValue::m_State
private

Definition at line 6 of file SyncedValue.c.

Referenced by GetState(), and SyncedValue().

◆ m_Value

float SyncedValue::m_Value
private

Definition at line 4 of file SyncedValue.c.

Referenced by GetValue(), and SyncedValue().

◆ m_ValueNorm

float SyncedValue::m_ValueNorm
private

Definition at line 5 of file SyncedValue.c.

Referenced by GetValueNorm(), and SyncedValue().


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