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

◆ SetUpdate() [5/5]

override void HudDebugWinBase::SetUpdate ( bool state)
inlineprotected

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

28 {
29 //Disable update on server (PluginDeveloperSync)
30 PlayerBase player = PlayerBase.Cast( g_Game.GetPlayer() );
31
32 //if client, send RPC
33 if ( g_Game.IsClient() )
34 {
35 CachedObjectsParams.PARAM1_BOOL.param1 = state;
36 if ( player )
37 {
38 player.RPCSingleParam( ERPCs.DEV_TEMP_UPDATE, CachedObjectsParams.PARAM1_BOOL, true );
39 SetRPCSent();
40 }
41 }
42 //else set directly
43 else
44 {
46 {
47 m_PluginDeveloperSync.EnableUpdate( state, ERPCs.DEV_TEMP_UPDATE, player );
48 }
49 }
50 }
DayZGame g_Game
Определения DayZGame.c:3942
ERPCs
Определения ERPCs.c:2
void SetRPCSent()
Определения HudDebugWinBase.c:39
PluginDeveloperSync m_PluginDeveloperSync
Определения HudDebugWinTemperature.c:6

Перекрестные ссылки g_Game, m_PluginDeveloperSync, CachedObjectsParams::PARAM1_BOOL и SetRPCSent().