Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
repeater.c File Reference

Go to the source code of this file.

Data Structures

class  Repeater
class  Rifle_Base
 base for rifles @NOTE name copies config base class More...
class  WeaponStableState
 represents weapon's stable state (i.e. More...

Enumerations

enum  RPTAnimState { DEFAULT = 0 , CHARGED = 1 , JAMMED = 2 }
enum  RPTStableStateID

Functions

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

Variables

 EmptyDischarged = 1
 LoadedCharged = 2
 LoadedDischarged = 3
 LoadedJammed = 4
class RPTLoadedCharged extends WeaponStableState OnEntry
 UNKNOWN = 0

Enumeration Type Documentation

◆ RPTAnimState

Enumerator
DEFAULT 

default weapon state, closed and discharged

CHARGED 
JAMMED 

Definition at line 1 of file repeater.c.

◆ RPTStableStateID

Definition at line 8 of file repeater.c.

Function Documentation

◆ GetCurrentStateID()

override int GetCurrentStateID ( )

Definition at line 22 of file repeater.c.

◆ HasBullet()

override bool HasBullet ( )

Definition at line 23 of file repeater.c.

◆ HasMagazine()

override bool HasMagazine ( )

Definition at line 24 of file repeater.c.

◆ InitMuzzleArray()

override void InitMuzzleArray ( )

Definition at line 27 of file repeater.c.

References m_muzzleHasBullet.

◆ IsJammed()

override bool IsJammed ( )

Definition at line 25 of file repeater.c.

◆ IsRepairEnabled()

override bool IsRepairEnabled ( )

Definition at line 26 of file repeater.c.

◆ OnEntry()

enum RPTStableStateID OnEntry ( WeaponEventBase e)

Definition at line 1 of file repeater.c.

◆ OnExit()

override void OnExit ( WeaponEventBase e)

Variable Documentation

◆ EmptyDischarged

@ EmptyDischarged = 1

Definition at line 22 of file repeater.c.

◆ LoadedCharged

@ LoadedCharged = 2

Definition at line 23 of file repeater.c.

◆ LoadedDischarged

@ LoadedDischarged = 3

Definition at line 24 of file repeater.c.

◆ LoadedJammed

@ LoadedJammed = 4

Definition at line 25 of file repeater.c.

◆ OnEntry

class RPTLoadedCharged extends WeaponStableState OnEntry

◆ UNKNOWN

@ UNKNOWN = 0

Definition at line 21 of file repeater.c.