PC Stable Documentation
|
|
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.
|
inlineprivate |
References m_action, m_isActive, m_mainItem, m_player, m_target, and m_useItemInHands.
|
inlineprivate |
|
inlineprivate |
References m_isActive.
|
inlineprivate |
References Math::AbsFloat(), DeactiveAction(), vector::Distance(), GetGame(), m_actionStartPos, m_isActive, m_mainItem, m_player, m_useItemInHands, and MIN_DISTANCE_TO_INTERRUPT.
Referenced by ActionManagerClient::Update().
|
inlineprivate |
|
inlineprivate |
References ActionTarget, SetAction(), and vector::Zero.
Referenced by SetAction(), ActionManagerClient::SetInventoryAction(), and ActionManagerClient::SetInventoryAction().
|
private |
|
private |
|
private |
Referenced by DeactiveAction(), InventoryActionHandler(), and SetAction().
|
private |
Referenced by OnUpdate(), and SetAction().
|
private |
Referenced by DeactiveAction(), InventoryActionHandler(), IsActiveAction(), OnUpdate(), and SetAction().
|
private |
Referenced by DeactiveAction(), InventoryActionHandler(), OnUpdate(), and SetAction().
|
private |
Referenced by DeactiveAction(), InventoryActionHandler(), OnUpdate(), and SetAction().
|
private |
Referenced by DeactiveAction(), InventoryActionHandler(), and SetAction().
|
private |
Referenced by DeactiveAction(), InventoryActionHandler(), OnUpdate(), and SetAction().
|
private |
Referenced by OnUpdate().