DIFF

class CatchingContextBaseSource

Constructors 1

void CatchingContextBase(Param par)
References Init()

Members 13

protected ref array<YieldItemBase> m_CompatibleItems

list of all useful yields (initial evaluation based on masks)

protected ref array<int> m_ProbabilityArray

actual probability list

Methods 29

protected void DeserializeData(Param par)
Referenced by Init()
protected void InitBaitCompatibilityMap()
protected void ParseYieldItemsForCompatibility(array<ECatchingBaitCategories> excludedTypes = null)
Referenced by SetupInitialTypes()
YieldsMap GetYieldsMap()
References m_YieldsMapAll
protected void CreateResultDataStructure()

override if using another result

References ErrorEx(), m_IsValid, m_MainItem
Show 1 more, m_Result
protected void InitCatchMasks()
Referenced by Init()
protected void InitCatchMethodMask()
References m_MethodMask
protected void InitCatchEnviroMask()
References m_EnviroMask
Referenced by InitCatchMasks()
protected int GetCatchMethodMask()

override using 'ECatchMethodMask'

References m_MethodMask
protected int GetCatchEnviroMask()
References m_EnviroMask
protected void InitItemValues(EntityAI item)

override to init context-specific values

protected void RecalculateProcessingData()

Calculates and sets all data used in ongoing calculations

bool IsValid()
References m_IsValid
void UpdateBaseProbability(YieldItemBase yItem)

updates base probability when catching the specific item (some context subclasses only)

Referenced by GenerateResult()
bool ModifySignalProbability(inout float probability)
void SetResultChanceOverride(bool ovrd, float val = 0.0)
void SetResultQualityOverride(bool ovrd, float val = 0.0)