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

◆ OnRPC()

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

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

44 {
45 super.OnRPC(sender, rpc_type, ctx);
46
47 Param1<bool> p = new Param1<bool>(false);
48
49 if (ctx.Read(p))
50 {
51 bool play = p.param1;
52 }
53
54 switch (rpc_type)
55 {
56 case SoundTypeTent.REPACK:
57
58 if ( play )
59 {
61 }
62
63 if ( !play )
64 {
66 }
67
68 break;
69 }
70 }
void StopRepackingLoopSound()
Определения LargeTent.c:80
SoundTypeTent
Определения LargeTent.c:2
void PlayRepackingLoopSound()
Определения LargeTent.c:72
proto bool Read(void value_in)

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