Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
DayZPlayerImplementJumpClimb Class Reference

Private Member Functions

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

Private Attributes

bool m_bIsJumpInProgress
bool m_bWasClimb
DayZPlayerImplement m_Player

Detailed Description

Definition at line 1 of file dayzplayerimplementjumpclimb.c.

Constructor & Destructor Documentation

◆ DayZPlayerImplementJumpClimb()

void DayZPlayerImplementJumpClimb ( DayZPlayerImplement pPlayer)
inlineprivate

Definition at line 8 of file dayzplayerimplementjumpclimb.c.

References m_Player.

Member Function Documentation

◆ CheckAndFinishJump()

void CheckAndFinishJump ( int pLandType = 0)
inlineprivate

Definition at line 68 of file dayzplayerimplementjumpclimb.c.

References m_bIsJumpInProgress, and m_Player.

◆ Climb()

bool Climb ( SHumanCommandClimbResult pClimbRes)
inlineprivate

Definition at line 77 of file dayzplayerimplementjumpclimb.c.

References GetClimbType(), m_bWasClimb, and m_Player.

Referenced by JumpOrClimb().

◆ GetClimbType()

int GetClimbType ( float pHeight)
inlineprivate

Definition at line 101 of file dayzplayerimplementjumpclimb.c.

Referenced by Climb(), and JumpOrClimb().

◆ Jump()

void Jump ( )
inlineprivate

Definition at line 91 of file dayzplayerimplementjumpclimb.c.

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

Definition at line 20 of file dayzplayerimplementjumpclimb.c.

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

◆ WasSuccessful()

bool WasSuccessful ( )
inlineprivate

Only valid immediately after 'JumpOrClimb' is called.

Definition at line 14 of file dayzplayerimplementjumpclimb.c.

References m_bIsJumpInProgress, and m_bWasClimb.

Field Documentation

◆ m_bIsJumpInProgress

bool m_bIsJumpInProgress
private

Definition at line 3 of file dayzplayerimplementjumpclimb.c.

Referenced by CheckAndFinishJump(), Jump(), and WasSuccessful().

◆ m_bWasClimb

bool m_bWasClimb
private

Definition at line 6 of file dayzplayerimplementjumpclimb.c.

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

◆ m_Player


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