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

◆ OnRPC()

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

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

16 {
17 super.OnRPC(sender, rpc_type, ctx);
18
19 Param1<bool> p = new Param1<bool>(false);
20
21 if (!ctx.Read(p))
22 return;
23
24 bool play = p.param1;
25
26 switch (rpc_type)
27 {
28 case SoundTypeTent.REPACK:
29
30 if ( play )
31 {
33 }
34 else
35 {
37 }
38
39 break;
40 }
41 }
SoundTypeTent
Определения LargeTent.c:2
void StopRepackingLoopSound()
Определения LargeTentBackPack.c:51
void PlayRepackingLoopSound()
Определения LargeTentBackPack.c:43
proto bool Read(void value_in)

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