Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс StatDebugObject

Закрытые члены

void StatDebugObject (string name, float value, eRemoteDebugType type)
 
void Debug ()
 
string GetName ()
 
string GetValue ()
 
void SetType (eRemoteDebugType type)
 
eRemoteDebugType GetType ()
 

Закрытые данные

string m_Name
 
float m_Value
 
eRemoteDebugType m_Type
 

Подробное описание

Конструктор(ы)

◆ StatDebugObject()

void StatDebugObject ( string name,
float value,
eRemoteDebugType type )
inlineprivate
8 {
9 m_Name = name;
10 m_Value = value;
11 m_Type = type;
12 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
Definition EntityAI.c:95
string m_Name
Definition StatDebugObject.c:3
float m_Value
Definition StatDebugObject.c:4
eRemoteDebugType m_Type
Definition StatDebugObject.c:5

Перекрестные ссылки m_Name, m_Type, m_Value и name.

Методы

◆ Debug()

void Debug ( )
inlineprivate
15 {
16 PrintString("stat_type:"+ m_Name + "|stat_value:"+ m_Value.ToString());
17 }
proto string ToString()
void PrintString(string s)
Helper for printing out string expression. Example: PrintString("Hello " + var);.
Definition EnScript.c:345

Перекрестные ссылки m_Name, m_Value, PrintString() и float::ToString().

◆ GetName()

string GetName ( )
inlineprivate
20 {
21 return m_Name;
22 }

Перекрестные ссылки m_Name.

◆ GetType()

eRemoteDebugType GetType ( )
inlineprivate
35 {
36 return m_Type;
37 }

Перекрестные ссылки m_Type.

Используется в SerializeNames() и SerializeValues().

◆ GetValue()

string GetValue ( )
inlineprivate
25 {
26 return m_Value.ToString();
27 }

Перекрестные ссылки m_Value и float::ToString().

◆ SetType()

void SetType ( eRemoteDebugType type)
inlineprivate
30 {
31 m_Type = type;
32 }

Перекрестные ссылки m_Type.

Поля

◆ m_Name

string m_Name
private

Используется в Debug(), GetName() и StatDebugObject().

◆ m_Type

eRemoteDebugType m_Type
private

Используется в GetType(), SetType() и StatDebugObject().

◆ m_Value

float m_Value
private

Используется в Debug(), GetValue() и StatDebugObject().


Объявления и описания членов класса находятся в файле: