Data Structures | |
class | ActionForceConsumeSingleCB |
Functions | |
void | ActionForceConsumeSingle () |
override void | CreateConditionComponents () |
int | GetConsumedQuantity () |
override bool | ActionCondition (PlayerBase player, ActionTarget target, ItemBase item) |
override void | OnEndServer (ActionData action_data) |
override void | OnExecuteServer (ActionData action_data) |
Variables | |
ActionForceConsumeSingleCB | DEFAULT_CONSUMED_QUANTITY = 1 |
override bool ActionCondition | ( | PlayerBase | player, |
ActionTarget | target, | ||
ItemBase | item | ||
) |
void ActionForceConsumeSingle | ( | ) |
References m_CommandUID, and m_StanceMask.
Referenced by ActionConstructor::RegisterActions(), Edible_Base::SetActions(), ChelatingTablets::SetActions(), TetracyclineAntibiotics::SetActions(), and VitaminBottle::SetActions().
override void CreateConditionComponents | ( | ) |
References UAMaxDistances::DEFAULT.
int GetConsumedQuantity | ( | ) |
References DEFAULT_CONSUMED_QUANTITY.
override void OnEndServer | ( | ActionData | action_data | ) |
override void OnExecuteServer | ( | ActionData | action_data | ) |
ActionForceConsumeSingleCB DEFAULT_CONSUMED_QUANTITY = 1 |