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

◆ SendRPCAgents()

void PluginBase::SendRPCAgents ( PlayerBase player)
inlineprotected

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

977 {
978 //write and send values
979 if ( ( player && player.GetIdentity() && player.m_AgentPool != null ) || ( player && !g_Game.IsMultiplayer() && player.m_AgentPool != null ) )
980 {
981
982 //get agent pool data
983 array<ref Param> agent_pool = new array<ref Param>;
984 player.m_AgentPool.GetDebugObject( agent_pool );
985
986 GetDayZGame().RPC( player, ERPCs.DEV_RPC_AGENTS_DATA, agent_pool, true, player.GetIdentity() );
987 }
988 }
DayZGame g_Game
Определения DayZGame.c:3942
DayZGame GetDayZGame()
Определения DayZGame.c:3944
ERPCs
Определения ERPCs.c:2

Перекрестные ссылки g_Game и GetDayZGame().

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