DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | RepairCarEngineActionReciveData |
class | ActionRepairCarEngineCB |
Functions | |
void | ActionRepairCarEngine () |
override void | CreateConditionComponents () |
override bool | ActionCondition (PlayerBase player, ActionTarget target, ItemBase item) |
override void | OnFinishProgressServer (ActionData action_data) |
override ActionData | CreateActionData () |
override void | WriteToContext (ParamsWriteContext ctx, ActionData action_data) |
override bool | ReadFromContext (ParamsReadContext ctx, out ActionReciveData action_recive_data) |
override void | HandleReciveData (ActionReciveData action_recive_data, ActionData action_data) |
Variables | |
RepairCarEngineActionReciveData | m_DamageZone |
ActionRepairCarEngineCB | m_LastValidType |
string | m_CurrentDamageZone = "" |
int | m_LastValidComponentIndex = -1 |
override bool ActionCondition | ( | PlayerBase | player, |
ActionTarget | target, | ||
ItemBase | item ) |
Definition at line 42 of file ActionRepairCarEngine.c.
References GetGame(), m_CurrentDamageZone, m_LastValidComponentIndex, m_LastValidType, LOD::NAME_VIEW, GameConstants::STATE_RUINED, and GameConstants::STATE_WORN.
void ActionRepairCarEngine | ( | ) |
Definition at line 25 of file ActionRepairCarEngine.c.
References m_FullBody, m_LockTargetOnUse, m_SpecialtyWeight, m_StanceMask, m_Text, and UASoftSkillsWeight::PRECISE_LOW.
Referenced by ActionConstructor::RegisterActions().
override ActionData CreateActionData | ( | ) |
Definition at line 130 of file ActionRepairCarEngine.c.
Definition at line 36 of file ActionRepairCarEngine.c.
References m_ConditionItem, m_ConditionTarget, and UAMaxDistances::REPAIR.
override void HandleReciveData | ( | ActionReciveData | action_recive_data, |
ActionData | action_data ) |
Definition at line 168 of file ActionRepairCarEngine.c.
override void OnFinishProgressServer | ( | ActionData | action_data | ) |
Definition at line 90 of file ActionRepairCarEngine.c.
References UADamageApplied::BUILD, Math::Clamp(), GameConstants::DAMAGE_BADLY_DAMAGED_VALUE, GameConstants::DAMAGE_DAMAGED_VALUE, GameConstants::DAMAGE_RUINED_VALUE, GetGame(), m_CurrentDamageZone, Math::RandomFloatInclusive(), GameConstants::STATE_BADLY_DAMAGED, GameConstants::STATE_DAMAGED, GameConstants::STATE_RUINED, and GameConstants::STATE_WORN.
override bool ReadFromContext | ( | ParamsReadContext | ctx, |
out ActionReciveData | action_recive_data ) |
Definition at line 148 of file ActionRepairCarEngine.c.
References HasTarget().
override void WriteToContext | ( | ParamsWriteContext | ctx, |
ActionData | action_data ) |
Definition at line 136 of file ActionRepairCarEngine.c.
References Class::CastTo(), HasTarget(), and m_CurrentDamageZone.
string m_CurrentDamageZone = "" |
Definition at line 22 of file ActionRepairCarEngine.c.
Referenced by ActionCondition(), OnFinishProgressServer(), and WriteToContext().
RepairCarEngineActionReciveData m_DamageZone |
int m_LastValidComponentIndex = -1 |
Definition at line 23 of file ActionRepairCarEngine.c.
Referenced by ActionCondition().
ActionRepairCarEngineCB m_LastValidType |
Referenced by ActionCondition().