DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл BoltActionRifleExternalMagazine_Base.c

См. исходные тексты.

Структуры данных

class  WeaponStableState
 represents weapon's stable state (i.e. the basic states that the weapon will spend the most time in) Подробнее...
 
class  WeaponStateJammed
 handle jamming state set jam/unjam state for weapon Подробнее...
 
class  BoltActionRifle_ExternalMagazine_Base
 

Перечисления

enum  BAREMAnimState { DEFAULT = 0 , JAMMED = 1 }
 
enum  BAREMStableStateID
 

Функции

enum BAREMStableStateID 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 ()
 

Переменные

 UNKNOWN = 0
 
 BAREM_CLO_BU0_MA0 = 1
 
 BAREM_CLO_BU1_MA0 = 2
 
 BAREM_CLO_BU1_MA1 = 3
 
 BAREM_CLO_BU0_MA1 = 4
 
 BAREM_CLO_BUF_MA0 = 5
 
 BAREM_CLO_BUF_MA1 = 6
 
 BAREM_JAM_BU1_MA0 = 7
 
 BAREM_JAM_BU1_MA1 = 8
 
class BAREM_CLO_BU1_MA0 extends WeaponStableState OnEntry
 

Перечисления

◆ BAREMAnimState

Элементы перечислений
DEFAULT 

default weapon state, closed and discharged

JAMMED 
2{
3 DEFAULT = 0,
4 JAMMED = 1,
5};
@ DEFAULT
default weapon state, closed and discharged
Definition BoltActionRifleExternalMagazine_Base.c:3
@ JAMMED
Definition BoltActionRifleExternalMagazine_Base.c:4

◆ BAREMStableStateID

8{
9 UNKNOWN = 0,
18}
BAREM_JAM_BU1_MA0
Definition BoltActionRifleExternalMagazine_Base.c:30
BAREM_CLO_BUF_MA1
Definition BoltActionRifleExternalMagazine_Base.c:29
BAREM_JAM_BU1_MA1
Definition BoltActionRifleExternalMagazine_Base.c:31
BAREM_CLO_BU1_MA1
Definition BoltActionRifleExternalMagazine_Base.c:26
BAREM_CLO_BU0_MA1
Definition BoltActionRifleExternalMagazine_Base.c:27
UNKNOWN
Definition BoltActionRifleExternalMagazine_Base.c:23
BAREM_CLO_BU1_MA0
Definition BoltActionRifleExternalMagazine_Base.c:25
BAREM_CLO_BU0_MA0
Definition BoltActionRifleExternalMagazine_Base.c:24
BAREM_CLO_BUF_MA0
Definition BoltActionRifleExternalMagazine_Base.c:28

Функции

◆ GetCurrentStateID()

override int GetCurrentStateID ( )
24{ return BAREMStableStateID.BAREM_CLO_BU0_MA0; }
BAREMStableStateID
Definition BoltActionRifleExternalMagazine_Base.c:8

◆ HasBullet()

override bool HasBullet ( )
25{ return false; }

◆ HasMagazine()

override bool HasMagazine ( )
26{ return false; }

◆ InitMuzzleArray()

override void InitMuzzleArray ( )
MuzzleState
Definition WeaponStableState.c:15
ref array< MuzzleState > m_muzzleHasBullet
Definition WeaponStableState.c:30

◆ IsJammed()

override bool IsJammed ( )
27{ return false; }

◆ IsRepairEnabled()

override bool IsRepairEnabled ( )
28{ return true; }

◆ OnEntry()

22{ if (LogManager.IsWeaponLogEnable()) { wpnPrint("[wpnfsm] " + Object.GetDebugName(m_weapon) + " { close nobull nomag"); } super.OnEntry(e); }
void wpnPrint(string s)
Definition Debug.c:1
class WeaponGuardIsDestroyed extends WeaponGuardBase m_weapon
Definition Guards.c:604
Definition Debug.c:600
static bool IsWeaponLogEnable()
Definition Debug.c:724
Definition ObjectTyped.c:2
Definition EntityAI.c:95

◆ OnExit()

23{ super.OnExit(e); if (LogManager.IsWeaponLogEnable()) { wpnPrint("[wpnfsm] " + Object.GetDebugName(m_weapon) + " } close nobull nomag"); } }

Перекрестные ссылки LogManager::IsWeaponLogEnable(), m_weapon и wpnPrint().

Переменные

◆ BAREM_CLO_BU0_MA0

BAREM_CLO_BU0_MA0 = 1

◆ BAREM_CLO_BU0_MA1

BAREM_CLO_BU0_MA1 = 4

◆ BAREM_CLO_BU1_MA0

BAREM_CLO_BU1_MA0 = 2

◆ BAREM_CLO_BU1_MA1

BAREM_CLO_BU1_MA1 = 3

◆ BAREM_CLO_BUF_MA0

BAREM_CLO_BUF_MA0 = 5

◆ BAREM_CLO_BUF_MA1

BAREM_CLO_BUF_MA1 = 6

◆ BAREM_JAM_BU1_MA0

BAREM_JAM_BU1_MA0 = 7

◆ BAREM_JAM_BU1_MA1

BAREM_JAM_BU1_MA1 = 8

◆ OnEntry

◆ UNKNOWN

@ UNKNOWN = 0