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

◆ OnRPC()

override void OnRPC ( PlayerIdentity sender,
int rpc_type,
ParamsReadContext ctx )
protected

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

247 {
248 super.OnRPC(sender, rpc_type, ctx);
249
250 Param1<bool> p = new Param1<bool>(false);
251
252 if (!ctx.Read(p))
253 return;
254
255 bool play = p.param1;
256 switch (rpc_type)
257 {
258 case SoundTypeMine.DISARMING:
259 if (play)
261 else
263
264 break;
265 }
266 }
void PlayDisarmingLoopSound()
Определения Trap_LandMine.c:268
SoundTypeMine
Определения Trap_LandMine.c:2
void StopDisarmingLoopSound()
Определения Trap_LandMine.c:276
proto bool Read(void value_in)

Перекрестные ссылки PlayDisarmingLoopSound(), Serializer::Read() и StopDisarmingLoopSound().