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

◆ OnRPC()

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

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

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

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