Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
bulletshow.c
Go to the documentation of this file.
1 class BulletShow extends WeaponStateBase
2 {
3  override void OnEntry (WeaponEventBase e)
4  {
5  super.OnEntry(e);
6  if(e)
7  m_weapon.ShowBullet(0);
8  }
9 
10  override void OnExit (WeaponEventBase e)
11  {
12  super.OnExit(e);
13  }
14 };
15 
16 class BulletShow2 extends WeaponStateBase
17 {
18  override void OnEntry (WeaponEventBase e)
19  {
20  super.OnEntry(e);
21  if(e)
22  m_weapon.ShowBullet(1);
23  }
24 
25  override void OnExit (WeaponEventBase e)
26  {
27  super.OnExit(e);
28  }
29 };
30 
31 class BulletShow_W4T extends BulletShow
32 {
33  override bool IsWaitingForActionFinish () { return true; }
34 };
35 
36 class BulletShow2_W4T extends BulletShow2
37 {
38  override bool IsWaitingForActionFinish () { return true; }
39 };
40 
OnExit
override void OnExit(HandEventBase e)
Definition: hand_states.c:28
IsWaitingForActionFinish
class WeaponChambering_Cartridge_InnerMag extends WeaponChambering_Base IsWaitingForActionFinish
Definition: weaponchambering.c:190
BulletShow
Definition: bulletshow.c:31
BulletShow2
Definition: bulletshow.c:36
WeaponEventBase
signalize mechanism manipulation
Definition: events.c:34
WeaponStateBase
represent weapon state base
Definition: bullethide.c:1
m_weapon
class WeaponGuardIsDestroyed extends WeaponGuardBase m_weapon
Definition: guards.c:583
OnEntry
HandStateEquipped OnEntry
Definition: weaponchambering.c:208