DayZ 1.27
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 && !GetGame().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 GetDayZGame()
Определения DayZGame.c:3870
ERPCs
Определения ERPCs.c:2
proto native CGame GetGame()

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

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