class CatchingResultBasicSource
Derived classes
View all 3 descendants
Constructors 1
Members 6
protected EntityAI m_OwnerReferenced by CatchingResultBase.RollChanceSeeded(), CatchingResultBasic(), RollChance()
Show 1 more
, SpawnAndSetup()protected bool m_OverrideChanceActive = falsedo not perform chance updates
protected bool m_OverrideQualityActive = falseoverrides quality
protected float m_CatchChance = 1.0guaranteed catch by default
protected float m_Quality = 1.0max quality default
Referenced by CarchingResultFishingAction.SpawnAndSetup(), SetQuality(), SetQualityOverride()
Show 1 more
, CatchingResultTrapBase.SpawnAndSetup()protected YieldItemBase m_YItemReferenced by CarchingResultFishingAction.GetCurrentCycleTime(), GetYieldItemParticleId(), SetYieldItem()
Show 3 more
, SpawnAndSetup(), UpdateCatchChance(), and UpdateCatchQuality()Methods 11
void SetYieldItem(YieldItemBase yItem)References m_YItem
int GetYieldItemParticleId()Referenced by CatchingContextFishingRodAction.GetResultParticleId()
protected void SetCatchChance(float val)Referenced by UpdateCatchChance()
protected void SetQuality(float val)Referenced by UpdateCatchQuality()
Referenced by CatchingContextBase.SetResultChanceOverride()
Referenced by CatchingContextBase.SetResultQualityOverride()
void UpdateCatchQuality(CatchingContextBase ctx)References YieldItemBase.GetQualityForYieldItem(), SetQuality(), m_OverrideQualityActive
Show 1 more
, m_YItemReferenced by CatchingContextBase.SpawnAndSetupCatch()
void UpdateCatchChance(CatchingContextBase ctx)References YieldItemBase.GetChanceForYieldItem(), SetCatchChance(), m_OverrideChanceActive
Show 1 more
, m_YItembool RollChance()References EntityAI.GetHierarchyRootPlayer(), Math.RandomFloat01(), RollChanceSeeded()
Show 2 more
, m_CatchChance, and m_OwnerReferenced by CatchingContextBase.RollCatch()
protected float RollChanceSeeded()Referenced by RollChance()