DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SerializeValues()

void SerializeValues ( array< string > values,
eRemoteDebugType type )

См. определение в файле RemotePlayerStatDebug.c строка 68

69 {
70 for(int i = 0; i < m_Stats.Count(); i++)
71 {
72 if( type == eRemoteDebugType.ALL )
73 {
74 values.Insert(m_Stats.Get(i).GetValue());
75 }
76 else if( type == eRemoteDebugType.DAMAGE_ONLY )
77 {
78 StatDebugObject obj = m_Stats.Get(i);
79 eRemoteStatType debug_type = obj.GetType();
80 if(debug_type == eRemoteStatType.DAMAGE_SYSTEM)
81 {
82 values.Insert(m_Stats.Get(i).GetValue());
83 }
84 }
85 }
86 }
eRemoteDebugType
Определения PluginRemotePlayerDebugClient.c:2
ref array< ref StatDebugObject > m_Stats
Определения RemotePlayerStatDebug.c:13
eRemoteStatType
Определения RemotePlayerStatDebug.c:2
eRemoteDebugType GetType()
Определения StatDebugObject.c:34
Определения StatDebugObject.c:2

Перекрестные ссылки StatDebugObject::GetType() и m_Stats.