DayZ 1.24
Loading...
Searching...
No Matches
SyncedValue.c File Reference

Go to the source code of this file.

Classes

class  SyncedValue
 
class  SyncedValueModifier
 

Functions

void SyncedValueLevel (string name, float value, float value2)
 
string GetName ()
 Gets the name which is set for the ParticleManager, default is "ParticleSourceManager".
 
float GetValue ()
 
float GetValue2 ()
 
void SyncedValueAgent (string name, string value, int id)
 
int GetID ()
 

Variables

class SyncedValue m_Name
 
float m_Value
 
float m_Value2
 
int m_ID
 

Function Documentation

◆ GetID()

int GetID ( )

Definition at line 127 of file SyncedValue.c.

128 {
129 return m_ID;
130 }
int m_ID

References m_ID.

◆ GetValue()

string GetValue ( )

Definition at line 55 of file SyncedValue.c.

56 {
57 return m_Value;
58 }
float m_Value
Definition SyncedValue.c:40

References m_Value.

Referenced by OptionSelectorBase::OnChange(), and OptionSelectorBase::SetValue().

◆ GetValue2()

float GetValue2 ( )

Definition at line 60 of file SyncedValue.c.

61 {
62 return m_Value2;
63 }
float m_Value2
Definition SyncedValue.c:41

References m_Value2.

◆ SyncedValueAgent()

void SyncedValueAgent ( string name,
string value,
int id )

Definition at line 110 of file SyncedValue.c.

111 {
112 m_Name = name;
113 m_Value = value;
114 m_ID = id;
115 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
class SyncedValue m_Name

References m_ID, m_Name, m_Value, and name.

Referenced by PluginBase::OnRPCAgents().

◆ SyncedValueLevel()

void SyncedValueLevel ( string name,
float value,
float value2 )

Definition at line 43 of file SyncedValue.c.

44 {
45 m_Name = name;
46 m_Value = value;
48 }

References m_Name, m_Value, m_Value2, and name.

Referenced by PluginBase::OnRPCLevels().

Variable Documentation

◆ m_ID

int m_ID

Definition at line 108 of file SyncedValue.c.

◆ m_Name

◆ m_Value

string m_Value

Definition at line 40 of file SyncedValue.c.

◆ m_Value2

float m_Value2

Definition at line 41 of file SyncedValue.c.

Referenced by GetValue2(), and SyncedValueLevel().