Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actionfishingnew.c File Reference

Go to the source code of this file.

Data Structures

class  ActionFishingNew
class  ActionFishingNewCB
class  FishingActionReceiveData

Functions

void AnimateRod (float phase, bool instant=false)
void InitBait (ItemBase item)
bool IsBaitEmptyHook ()
void RandomizeSignalValues ()
void RollNextResultChance ()

Variables

const float FISHING_BAIT_LOSS = 0.02
const float FISHING_DAMAGE = 1.5
const float FISHING_GARBAGE_CHANCE = 0.2
const float FISHING_HOOK_LOSS = 0.015
const float FISHING_SUCCESS = 0.2
ItemBase m_Bait
ref CatchingContextFishingRodAction m_ContextData
int m_FishingResult = -1
bool m_IsBaitAnEmptyHook
bool m_IsSignalActive = false
FishingActionReceiveData m_IsSurfaceSea
float m_RodQualityModifier = 0
int m_SplashUniqueID = -1

Function Documentation

◆ AnimateRod()

void AnimateRod ( float phase,
bool instant = false )
protected

Definition at line 41 of file actionfishingnew.c.

References FishingRod_Base_New::AnimateFishingRodEx(), and m_MainItem.

◆ InitBait()

void InitBait ( ItemBase item)
protected

Definition at line 58 of file actionfishingnew.c.

References m_Bait, and m_IsBaitAnEmptyHook.

◆ IsBaitEmptyHook()

bool IsBaitEmptyHook ( )
protected

Definition at line 63 of file actionfishingnew.c.

References m_IsBaitAnEmptyHook.

◆ RandomizeSignalValues()

void RandomizeSignalValues ( )
protected

Definition at line 33 of file actionfishingnew.c.

References Class::CastTo(), component, m_ActionComponent, and m_ContextData.

Referenced by RollNextResultChance().

◆ RollNextResultChance()

void RollNextResultChance ( )

Variable Documentation

◆ FISHING_BAIT_LOSS

const float FISHING_BAIT_LOSS = 0.02
protected

Definition at line 51 of file actionfishingnew.c.

◆ FISHING_DAMAGE

const float FISHING_DAMAGE = 1.5
protected

Definition at line 53 of file actionfishingnew.c.

◆ FISHING_GARBAGE_CHANCE

const float FISHING_GARBAGE_CHANCE = 0.2
protected

Definition at line 54 of file actionfishingnew.c.

◆ FISHING_HOOK_LOSS

const float FISHING_HOOK_LOSS = 0.015
protected

Definition at line 52 of file actionfishingnew.c.

◆ FISHING_SUCCESS

const float FISHING_SUCCESS = 0.2
protected

Definition at line 50 of file actionfishingnew.c.

◆ m_Bait

ItemBase m_Bait
protected

Definition at line 57 of file actionfishingnew.c.

Referenced by InitBait().

◆ m_ContextData

Definition at line 14 of file actionfishingnew.c.

Referenced by RandomizeSignalValues(), and RollNextResultChance().

◆ m_FishingResult

int m_FishingResult = -1

Definition at line 9 of file actionfishingnew.c.

◆ m_IsBaitAnEmptyHook

bool m_IsBaitAnEmptyHook
protected

Definition at line 55 of file actionfishingnew.c.

Referenced by InitBait(), and IsBaitEmptyHook().

◆ m_IsSignalActive

bool m_IsSignalActive = false

Definition at line 10 of file actionfishingnew.c.

Referenced by RollNextResultChance().

◆ m_IsSurfaceSea

FishingActionReceiveData m_IsSurfaceSea

◆ m_RodQualityModifier

float m_RodQualityModifier = 0
protected

Definition at line 56 of file actionfishingnew.c.

◆ m_SplashUniqueID

int m_SplashUniqueID = -1

Definition at line 12 of file actionfishingnew.c.