Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
flaregun.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  Flaregun
 

Enumerations

enum  FLAREAnimState { COCKED = 0, UNCOCKED = 1 }
 
enum  FLAREStableStateID
 

Functions

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

Variables

 UNKNOWN = 0
 
 Empty = 1
 
 Fireout = 2
 
 Loaded = 3
 
class FLAREFireout extends WeaponStableState OnEntry
 

Enumeration Type Documentation

◆ FLAREAnimState

Enumerator
COCKED 

default weapon state, closed and discharged

UNCOCKED 

default weapon state, closed and discharged

Definition at line 1 of file flaregun.c.

◆ FLAREStableStateID

Definition at line 7 of file flaregun.c.

Function Documentation

◆ GetCurrentStateID()

override int GetCurrentStateID ( )

Definition at line 19 of file flaregun.c.

◆ HasBullet()

override bool HasBullet ( )

Definition at line 20 of file flaregun.c.

◆ HasMagazine()

override bool HasMagazine ( )

Definition at line 21 of file flaregun.c.

◆ InitMuzzleArray()

override void InitMuzzleArray ( )

Definition at line 25 of file flaregun.c.

◆ IsBoltOpen()

override bool IsBoltOpen ( )

Definition at line 23 of file flaregun.c.

◆ IsJammed()

override bool IsJammed ( )

Definition at line 22 of file flaregun.c.

◆ IsRepairEnabled()

override bool IsRepairEnabled ( )

Definition at line 24 of file flaregun.c.

◆ OnEntry()

enum FLAREStableStateID OnEntry ( WeaponEventBase  e)

Definition at line 17 of file flaregun.c.

◆ OnExit()

override void OnExit ( WeaponEventBase  e)

Definition at line 18 of file flaregun.c.

Variable Documentation

◆ Empty

@ Empty = 1

Definition at line 3 of file flaregun.c.

◆ Fireout

Fireout = 2

Definition at line 4 of file flaregun.c.

◆ Loaded

@ Loaded = 3

Definition at line 5 of file flaregun.c.

◆ OnEntry

class FLAREFireout extends WeaponStableState OnEntry

◆ UNKNOWN

@ UNKNOWN = 0

Definition at line 2 of file flaregun.c.