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

◆ OnRPCTemp()

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

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

957 {
958 if (GetGame().IsServer() && GetGame().IsMultiplayer())
959 {
960 EnableUpdate( GetRPCUpdateState( ctx ), ERPCs.DEV_TEMP_UPDATE, player );
961 }
962 else if (!GetGame().IsMultiplayer() || GetGame().IsClient())
963 {
964 if ( ctx.Read(CachedObjectsParams.PARAM1_STRING) )
965 {
966 m_EnvironmentDebugMessage = CachedObjectsParams.PARAM1_STRING.param1;
967 }
968 }
969
970 }
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)
proto native CGame GetGame()

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

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