PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
SKS.c File Reference

Data Structures

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  SKSAnimState { DEFAULT = 0 , OPENED = 1 , JAMMED = 2 }
 
enum  SKSStableStateID
 

Functions

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

Variables

 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
 

Enumeration Type Documentation

◆ SKSAnimState

Enumerator
DEFAULT 

default weapon state, closed and discharged

OPENED 
JAMMED 

◆ SKSStableStateID

Function Documentation

◆ GetCurrentStateID()

override int GetCurrentStateID ( )

◆ HasBullet()

override bool HasBullet ( )

◆ HasMagazine()

override bool HasMagazine ( )

◆ InitMuzzleArray()

override void InitMuzzleArray ( )

References m_muzzleHasBullet.

◆ IsJammed()

override bool IsJammed ( )

◆ IsRepairEnabled()

override bool IsRepairEnabled ( )

◆ OnEntry()

enum SKSStableStateID OnEntry ( WeaponEventBase  e)

◆ OnExit()

override void OnExit ( WeaponEventBase  e)

Variable Documentation

◆ OnEntry

class SKS_CLO_BU1 extends WeaponStableState OnEntry

◆ SKS_CLO_BU0

SKS_CLO_BU0 = 1

◆ SKS_CLO_BU1

SKS_CLO_BU1 = 2

◆ SKS_JAM_BU1

SKS_JAM_BU1 = 4

◆ SKS_OPN_BU0

SKS_OPN_BU0 = 3

◆ UNKNOWN

@ UNKNOWN = 0