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

◆ OnRPCTemp()

void PluginBase::OnRPCTemp ( ParamsReadContext ctx,
PlayerBase player )
inlineprotected

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

957 {
958 if (g_Game.IsServer() && g_Game.IsMultiplayer())
959 {
960 EnableUpdate( GetRPCUpdateState( ctx ), ERPCs.DEV_TEMP_UPDATE, player );
961 }
962 else if (!g_Game.IsMultiplayer() || g_Game.IsClient())
963 {
964 if ( ctx.Read(CachedObjectsParams.PARAM1_STRING) )
965 {
966 m_EnvironmentDebugMessage = CachedObjectsParams.PARAM1_STRING.param1;
967 }
968 }
969
970 }
DayZGame g_Game
Определения DayZGame.c:3942
ERPCs
Определения ERPCs.c:2
string m_EnvironmentDebugMessage
Определения PluginDeveloperSync.c:37
bool GetRPCUpdateState(ParamsReadContext ctx)
Определения PluginDeveloperSync.c:408
void EnableUpdate(bool enable, int type, PlayerBase player)
Определения PluginDeveloperSync.c:85
proto bool Read(void value_in)

Перекрестные ссылки EnableUpdate(), g_Game, GetRPCUpdateState(), m_EnvironmentDebugMessage, CachedObjectsParams::PARAM1_STRING и Serializer::Read().

Используется в OnRPC().