DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
EN5C_FishingRod_Base Class Reference

#include <FishingRod_Base.h>

Inheritance diagram for EN5C_FishingRod_Base:
ItemBase

Private Member Functions

void  EN5C_FishingRod_Base ()
 
bool  IsFishingActive ()
 
void  ActivateFishing ()
 
void  DeactivateFishing ()
 
void  Init ()
 
void  FishPull ()
 
void  Catching ()
 
void  Pulling ()
 
void  AddPull (float delta)
 
void  DisplayState ()
 
void  End (int result)
 

Private Attributes

const float  BREAK_PULL = 36
 
const float  TOO_MUCH_PULL = 32
 
const float  HIGH_PULL = 22
 
const float  LOW_PULL = 18
 
const float  TOO_FEW_PULL = 8
 
const float  LOOSE_PULL = 0
 
const int  LOSS_BREAK = 0
 
const int  LOSS_LOOSE = 1
 
const int  WIN = 2
 
const int  INTERUPTED = 3
 
const float  INIT_LINE_STRETCH = 15
 
const float  MIN_FISHING_TIME = 100
 
const float  MAX_FISHING_TIME = 150
 
const int  FISH_PULL_CHANCE = 15
 
const int  FISH_AGILITY = 15
 
int  m_FishProximity
 
bool  m_Fishing
 
autoptr Timer  m_CyclerCatching
 
autoptr Timer  m_Cycler
 
float  m_Pull
 
float  m_DeltaT
 
bool  m_WasPulled
 
bool  m_IsFishPulling
 
float  m_PullTime
 
float  m_FishPull
 
int  m_FishingTime
 
PlayerBase  m_Player
 
int  m_ChanceRange
 

Constructor & Destructor Documentation

void EN5C_FishingRod_Base::EN5C_FishingRod_Base ( )
private

References m_Fishing.

Member Function Documentation

bool EN5C_FishingRod_Base::IsFishingActive ( )
private
void EN5C_FishingRod_Base::ActivateFishing ( )
private

References Init(), and m_Fishing.

Referenced by ActionToggleFishing::OnComplete().

void EN5C_FishingRod_Base::DeactivateFishing ( )
private

References End(), and INTERUPTED.

Referenced by ActionToggleFishing::OnComplete().

void EN5C_FishingRod_Base::Init ( )
private
void EN5C_FishingRod_Base::FishPull ( )
private
void EN5C_FishingRod_Base::Catching ( )
private
void EN5C_FishingRod_Base::Pulling ( )
private
void EN5C_FishingRod_Base::AddPull ( float  delta )
private

References m_DeltaT, and m_WasPulled.

Referenced by ActionFishing::OnTick().

void EN5C_FishingRod_Base::DisplayState ( )
private
void EN5C_FishingRod_Base::End ( int  result )
private

Member Data Documentation

const float EN5C_FishingRod_Base::BREAK_PULL = 36
private

Referenced by Pulling().

const float EN5C_FishingRod_Base::TOO_MUCH_PULL = 32
private

Referenced by DisplayState().

const float EN5C_FishingRod_Base::HIGH_PULL = 22
private

Referenced by DisplayState().

const float EN5C_FishingRod_Base::LOW_PULL = 18
private

Referenced by DisplayState().

const float EN5C_FishingRod_Base::TOO_FEW_PULL = 8
private

Referenced by DisplayState(), and FishPull().

const float EN5C_FishingRod_Base::LOOSE_PULL = 0
private

Referenced by Pulling().

const int EN5C_FishingRod_Base::LOSS_BREAK = 0
private

Referenced by End(), and Pulling().

const int EN5C_FishingRod_Base::LOSS_LOOSE = 1
private

Referenced by End(), and Pulling().

const int EN5C_FishingRod_Base::WIN = 2
private

Referenced by End(), and Pulling().

const int EN5C_FishingRod_Base::INTERUPTED = 3
private
const float EN5C_FishingRod_Base::INIT_LINE_STRETCH = 15
private

Referenced by Init().

const float EN5C_FishingRod_Base::MIN_FISHING_TIME = 100
private

Referenced by Init().

const float EN5C_FishingRod_Base::MAX_FISHING_TIME = 150
private

Referenced by Init().

const int EN5C_FishingRod_Base::FISH_PULL_CHANCE = 15
private

Referenced by FishPull().

const int EN5C_FishingRod_Base::FISH_AGILITY = 15
private

Referenced by Init().

int EN5C_FishingRod_Base::m_FishProximity
private

Referenced by Catching(), and Init().

bool EN5C_FishingRod_Base::m_Fishing
private
autoptr Timer EN5C_FishingRod_Base::m_CyclerCatching
private

Referenced by Catching(), End(), and Init().

autoptr Timer EN5C_FishingRod_Base::m_Cycler
private

Referenced by Catching(), End(), and Init().

float EN5C_FishingRod_Base::m_Pull
private

Referenced by DisplayState(), Init(), and Pulling().

float EN5C_FishingRod_Base::m_DeltaT
private

Referenced by AddPull().

bool EN5C_FishingRod_Base::m_WasPulled
private

Referenced by AddPull(), Catching(), and Pulling().

bool EN5C_FishingRod_Base::m_IsFishPulling
private

Referenced by FishPull(), Init(), and Pulling().

float EN5C_FishingRod_Base::m_PullTime
private

Referenced by FishPull().

float EN5C_FishingRod_Base::m_FishPull
private

Referenced by FishPull(), and Pulling().

int EN5C_FishingRod_Base::m_FishingTime
private

Referenced by Init(), and Pulling().

PlayerBase EN5C_FishingRod_Base::m_Player
private
int EN5C_FishingRod_Base::m_ChanceRange
private

Referenced by Catching(), and Init().


The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)