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

Private Member Functions

void DayZPlayerImplementJumpClimb (DayZPlayerImplement pPlayer)
 
bool WasSuccessful ()
 Only valid immediately after 'JumpOrClimb' is called.
 
void JumpOrClimb ()
 Can't change to bool return.
 
void CheckAndFinishJump (int pLandType=0)
 
private bool Climb (SHumanCommandClimbResult pClimbRes)
 
private void Jump ()
 
private int GetClimbType (float pHeight)
 

Private Attributes

bool m_bIsJumpInProgress
 
private DayZPlayerImplement m_Player
 
private bool m_bWasClimb
 

Constructor & Destructor Documentation

◆ DayZPlayerImplementJumpClimb()

void DayZPlayerImplementJumpClimb ( DayZPlayerImplement  pPlayer)
inlineprivate

References m_Player.

Member Function Documentation

◆ CheckAndFinishJump()

void CheckAndFinishJump ( int  pLandType = 0)
inlineprivate

References m_bIsJumpInProgress, and m_Player.

◆ Climb()

private bool Climb ( SHumanCommandClimbResult  pClimbRes)
inlineprivate

References GetClimbType(), m_bWasClimb, and m_Player.

Referenced by JumpOrClimb().

◆ GetClimbType()

private int GetClimbType ( float  pHeight)
inlineprivate

Referenced by Climb(), and JumpOrClimb().

◆ Jump()

private void Jump ( )
inlineprivate

References m_bIsJumpInProgress, and m_Player.

Referenced by JumpOrClimb().

◆ JumpOrClimb()

void JumpOrClimb ( )
inlineprivate

Can't change to bool return.

Reset states

Early exit if the player is being heavy damaged so the stagger animation can't be skipped

References Climb(), HumanCommandClimb::DoPerformClimbTest(), GetClimbType(), Jump(), m_bWasClimb, m_Player, and SHumanCommandClimbSettings().

◆ WasSuccessful()

bool WasSuccessful ( )
inlineprivate

Only valid immediately after 'JumpOrClimb' is called.

References m_bIsJumpInProgress, and m_bWasClimb.

Field Documentation

◆ m_bIsJumpInProgress

bool m_bIsJumpInProgress
private

◆ m_bWasClimb

private bool m_bWasClimb
private

Referenced by Climb(), JumpOrClimb(), and WasSuccessful().

◆ m_Player


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