Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
rifleboltlock_base.c File Reference

Go to the source code of this file.

Data Structures

class  WeaponStableState
 represents weapon's stable state (i.e. the basic states that the weapon will spend the most time in) More...
 
class  WeaponStableState
 represents weapon's stable state (i.e. the basic states that the weapon will spend the most time in) More...
 
class  WeaponStableState
 represents weapon's stable state (i.e. the basic states that the weapon will spend the most time in) More...
 
class  WeaponStableState
 represents weapon's stable state (i.e. the basic states that the weapon will spend the most time in) More...
 
class  WeaponStableState
 represents weapon's stable state (i.e. the basic states that the weapon will spend the most time in) More...
 
class  WeaponStateJammed
 handle jamming state set jam/unjam state for weapon More...
 
class  WeaponStateJammed
 handle jamming state set jam/unjam state for weapon More...
 
class  Rifle_Base
 base for rifles @NOTE name copies config base class More...
 

Enumerations

enum  RBLAnimState { DEFAULT = 0, OPENED = 1, JAMMED = 2 }
 
enum  RBLStableStateID
 

Functions

enum RBLStableStateID OnEntry (WeaponEventBase e)
 
override void OnExit (WeaponEventBase e)
 
override int GetCurrentStateID ()
 
override bool HasBullet ()
 
override bool HasMagazine ()
 
override bool IsJammed ()
 
override bool IsRepairEnabled ()
 
override void InitMuzzleArray ()
 

Variables

 UNKNOWN = 0
 
 RBL_CLO_BU0_MA0 = 1
 
 RBL_CLO_BU1_MA0 = 2
 
 RBL_CLO_BU1_MA1 = 3
 
 RBL_CLO_BU0_MA1 = 4
 
 RBL_OPN_BU0_MA1 = 5
 
 RBL_OPN_BU0_MA0 = 6
 
 RBL_JAM_BU1_MA0 = 7
 
 RBL_JAM_BU1_MA1 = 8
 
class RBL_CLO_BU1_MA0 extends WeaponStableState OnEntry
 

Enumeration Type Documentation

◆ RBLAnimState

Enumerator
DEFAULT 

default weapon state, closed and discharged

OPENED 
JAMMED 

Definition at line 1 of file rifleboltlock_base.c.

◆ RBLStableStateID

Definition at line 8 of file rifleboltlock_base.c.

Function Documentation

◆ GetCurrentStateID()

override int GetCurrentStateID ( )

Definition at line 25 of file rifleboltlock_base.c.

◆ HasBullet()

override bool HasBullet ( )

Definition at line 26 of file rifleboltlock_base.c.

◆ HasMagazine()

override bool HasMagazine ( )

Definition at line 27 of file rifleboltlock_base.c.

◆ InitMuzzleArray()

override void InitMuzzleArray ( )

Definition at line 30 of file rifleboltlock_base.c.

◆ IsJammed()

override bool IsJammed ( )

Definition at line 28 of file rifleboltlock_base.c.

◆ IsRepairEnabled()

override bool IsRepairEnabled ( )

Definition at line 29 of file rifleboltlock_base.c.

◆ OnEntry()

enum RBLStableStateID OnEntry ( WeaponEventBase  e)

Definition at line 23 of file rifleboltlock_base.c.

◆ OnExit()

override void OnExit ( WeaponEventBase  e)

Definition at line 24 of file rifleboltlock_base.c.

Variable Documentation

◆ OnEntry

class RBL_CLO_BU1_MA0 extends WeaponStableState OnEntry

◆ RBL_CLO_BU0_MA0

RBL_CLO_BU0_MA0 = 1

Definition at line 3 of file rifleboltlock_base.c.

◆ RBL_CLO_BU0_MA1

RBL_CLO_BU0_MA1 = 4

Definition at line 6 of file rifleboltlock_base.c.

◆ RBL_CLO_BU1_MA0

RBL_CLO_BU1_MA0 = 2

Definition at line 4 of file rifleboltlock_base.c.

◆ RBL_CLO_BU1_MA1

RBL_CLO_BU1_MA1 = 3

Definition at line 5 of file rifleboltlock_base.c.

◆ RBL_JAM_BU1_MA0

RBL_JAM_BU1_MA0 = 7

Definition at line 9 of file rifleboltlock_base.c.

◆ RBL_JAM_BU1_MA1

RBL_JAM_BU1_MA1 = 8

Definition at line 10 of file rifleboltlock_base.c.

◆ RBL_OPN_BU0_MA0

RBL_OPN_BU0_MA0 = 6

Definition at line 8 of file rifleboltlock_base.c.

◆ RBL_OPN_BU0_MA1

RBL_OPN_BU0_MA1 = 5

Definition at line 7 of file rifleboltlock_base.c.

◆ UNKNOWN

@ UNKNOWN = 0

Definition at line 2 of file rifleboltlock_base.c.