Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл SKS.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  Rifle_Base
 base for rifles @NOTE name copies config base class Подробнее...
 

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

enum  SKSAnimState { DEFAULT = 0 , OPENED = 1 , JAMMED = 2 }
 
enum  SKSStableStateID
 

Функции

enum SKSStableStateID 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
 
 SKS_CLO_BU0 = 1
 
 SKS_CLO_BU1 = 2
 
 SKS_OPN_BU0 = 3
 
 SKS_JAM_BU1 = 4
 
class SKS_CLO_BU1 extends WeaponStableState OnEntry
 

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

◆ SKSAnimState

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

default weapon state, closed and discharged

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

◆ SKSStableStateID

9{
10 UNKNOWN = 0,
11 SKS_CLO_BU0 = 1,
12 SKS_CLO_BU1 = 2,
13 SKS_OPN_BU0 = 3,
14 SKS_JAM_BU1 = 4
15}
UNKNOWN
Definition SKS.c:20
SKS_JAM_BU1
Definition SKS.c:24
SKS_CLO_BU0
Definition SKS.c:21
SKS_CLO_BU1
Definition SKS.c:22
SKS_OPN_BU0
Definition SKS.c:23

Функции

◆ GetCurrentStateID()

override int GetCurrentStateID ( )
21{ return SKSStableStateID.SKS_CLO_BU0; }
SKSStableStateID
Definition SKS.c:9

◆ HasBullet()

override bool HasBullet ( )
22{ return false; }

◆ HasMagazine()

override bool HasMagazine ( )
23{ return false; }

◆ InitMuzzleArray()

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

Перекрестные ссылки m_muzzleHasBullet.

◆ IsJammed()

override bool IsJammed ( )
24{ return false; }

◆ IsRepairEnabled()

override bool IsRepairEnabled ( )
25{ return true; }

◆ OnEntry()

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

◆ OnExit()

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

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

Переменные

◆ OnEntry

◆ SKS_CLO_BU0

SKS_CLO_BU0 = 1

Используется в Rifle_Base::InitStateMachine().

◆ SKS_CLO_BU1

SKS_CLO_BU1 = 2

Используется в Rifle_Base::InitStateMachine().

◆ SKS_JAM_BU1

SKS_JAM_BU1 = 4

Используется в Rifle_Base::InitStateMachine().

◆ SKS_OPN_BU0

SKS_OPN_BU0 = 3

Используется в Rifle_Base::InitStateMachine().

◆ UNKNOWN

@ UNKNOWN = 0