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

◆ SynchExplosion()

void IEntity::SynchExplosion ( )
inlineprivate

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

160 {
161 if ( GetGame().IsDedicatedServer() ) // Multiplayer server
162 {
163 Param1<EntityAI> p = new Param1<EntityAI>(null);
164 GetGame().RPCSingleParam( this, ERPCs.RPC_EXPLODE_EVENT, p, true);
165 }
166 else if ( !GetGame().IsMultiplayer() ) // Singleplayer
167 {
169 }
170 }
ERPCs
Определения ERPCs.c:2
proto native void RPCSingleParam(Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null)
see CGame.RPC
void OnExplodeClient()
Called on clients when this object explodes.
Определения Object.c:173
proto native CGame GetGame()

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

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