PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
YieldItemBase Class Reference

Private Member Functions

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

Private Attributes

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

Constructor & Destructor Documentation

◆ YieldItemBase()

void YieldItemBase ( int  baseWeight)
inlineprivate

References Init(), and m_BaseWeight.

Member Function Documentation

◆ GetBaitTypeSensitivity()

float GetBaitTypeSensitivity ( ECatchingBaitCategories  type)
inlineprivate

◆ GetCatchAINoise()

string GetCatchAINoise ( )
inlineprivate

◆ GetCatchAINoiseBaseStrength()

float GetCatchAINoiseBaseStrength ( )
inlineprivate

◆ GetCatchDeathSoundset()

string GetCatchDeathSoundset ( )
inlineprivate

◆ GetCatchParticleID()

int GetCatchParticleID ( )
inlineprivate

◆ GetChanceForYieldItem()

float GetChanceForYieldItem ( CatchingContextBase  ctx)
inlineprivate

◆ GetEnviroMask()

int GetEnviroMask ( )
inlineprivate

References m_EnviroMask.

Referenced by CheckMaskCompatibility().

◆ GetMethodMask()

int GetMethodMask ( )
inlineprivate

References m_MethodMask.

Referenced by CheckMaskCompatibility().

◆ GetQualityForYieldItem()

float GetQualityForYieldItem ( CatchingContextBase  ctx)
inlineprivate

◆ GetRegistrationIdx()

int GetRegistrationIdx ( )
inlineprivate

◆ GetType()

◆ GetYieldWeight()

int GetYieldWeight ( CatchingContextBase  ctx)
inlineprivate

References m_BaseWeight.

Referenced by SetupProbabilityArray().

◆ Init()

void Init ( )
private

Referenced by YieldItemBase().

◆ OnEntityYieldSpawned()

void OnEntityYieldSpawned ( EntityAI  spawn)
private

called on item spawn

Referenced by CatchingResultBasic::SpawnAndSetup().

◆ SetRegistrationIdx()

void SetRegistrationIdx ( int  idx)
inlineprivate

Field Documentation

◆ m_BaseWeight

protected int m_BaseWeight
private

Referenced by GetYieldWeight(), and YieldItemBase().

◆ m_EnviroMask

◆ m_MethodMask

◆ m_QualityBase

◆ m_RegistrationIdx

protected int m_RegistrationIdx = -1
private

◆ m_Type


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