![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
| class | ActionForceConsumeSingleCB |
Functions | |
| override bool | ActionCondition (PlayerBase player, ActionTarget target, ItemBase item) |
| void | ActionForceConsumeSingle () |
| override void | CreateConditionComponents () |
| int | GetConsumedQuantity () |
| 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 ) |
Definition at line 34 of file actionforceconsumesingle.c.
References ActionTarget.
| void ActionForceConsumeSingle | ( | ) |
Definition at line 13 of file actionforceconsumesingle.c.
References m_CommandUID, and m_StanceMask.
Referenced by ActionConstructor::RegisterActions(), ChelatingTablets::SetActions(), Edible_Base::SetActions(), TetracyclineAntibiotics::SetActions(), and VitaminBottle::SetActions().
| override void CreateConditionComponents | ( | ) |
Definition at line 23 of file actionforceconsumesingle.c.
References UAMaxDistances::DEFAULT.
| int GetConsumedQuantity | ( | ) |
Definition at line 29 of file actionforceconsumesingle.c.
References DEFAULT_CONSUMED_QUANTITY.
| override void OnEndServer | ( | ActionData | action_data | ) |
Definition at line 47 of file actionforceconsumesingle.c.
References ActionData.
| override void OnExecuteServer | ( | ActionData | action_data | ) |
Definition at line 55 of file actionforceconsumesingle.c.
References ActionData, GetConsumedQuantity(), PlayerConsumeData::m_Agents, PlayerConsumeData::m_Amount, PlayerConsumeData::m_Source, and PlayerConsumeData::m_Type.
| ActionForceConsumeSingleCB DEFAULT_CONSUMED_QUANTITY = 1 |