|
PC Stable Documentation
|
|

Private Member Functions | |
| void | CatchingResultBasic (EntityAI owner) |
| void | SetYieldItem (YieldItemBase yItem) |
| int | GetYieldItemParticleId () |
| protected void | SetCatchChance (float val) |
| protected void | SetQuality (float val) |
| void | SetCatchChanceOverride (bool ovrd, float val=0.0) |
| void | SetQualityOverride (bool ovrd, float val=0.0) |
| void | UpdateCatchQuality (CatchingContextBase ctx) |
| void | UpdateCatchChance (CatchingContextBase ctx) |
| bool | RollChance () |
| protected float | RollChanceSeeded () |
| EntityAI | SpawnAndSetup (out int yItemIdx, vector v=vector.Zero) |
Private Attributes | |
| protected EntityAI | m_Owner |
| protected bool | m_OverrideChanceActive = false |
| protected bool | m_OverrideQualityActive = false |
| protected float | m_CatchChance = 1.0 |
| protected float | m_Quality = 1.0 |
| protected YieldItemBase | m_YItem |
|
inlineprivate |
References m_Owner.
|
inlineprivate |
References YieldItemBase::GetCatchParticleID(), ParticleList::INVALID, and m_YItem.
Referenced by CatchingContextFishingRodAction::GetResultParticleId().
|
inlineprivate |
References m_CatchChance, m_Owner, Math::RandomFloat01(), and RollChanceSeeded().
Referenced by RollCatch().
|
inlineprivate |
Referenced by RollChance().
|
inlineprivate |
References Math::Clamp(), and m_CatchChance.
Referenced by UpdateCatchChance().
References m_CatchChance, and m_OverrideChanceActive.
Referenced by SetResultChanceOverride().
|
inlineprivate |
References Math::Clamp(), and m_Quality.
Referenced by UpdateCatchQuality().
References m_OverrideQualityActive, and m_Quality.
Referenced by SetResultQualityOverride().
|
inlineprivate |
References m_YItem.
Referenced by GenerateResult(), and CatchingContextFishingRodAction::GenerateResult().
|
inlineprivate |
References ECE_PLACE_ON_SURFACE, GetGame(), YieldItemBase::GetRegistrationIdx(), YieldItemBase::GetType(), m_Owner, m_YItem, YieldItemBase::OnEntityYieldSpawned(), and vector::Zero.
Referenced by SpawnAndSetupCatch().
|
inlineprivate |
References YieldItemBase::GetChanceForYieldItem(), m_OverrideChanceActive, m_YItem, and SetCatchChance().
Referenced by CatchingContextFishingRodAction::RecalculateProcessingData(), and RollCatch().
|
inlineprivate |
References YieldItemBase::GetQualityForYieldItem(), m_OverrideQualityActive, m_YItem, and SetQuality().
Referenced by SpawnAndSetupCatch().
|
private |
Referenced by RollChance(), SetCatchChance(), and SetCatchChanceOverride().
|
private |
Referenced by SetCatchChanceOverride(), and UpdateCatchChance().
|
private |
Referenced by SetQualityOverride(), and UpdateCatchQuality().
|
private |
Referenced by CatchingResultBasic(), RollChance(), CatchingResultBase::RollChanceSeeded(), and SpawnAndSetup().
|
private |
|
private |