Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
riflesingleshot.c File Reference

Go to the source code of this file.

Classes

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  Rifle_Base
 base for rifles @NOTE name copies config base class More...
 

Enumerations

enum  RSSAnimState { DEFAULT = 0 }
 
enum  RSSStableStateID
 

Functions

enum RSSStableStateID 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
 
 Empty = 1
 
 Fireout = 2
 
 Loaded = 3
 
 Jammed = 4
 
class RSSFireout extends WeaponStableState OnEntry
 

Enumeration Type Documentation

◆ RSSAnimState

Enumerator
DEFAULT 

default weapon state, closed and discharged

Definition at line 1 of file riflesingleshot.c.

◆ RSSStableStateID

Definition at line 6 of file riflesingleshot.c.

Function Documentation

◆ GetCurrentStateID()

override int GetCurrentStateID ( )

Definition at line 19 of file riflesingleshot.c.

◆ HasBullet()

override bool HasBullet ( )

Definition at line 20 of file riflesingleshot.c.

◆ HasMagazine()

override bool HasMagazine ( )

Definition at line 21 of file riflesingleshot.c.

◆ InitMuzzleArray()

override void InitMuzzleArray ( )

Definition at line 24 of file riflesingleshot.c.

◆ IsJammed()

override bool IsJammed ( )

Definition at line 22 of file riflesingleshot.c.

◆ IsRepairEnabled()

override bool IsRepairEnabled ( )

Definition at line 23 of file riflesingleshot.c.

◆ OnEntry()

enum RSSStableStateID OnEntry ( WeaponEventBase e)

Definition at line 1 of file riflesingleshot.c.

◆ OnExit()

override void OnExit ( WeaponEventBase e)

Definition at line 18 of file riflesingleshot.c.

Variable Documentation

◆ Empty

@ Empty = 1

Definition at line 19 of file riflesingleshot.c.

◆ Fireout

@ Fireout = 2

Definition at line 20 of file riflesingleshot.c.

◆ Jammed

@ Jammed = 4

Definition at line 22 of file riflesingleshot.c.

◆ Loaded

@ Loaded = 3

Definition at line 21 of file riflesingleshot.c.

◆ OnEntry

class RSSFireout extends WeaponStableState OnEntry

◆ UNKNOWN

@ UNKNOWN = 0

Definition at line 18 of file riflesingleshot.c.