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

Private Member Functions

void DayZPlayerImplementSwimming (DayZPlayer pPlayer)
bool CheckSwimmingStart (out vector waterLevel)
float GetCharacterDepth ()
float GetWaterDepth ()
bool HandleSwimming (int pCurrentCommandID, HumanCommandMove pCMove, HumanMovementState pState)
 ha

Private Attributes

bool m_bWasSwimming = false
DayZPlayer m_pPlayer
SHumanCommandSwimSettings m_pSettings

Detailed Description

Definition at line 2 of file dayzplayerimplementswimming.c.

Constructor & Destructor Documentation

◆ DayZPlayerImplementSwimming()

void DayZPlayerImplementSwimming ( DayZPlayer pPlayer)
inlineprivate

Definition at line 9 of file dayzplayerimplementswimming.c.

References m_pPlayer, and m_pSettings.

Member Function Documentation

◆ CheckSwimmingStart()

bool CheckSwimmingStart ( out vector waterLevel)
inlineprivate

Definition at line 31 of file dayzplayerimplementswimming.c.

References DayZPlayerUtils(), and m_pPlayer.

Referenced by HandleSwimming().

◆ GetCharacterDepth()

float GetCharacterDepth ( )
inlineprivate

Definition at line 23 of file dayzplayerimplementswimming.c.

References HumanCommandSwim(), and m_pPlayer.

◆ GetWaterDepth()

float GetWaterDepth ( )
inlineprivate

Definition at line 15 of file dayzplayerimplementswimming.c.

References HumanCommandSwim(), and m_pPlayer.

Referenced by HandleSwimming().

◆ HandleSwimming()

Field Documentation

◆ m_bWasSwimming

bool m_bWasSwimming = false
private

Definition at line 7 of file dayzplayerimplementswimming.c.

Referenced by HandleSwimming().

◆ m_pPlayer

◆ m_pSettings

SHumanCommandSwimSettings m_pSettings
private

Definition at line 6 of file dayzplayerimplementswimming.c.

Referenced by DayZPlayerImplementSwimming(), and HandleSwimming().


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