Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
magnum.c File Reference

Go to the source code of this file.

Data Structures

class  Weapon_Base
 shorthand More...
 
class  Magnum_Base
 
class  DummyItem
 
class  DummyItem
 

Enumerations

enum  MagnumAnimState { DEFAULT = 0 }
 
enum  MagnumStableStateID { UNKNOWN = 0, DEFAULT = 0 }
 

Functions

override void OnEntry (WeaponEventBase e)
 
override void OnExit (WeaponEventBase e)
 
override int GetCurrentStateID ()
 
override bool HasBullet ()
 
override bool HasMagazine ()
 
override bool IsJammed ()
 
override bool IsSingleState ()
 

Variables

const float MAGNUM_ROTATION_POSITION_M1 = -0.167
 
const float MAGNUM_ROTATION_POSITION_0 = 0.0
 
const float MAGNUM_ROTATION_POSITION_1 = 0.167
 
const float MAGNUM_ROTATION_POSITION_2 = 0.334
 
const float MAGNUM_ROTATION_POSITION_3 = 0.500
 
const float MAGNUM_ROTATION_POSITION_4 = 0.668
 
const float MAGNUM_ROTATION_POSITION_5 = 0.835
 
const float MAGNUM_ROTATION_POSITION_6 = 1.0
 
enum MagnumStableStateID init = false
 
class Magnum extends Magnum_Base Magnum_Base
 

Enumeration Type Documentation

◆ MagnumAnimState

Enumerator
DEFAULT 

default weapon state

Definition at line 11 of file magnum.c.

◆ MagnumStableStateID

Enumerator
UNKNOWN 
DEFAULT 

default weapon state

Definition at line 16 of file magnum.c.

Function Documentation

◆ GetCurrentStateID()

override int GetCurrentStateID ( )

Definition at line 41 of file magnum.c.

◆ HasBullet()

override bool HasBullet ( )

Definition at line 42 of file magnum.c.

◆ HasMagazine()

override bool HasMagazine ( )

Definition at line 43 of file magnum.c.

◆ IsJammed()

override bool IsJammed ( )

Definition at line 44 of file magnum.c.

◆ IsSingleState()

override bool IsSingleState ( )

Definition at line 45 of file magnum.c.

◆ OnEntry()

override void OnEntry ( WeaponEventBase  e)

Definition at line 25 of file magnum.c.

◆ OnExit()

override void OnExit ( WeaponEventBase  e)

Definition at line 40 of file magnum.c.

Variable Documentation

◆ init

enum MagnumStableStateID init = false

◆ Magnum_Base

class Magnum extends Magnum_Base Magnum_Base

◆ MAGNUM_ROTATION_POSITION_0

const float MAGNUM_ROTATION_POSITION_0 = 0.0

Definition at line 2 of file magnum.c.

◆ MAGNUM_ROTATION_POSITION_1

const float MAGNUM_ROTATION_POSITION_1 = 0.167

Definition at line 3 of file magnum.c.

◆ MAGNUM_ROTATION_POSITION_2

const float MAGNUM_ROTATION_POSITION_2 = 0.334

Definition at line 4 of file magnum.c.

◆ MAGNUM_ROTATION_POSITION_3

const float MAGNUM_ROTATION_POSITION_3 = 0.500

Definition at line 5 of file magnum.c.

◆ MAGNUM_ROTATION_POSITION_4

const float MAGNUM_ROTATION_POSITION_4 = 0.668

Definition at line 6 of file magnum.c.

◆ MAGNUM_ROTATION_POSITION_5

const float MAGNUM_ROTATION_POSITION_5 = 0.835

Definition at line 7 of file magnum.c.

◆ MAGNUM_ROTATION_POSITION_6

const float MAGNUM_ROTATION_POSITION_6 = 1.0

Definition at line 8 of file magnum.c.

◆ MAGNUM_ROTATION_POSITION_M1

const float MAGNUM_ROTATION_POSITION_M1 = -0.167

Definition at line 1 of file magnum.c.