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

Private Member Functions

bool IsRaised ()
 
bool IsRaisedInProne ()
 
bool IsInProne ()
 
bool IsInRaisedProne ()
 
bool IsLeaning ()
 

Private Attributes

int m_CommandTypeId
 
int m_iStanceIdx
 current command's id
 
int m_iMovement
 current stance (DayZPlayerConstants.STANCEIDX_ERECT, ...), only if the command has a stance
 
float m_fLeaning
 current movement (0 idle, 1 walk, 2-run, 3-sprint), only if the command has a movement
 
int m_LocalMovement = -1
 leaning state (not all commands need to have all movements)
 

Member Function Documentation

◆ IsInProne()

◆ IsInRaisedProne()

bool IsInRaisedProne ( )
inlineprivate

◆ IsLeaning()

bool IsLeaning ( )
inlineprivate

References m_fLeaning.

Referenced by ManBase::IsLeaning().

◆ IsRaised()

◆ IsRaisedInProne()

bool IsRaisedInProne ( )
inlineprivate

Referenced by DayZPlayer::HandleView().

Field Documentation

◆ m_CommandTypeId

◆ m_fLeaning

float m_fLeaning
private

current movement (0 idle, 1 walk, 2-run, 3-sprint), only if the command has a movement

Referenced by Weapon::ApproximateWeaponLiftTransform(), IsLeaning(), and DayZPlayerCameraBase::OnUpdate().

◆ m_iMovement

◆ m_iStanceIdx

◆ m_LocalMovement

int m_LocalMovement = -1
private

leaning state (not all commands need to have all movements)

Referenced by DayZPlayer::CommandHandler(), and DayZPlayer::OnMovementChanged().


The documentation for this class was generated from the following file: