DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | RepairCarPartActionReciveData |
class | ActionRepairCarPartCB |
Functions | |
void | ActionRepairCarPart () |
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 | |
RepairCarPartActionReciveData | m_DamageZone |
ActionRepairCarPartCB | m_LastValidType |
string | m_CurrentDamageZone = "" |
int | m_LastValidComponentIndex = -1 |
override bool ActionCondition | ( | PlayerBase | player, |
ActionTarget | target, | ||
ItemBase | item ) |
Definition at line 43 of file ActionRepairCarPart.c.
References CarScript::GetCarDoorsState(), GetGame(), InventorySlots::GetSlotName(), slotName, GameConstants::STATE_RUINED, and GameConstants::STATE_WORN.
void ActionRepairCarPart | ( | ) |
Definition at line 25 of file ActionRepairCarPart.c.
References m_FullBody, m_LockTargetOnUse, m_SpecialtyWeight, m_StanceMask, m_Text, and UASoftSkillsWeight::PRECISE_LOW.
Referenced by ActionConstructor::RegisterActions(), and EpoxyPutty::SetActions().
override ActionData CreateActionData | ( | ) |
Definition at line 132 of file ActionRepairCarPart.c.
Definition at line 37 of file ActionRepairCarPart.c.
References m_ConditionItem, m_ConditionTarget, and UAMaxDistances::REPAIR.
override void HandleReciveData | ( | ActionReciveData | action_recive_data, |
ActionData | action_data ) |
Definition at line 170 of file ActionRepairCarPart.c.
override void OnFinishProgressServer | ( | ActionData | action_data | ) |
Definition at line 82 of file ActionRepairCarPart.c.
References 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 150 of file ActionRepairCarPart.c.
References HasTarget().
override void WriteToContext | ( | ParamsWriteContext | ctx, |
ActionData | action_data ) |
Definition at line 138 of file ActionRepairCarPart.c.
References Class::CastTo(), HasTarget(), and m_CurrentDamageZone.
string m_CurrentDamageZone = "" |
Definition at line 22 of file ActionRepairCarPart.c.
RepairCarPartActionReciveData m_DamageZone |
int m_LastValidComponentIndex = -1 |
Definition at line 23 of file ActionRepairCarPart.c.
ActionRepairCarPartCB m_LastValidType |