Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
actionfishingnew.c File Reference

Go to the source code of this file.

Classes

class  FishingActionReceiveData
 
class  ActionFishingNewCB
 
class  ActionFishingNew
 

Functions

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

Variables

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

Function Documentation

◆ AnimateRod()

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

Definition at line 41 of file actionfishingnew.c.

◆ InitBait()

void InitBait ( ItemBase item)
protected

Definition at line 58 of file actionfishingnew.c.

◆ IsBaitEmptyHook()

bool IsBaitEmptyHook ( )
protected

Definition at line 63 of file actionfishingnew.c.

◆ RandomizeSignalValues()

void RandomizeSignalValues ( )
protected

Definition at line 33 of file actionfishingnew.c.

◆ RollNextResultChance()

void RollNextResultChance ( )

Definition at line 16 of file actionfishingnew.c.

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.

◆ m_ContextData

Definition at line 14 of file actionfishingnew.c.

◆ 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.

◆ m_IsSignalActive

bool m_IsSignalActive = false

Definition at line 10 of file actionfishingnew.c.

◆ 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.