DayZ 1.24
|
Client only - manage set up crafting on client. More...
Private Member Functions | |
void | InventoryActionHandler (PlayerBase player) |
void | SetAction (ActionBase action, ItemBase target_item, ItemBase main_item) |
void | SetAction (ActionBase action, ActionTarget target, ItemBase main_item) |
bool | IsActiveAction () |
void | OnUpdate () |
void | DeactiveAction () |
Private Attributes | |
ActionBase | m_action |
ActionTarget | m_target |
ItemBase | m_mainItem |
bool | m_useItemInHands |
PlayerBase | m_player |
bool | m_isActive |
vector | m_actionStartPos |
const float | MIN_DISTANCE_TO_INTERRUPT = 1.0 |
const int | IAH_SINGLE_USE = 1 |
const int | IAH_CONTINUOUS = 2 |
Client only - manage set up crafting on client.
Definition at line 2 of file InventoryActionHandler.c.
|
inlineprivate |
Definition at line 19 of file InventoryActionHandler.c.
References m_action, m_isActive, m_mainItem, m_player, m_target, and m_useItemInHands.
|
inlineprivate |
Definition at line 103 of file InventoryActionHandler.c.
References Class::CastTo(), m_action, m_isActive, m_mainItem, m_player, m_target, and m_useItemInHands.
Referenced by OnUpdate().
|
inlineprivate |
Definition at line 61 of file InventoryActionHandler.c.
References m_isActive.
|
inlineprivate |
Definition at line 66 of file InventoryActionHandler.c.
References Math::AbsFloat(), DeactiveAction(), vector::Distance(), GetGame(), m_actionStartPos, m_isActive, m_mainItem, m_player, m_useItemInHands, and MIN_DISTANCE_TO_INTERRUPT.
|
inlineprivate |
Definition at line 40 of file InventoryActionHandler.c.
References Class::CastTo(), GetGame(), m_action, m_actionStartPos, m_isActive, m_mainItem, m_player, m_target, and m_useItemInHands.
|
inlineprivate |
Definition at line 30 of file InventoryActionHandler.c.
References ActionTarget, SetAction(), and vector::Zero.
Referenced by SetAction().
Definition at line 16 of file InventoryActionHandler.c.
Definition at line 15 of file InventoryActionHandler.c.
|
private |
Definition at line 4 of file InventoryActionHandler.c.
Referenced by DeactiveAction(), InventoryActionHandler(), and SetAction().
|
private |
Definition at line 12 of file InventoryActionHandler.c.
Referenced by OnUpdate(), and SetAction().
|
private |
Definition at line 11 of file InventoryActionHandler.c.
Referenced by DeactiveAction(), InventoryActionHandler(), IsActiveAction(), OnUpdate(), and SetAction().
|
private |
Definition at line 6 of file InventoryActionHandler.c.
Referenced by DeactiveAction(), InventoryActionHandler(), OnUpdate(), and SetAction().
|
private |
Definition at line 9 of file InventoryActionHandler.c.
Referenced by DeactiveAction(), InventoryActionHandler(), OnUpdate(), and SetAction().
|
private |
Definition at line 5 of file InventoryActionHandler.c.
Referenced by DeactiveAction(), InventoryActionHandler(), and SetAction().
|
private |
Definition at line 7 of file InventoryActionHandler.c.
Referenced by DeactiveAction(), InventoryActionHandler(), OnUpdate(), and SetAction().
Definition at line 14 of file InventoryActionHandler.c.
Referenced by OnUpdate().