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

Go to the source code of this file.

Data Structures

class  SingleShotPistol_Base
class  WeaponStableState
 represents weapon's stable state (i.e. More...

Enumerations

enum  SSPAnimState { COCKED = 0 , UNCOCKED = 1 }
enum  SSPStableStateID

Functions

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

Variables

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

Enumeration Type Documentation

◆ SSPAnimState

Enumerator
COCKED 

default weapon state, closed and discharged

UNCOCKED 

default weapon state, closed and discharged

Definition at line 1 of file singleshotpistol_base.c.

◆ SSPStableStateID

Definition at line 7 of file singleshotpistol_base.c.

Function Documentation

◆ GetCurrentStateID()

override int GetCurrentStateID ( )

Definition at line 19 of file singleshotpistol_base.c.

◆ HasBullet()

override bool HasBullet ( )

Definition at line 20 of file singleshotpistol_base.c.

◆ HasMagazine()

override bool HasMagazine ( )

Definition at line 21 of file singleshotpistol_base.c.

◆ InitMuzzleArray()

override void InitMuzzleArray ( )

Definition at line 25 of file singleshotpistol_base.c.

References m_muzzleHasBullet.

◆ IsBoltOpen()

override bool IsBoltOpen ( )

Definition at line 23 of file singleshotpistol_base.c.

◆ IsJammed()

override bool IsJammed ( )

Definition at line 22 of file singleshotpistol_base.c.

◆ IsRepairEnabled()

override bool IsRepairEnabled ( )

Definition at line 24 of file singleshotpistol_base.c.

◆ OnEntry()

enum SSPStableStateID OnEntry ( WeaponEventBase e)

Definition at line 1 of file singleshotpistol_base.c.

◆ OnExit()

override void OnExit ( WeaponEventBase e)

Variable Documentation

◆ Empty

@ Empty = 1

Definition at line 19 of file singleshotpistol_base.c.

◆ Fireout

@ Fireout = 2

Definition at line 20 of file singleshotpistol_base.c.

◆ Loaded

@ Loaded = 3

Definition at line 21 of file singleshotpistol_base.c.

◆ OnEntry

class SSPFireout extends WeaponStableState OnEntry

◆ UNKNOWN

@ UNKNOWN = 0

Definition at line 18 of file singleshotpistol_base.c.