DayZ 1.24
|
Private Member Functions | |
void | DayZPlayerImplementSwimming (DayZPlayer pPlayer) |
float | GetWaterDepth () |
float | GetCharacterDepth () |
bool | CheckSwimmingStart (out vector waterLevel) |
bool | HandleSwimming (int pCurrentCommandID, HumanCommandMove pCMove, HumanMovementState pState) |
ha | |
Private Attributes | |
DayZPlayer | m_pPlayer |
SHumanCommandSwimSettings | m_pSettings |
bool | m_bWasSwimming = false |
Definition at line 2 of file DayZPlayerImplementSwimming.c.
|
inlineprivate |
Definition at line 9 of file DayZPlayerImplementSwimming.c.
References m_pPlayer, and m_pSettings.
Definition at line 31 of file DayZPlayerImplementSwimming.c.
References DayZPlayerUtils(), and m_pPlayer.
Referenced by HandleSwimming().
|
inlineprivate |
Definition at line 23 of file DayZPlayerImplementSwimming.c.
References HumanCommandSwim(), and m_pPlayer.
|
inlineprivate |
Definition at line 15 of file DayZPlayerImplementSwimming.c.
References HumanCommandSwim(), and m_pPlayer.
Referenced by HandleSwimming().
|
inlineprivate |
ha
get water level
now movement
handled !
Definition at line 37 of file DayZPlayerImplementSwimming.c.
References CheckSwimmingStart(), DayZPlayerUtils(), GetWaterDepth(), HumanCommandSwim(), m_bWasSwimming, SHumanCommandSwimSettings::m_fToCrouchLevel, SHumanCommandSwimSettings::m_fToErectLevel, SHumanCommandSwimSettings::m_fWaterLevelOut, m_pPlayer, m_pSettings, and DayZPlayer::SetCurrentWaterLevel().
Definition at line 7 of file DayZPlayerImplementSwimming.c.
Referenced by HandleSwimming().
|
private |
Definition at line 5 of file DayZPlayerImplementSwimming.c.
Referenced by CheckSwimmingStart(), DayZPlayerImplementSwimming(), GetCharacterDepth(), GetWaterDepth(), and HandleSwimming().
|
private |
Definition at line 6 of file DayZPlayerImplementSwimming.c.
Referenced by DayZPlayerImplementSwimming(), and HandleSwimming().