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

◆ PlayFX()

void PlayFX ( )
protected

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

206 {
207 if (GetGame().IsServer())
208 {
209 Param1<vector> pos = new Param1<vector>(vector.Zero); // The value to be sent through RPC
210 array<ref Param> params = new array<ref Param>(); // The RPC params
211
212 // We send the message with this set of coords
213 pos.param1 = m_OffsetPos;
214 params.Insert(pos);
215 GetGame().RPC(null, ERPCs.RPC_SOUND_CONTAMINATION, params, true);
216
217 // We go to the next stage
219 SetSynchDirty();
220 }
221 }
ShellLight m_OffsetPos
eAreaDecayStage
Определения ContaminatedArea_DynamicBase.c:2
void SetDecayState(int newState)
Определения ContaminatedArea_DynamicBase.c:46
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...
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
static const vector Zero
Определения EnConvert.c:110
Определения EnConvert.c:106
proto native CGame GetGame()

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