Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
rifleboltfree_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  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  RBFAnimState { DEFAULT = 0, JAMMED = 1 }
 
enum  RBFStableStateID
 

Functions

enum RBFStableStateID 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
 
 RBF_CLO_BU0_MA0 = 1
 
 RBF_CLO_BU1_MA0 = 2
 
 RBF_CLO_BU1_MA1 = 3
 
 RBF_CLO_BU0_MA1 = 4
 
 RBF_JAM_BU1_MA0 = 5
 
 RBF_JAM_BU1_MA1 = 6
 
class RBF_CLO_BU1_MA0 extends WeaponStableState OnEntry
 

Enumeration Type Documentation

◆ RBFAnimState

Enumerator
DEFAULT 

default weapon state, closed and discharged

JAMMED 

Definition at line 1 of file rifleboltfree_base.c.

◆ RBFStableStateID

Definition at line 7 of file rifleboltfree_base.c.

Function Documentation

◆ GetCurrentStateID()

override int GetCurrentStateID ( )

Definition at line 22 of file rifleboltfree_base.c.

◆ HasBullet()

override bool HasBullet ( )

Definition at line 23 of file rifleboltfree_base.c.

◆ HasMagazine()

override bool HasMagazine ( )

Definition at line 24 of file rifleboltfree_base.c.

◆ InitMuzzleArray()

override void InitMuzzleArray ( )

Definition at line 27 of file rifleboltfree_base.c.

◆ IsJammed()

override bool IsJammed ( )

Definition at line 25 of file rifleboltfree_base.c.

◆ IsRepairEnabled()

override bool IsRepairEnabled ( )

Definition at line 26 of file rifleboltfree_base.c.

◆ OnEntry()

enum RBFStableStateID OnEntry ( WeaponEventBase  e)

Definition at line 20 of file rifleboltfree_base.c.

◆ OnExit()

override void OnExit ( WeaponEventBase  e)

Definition at line 21 of file rifleboltfree_base.c.

Variable Documentation

◆ OnEntry

class RBF_CLO_BU1_MA0 extends WeaponStableState OnEntry

◆ RBF_CLO_BU0_MA0

RBF_CLO_BU0_MA0 = 1

Definition at line 3 of file rifleboltfree_base.c.

◆ RBF_CLO_BU0_MA1

RBF_CLO_BU0_MA1 = 4

Definition at line 6 of file rifleboltfree_base.c.

◆ RBF_CLO_BU1_MA0

RBF_CLO_BU1_MA0 = 2

Definition at line 4 of file rifleboltfree_base.c.

◆ RBF_CLO_BU1_MA1

RBF_CLO_BU1_MA1 = 3

Definition at line 5 of file rifleboltfree_base.c.

◆ RBF_JAM_BU1_MA0

RBF_JAM_BU1_MA0 = 5

Definition at line 7 of file rifleboltfree_base.c.

◆ RBF_JAM_BU1_MA1

RBF_JAM_BU1_MA1 = 6

Definition at line 8 of file rifleboltfree_base.c.

◆ UNKNOWN

@ UNKNOWN = 0

Definition at line 2 of file rifleboltfree_base.c.