Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
YieldItemBase Class Reference
Inheritance diagram for YieldItemBase:
FishYieldItemBase LandAnimalYieldItemBase YieldItemJunk YieldItemMackerel YieldItemSardines YieldItemShrimp YieldItemWalleyePollock YieldItemCapraHircusBase YieldItemDeadRabbit YieldItemDeadChicken_Brown YieldItemDeadChicken_White

Protected Member Functions

void YieldItemBase (int baseWeight)
float GetBaitTypeSensitivity (ECatchingBaitCategories type)
string GetCatchAINoise ()
float GetCatchAINoiseBaseStrength ()
string GetCatchDeathSoundset ()
int GetCatchParticleID ()
float GetChanceForYieldItem (CatchingContextBase ctx)
int GetEnviroMask ()
int GetMethodMask ()
float GetQualityForYieldItem (CatchingContextBase ctx)
int GetRegistrationIdx ()
string GetType ()
int GetYieldWeight (CatchingContextBase ctx)
void Init ()
void OnEntityYieldSpawned (EntityAI spawn)
 called on item spawn
void SetRegistrationIdx (int idx)

Protected Attributes

int m_BaseWeight
int m_EnviroMask
int m_MethodMask
float m_QualityBase = AnimalCatchingConstants.QUALITY_GENERIC_BASE
int m_RegistrationIdx = -1
string m_Type

Detailed Description

Definition at line 1 of file catchyielditembase.c.

Constructor & Destructor Documentation

◆ YieldItemBase()

void YieldItemBase ( int baseWeight)
inlineprotected

Definition at line 11 of file catchyielditembase.c.

References Init(), and m_BaseWeight.

Referenced by Init(), and YieldItemGenericFish().

Member Function Documentation

◆ GetBaitTypeSensitivity()

float GetBaitTypeSensitivity ( ECatchingBaitCategories type)
inlineprotected

◆ GetCatchAINoise()

string GetCatchAINoise ( )
inlineprotected

Definition at line 86 of file catchyielditembase.c.

Referenced by ItemBase::PlayCatchNoise().

◆ GetCatchAINoiseBaseStrength()

float GetCatchAINoiseBaseStrength ( )
inlineprotected

Definition at line 91 of file catchyielditembase.c.

Referenced by ItemBase::PlayCatchNoise().

◆ GetCatchDeathSoundset()

string GetCatchDeathSoundset ( )
inlineprotected

Definition at line 81 of file catchyielditembase.c.

Referenced by ItemBase::PlayCatchSound().

◆ GetCatchParticleID()

int GetCatchParticleID ( )
inlineprotected

Definition at line 96 of file catchyielditembase.c.

References ParticleList::INVALID.

Referenced by ItemBase::PlayCatchParticleSynced().

◆ GetChanceForYieldItem()

float GetChanceForYieldItem ( CatchingContextBase ctx)
inlineprotected

Definition at line 69 of file catchyielditembase.c.

References CatchingContextBase().

◆ GetEnviroMask()

int GetEnviroMask ( )
inlineprotected

Definition at line 43 of file catchyielditembase.c.

References m_EnviroMask.

Referenced by CheckMaskCompatibility().

◆ GetMethodMask()

int GetMethodMask ( )
inlineprotected

Definition at line 48 of file catchyielditembase.c.

References m_MethodMask.

Referenced by CheckMaskCompatibility().

◆ GetQualityForYieldItem()

float GetQualityForYieldItem ( CatchingContextBase ctx)
inlineprotected

Definition at line 58 of file catchyielditembase.c.

References CatchingContextBase(), and m_QualityBase.

◆ GetRegistrationIdx()

int GetRegistrationIdx ( )
inlineprotected

Definition at line 25 of file catchyielditembase.c.

References m_RegistrationIdx.

◆ GetType()

string GetType ( )
inlineprotected

Definition at line 20 of file catchyielditembase.c.

References m_Type.

Referenced by CatchYieldBank::RegisterYieldItem(), and SetupProbabilityArray().

◆ GetYieldWeight()

int GetYieldWeight ( CatchingContextBase ctx)
inlineprotected

Definition at line 38 of file catchyielditembase.c.

References CatchingContextBase(), and m_BaseWeight.

Referenced by SetupProbabilityArray().

◆ Init()

void Init ( )
protected

Referenced by YieldItemBase().

◆ OnEntityYieldSpawned()

void OnEntityYieldSpawned ( EntityAI spawn)
protected

called on item spawn

◆ SetRegistrationIdx()

void SetRegistrationIdx ( int idx)
inlineprotected

Definition at line 30 of file catchyielditembase.c.

References ErrorEx, and m_RegistrationIdx.

Referenced by CatchYieldBank::RegisterYieldItem().

Field Documentation

◆ m_BaseWeight

int m_BaseWeight
protected

Definition at line 5 of file catchyielditembase.c.

Referenced by YieldItemBase(), and GetYieldWeight().

◆ m_EnviroMask

◆ m_MethodMask

◆ m_QualityBase

Definition at line 6 of file catchyielditembase.c.

Referenced by GetQualityForYieldItem(), and FishYieldItemBase::Init().

◆ m_RegistrationIdx

int m_RegistrationIdx = -1
protected

Definition at line 4 of file catchyielditembase.c.

Referenced by GetRegistrationIdx(), and SetRegistrationIdx().

◆ m_Type


The documentation for this class was generated from the following file: