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

◆ OnRPC()

void OnRPC ( PlayerIdentity sender,
int rpcType,
ParamsReadContext ctx )

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

183 {
184 switch (rpcType)
185 {
186 #ifdef DIAG_DEVELOPER
187 case ERPCs.DIAG_MISC_RADIOGAMEPLAY_DEBUG_DATA:
188 BunkerBroadcastComponentDebugData data = new BunkerBroadcastComponentDebugData();
189 ctx.Read(data);
190 if (!DiagMenu.GetBool(DiagMenuIDs.RADIOGAMEPLAY_DEBUG) || (g_Game.GetUIManager().GetMenu() && g_Game.GetUIManager().GetMenu().GetID() >= 0))
191 {
192 Debug.CleanupTextsWS(m_DebugTextsWS);
193 Debug.CleanupDrawShapes(m_DebugShapes);
194 break;
195 }
196
197 ShowDebugInfo(DiagMenu.GetBool(DiagMenuIDs.RADIOGAMEPLAY_DEBUG), data);
198 UpdateDebugDraws(DiagMenu.GetBool(DiagMenuIDs.RADIOGAMEPLAY_DEBUG), data);
199 break;
200 #endif
201 }
202 }
DayZGame g_Game
Определения DayZGame.c:4074
DiagMenuIDs
Определения EDiagMenuIDs.c:2
ERPCs
Определения ERPCs.c:2
static void CleanupTextsWS(array< ref DebugTextWorldSpace > texts)
Определения 3_Game/DayZ/tools/Debug.c:454
static void CleanupDrawShapes(array< Shape > shapes)
Определения 3_Game/DayZ/tools/Debug.c:438
Определения 3_Game/DayZ/tools/Debug.c:2
Определения EnDebug.c:241
proto bool Read(void value_in)
static proto bool GetBool(int id, bool reverse=false)
Get value as bool from the given script id.

Перекрестные ссылки Debug::CleanupDrawShapes(), Debug::CleanupTextsWS(), g_Game, DiagMenu::GetBool() и Serializer::Read().