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

◆ PlayFX()

void ContaminatedArea_Dynamic::PlayFX ( )
inlineprotected

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

303 {
304 if ( GetGame().IsServer() )
305 {
306 Param1<vector> pos; // The value to be sent through RPC
307 array<ref Param> params; // The RPC params
308
309 // We prepare to send the message
310 pos = new Param1<vector>( vector.Zero );
311 params = new array<ref Param>;
312
313 // We send the message with this set of coords
314 pos.param1 = m_OffsetPos;
315 params.Insert( pos );
316 GetGame().RPC( null, ERPCs.RPC_SOUND_CONTAMINATION, params, true );
317
318 // We go to the next stage
320 SetSynchDirty();
321 }
322 }
eAreaDecayStage
Определения ContaminatedArea_Dynamic.c:2
ERPCs
Определения ERPCs.c:2
proto native void RPC(Object target, int rpcType, notnull array< ref Param > params, bool guaranteed, PlayerIdentity recipient=null)
Initiate remote procedure call. When called on client, RPC is evaluated on server; When called on ser...
proto native CGame GetGame()

Перекрестные ссылки GetGame(), m_DecayState, m_OffsetPos, CGame::RPC() и vector::Zero.