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

◆ SendRPC()

void SendRPC ( DebugWeatherRPCData data)
protected

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

1239 {
1240 PlayerIdentity identity = null;
1241 if (GetGame().GetPlayer())
1242 {
1243 identity = GetGame().GetPlayer().GetIdentity();
1244 }
1245
1246 GetGame().RPCSingleParam(null, ERPCs.DEV_SET_WEATHER, new Param1<DebugWeatherRPCData>(data), true, identity);
1247 }
ERPCs
Определения ERPCs.c:2
PlayerBase GetPlayer()
Определения ModifierBase.c:51
proto native void RPCSingleParam(Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null)
see CGame.RPC
proto native DayZPlayer GetPlayer()
The class that will be instanced (moddable)
Определения gameplay.c:389
proto native CGame GetGame()

Перекрестные ссылки GetGame(), CGame::GetPlayer(), GetPlayer() и CGame::RPCSingleParam().