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

◆ SendRPC()

void SendRPC ( DebugWeatherRPCData data)
protected

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

1240 {
1241 Print(ToString() + "::SendRPC");
1242 PlayerIdentity identity = null;
1243 if (GetGame().GetPlayer())
1244 {
1245 identity = GetGame().GetPlayer().GetIdentity();
1246 }
1247
1248 GetGame().RPCSingleParam(null, ERPCs.DEV_SET_WEATHER, new Param1<DebugWeatherRPCData>(data), true, identity);
1249 }
ERPCs
Определения ERPCs.c:2
proto string ToString()
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()
proto void Print(void var)
Prints content of variable to console/log.

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