◆ DayZPlayerImplementThrowing()
◆ CanChangeThrowingStance()
◆ CanContinueThrowing()
◆ CanContinueThrowingEx()
◆ CheckFreeSpace()
◆ HandleThrowing()
current state
handle mode change
handle action
cancel throwing in case of raising hands or heavy item in hands
check event for throw
handle throw force
References vector::AnglesToVector(), c_fThrowingForceCoef, c_fThrowingForceMax, c_fThrowingForceMin, CanChangeThrowingStance(), CanContinueThrowingEx(), HumanCommandWeapons::GetBaseAimingAngleLR(), HumanCommandWeapons::GetBaseAimingAngleUD(), HumanInputController::IsAttackButton(), HumanCommandMove::IsStandingFromBack(), HumanCommandWeapons::IsThrowingMode(), HumanInputController::IsThrowingModeChange(), m_bThrowingAnimationPlaying, m_bThrowingInProgress, m_bThrowingModeEnabled, m_fThrowingForce01, HumanItemBehaviorCfg::m_iType, m_Player, ResetState(), HumanCommandWeapons::SetActionProgressParams(), HumanCommandWeapons::SetThrowingMode(), SetThrowingModeEnabled(), HumanCommandWeapons::ThrowItem(), and HumanCommandWeapons::WasItemLeaveHandsEvent().
◆ IsThrowingAnimationPlaying()
bool IsThrowingAnimationPlaying |
( |
| ) |
|
|
inlineprivate |
◆ IsThrowingInProgress()
bool IsThrowingInProgress |
( |
| ) |
|
|
inlineprivate |
◆ IsThrowingModeEnabled()
bool IsThrowingModeEnabled |
( |
| ) |
|
|
inlineprivate |
◆ ResetState()
◆ SetThrowingModeEnabled()
void SetThrowingModeEnabled |
( |
bool |
enable | ) |
|
|
inlineprivate |
◆ c_fThrowingForceCoef
private const float c_fThrowingForceCoef = 1.0 |
|
private |
◆ c_fThrowingForceMax
private const float c_fThrowingForceMax = 90.0 |
|
private |
◆ c_fThrowingForceMin
private const float c_fThrowingForceMin = 20.0 |
|
private |
◆ m_bThrowingAnimationPlaying
private bool m_bThrowingAnimationPlaying |
|
private |
◆ m_bThrowingInProgress
private bool m_bThrowingInProgress |
|
private |
◆ m_bThrowingModeEnabled
private bool m_bThrowingModeEnabled |
|
private |
◆ m_fThrowingForce01
private float m_fThrowingForce01 |
|
private |
◆ m_Player
The documentation for this class was generated from the following file: