DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | FishingActionData |
class | ActionFishingNew |
Variables | |
FishingActionData | m_ActionDataFishing |
ref array< string > | m_JunkTypes |
Definition at line 38 of file ActionFishingNew.c.
References EnableStateChangeCallback().
Definition at line 44 of file ActionFishingNew.c.
References ActionData::m_Action, m_ActionDataFishing, m_Canceled, FishingActionData::m_FishingResult, ActionData::m_State, UA_CANCEL, and UA_FINISHED.
void HandleFishingResultFailure | ( | ) |
Definition at line 136 of file ActionFishingNew.c.
References FishingActionData::FISHING_DAMAGE, FishingActionData::FISHING_HOOK_LOSS, GetGame(), FishingActionData::InitBait(), FishingActionData::IsBaitEmptyHook(), m_ActionDataFishing, FishingActionData::m_Bait, ActionData::m_MainItem, ActionData::m_Player, and Math::RandomFloatInclusive().
Referenced by OnStateChange().
void HandleFishingResultSuccess | ( | ) |
Definition at line 83 of file ActionFishingNew.c.
References ECE_PLACE_ON_SURFACE, FishingActionData::FISHING_DAMAGE, FishingActionData::FISHING_GARBAGE_CHANCE, GetGame(), FishingActionData::InitBait(), FishingActionData::IsBaitEmptyHook(), m_ActionDataFishing, FishingActionData::m_Bait, FishingActionData::m_IsSurfaceSea, m_JunkTypes, ActionData::m_MainItem, ActionData::m_Player, Math::RandomFloatInclusive(), Math::RandomInt(), and Math::Round().
Referenced by OnStateChange().
Definition at line 158 of file ActionFishingNew.c.
References HandleFishingResultFailure(), HandleFishingResultSuccess(), m_ActionDataFishing, FishingActionData::m_FishingResult, STATE_LOOP_END, STATE_LOOP_END2, and STATE_NONE.
FishingActionData m_ActionDataFishing |
Referenced by EndActionComponent(), HandleFishingResultFailure(), HandleFishingResultSuccess(), and OnStateChange().
Definition at line 30 of file ActionFishingNew.c.
Referenced by HandleFishingResultSuccess().