class CatchingContextFishingRodActionSource
CatchingContextFishingRodAction › CatchingContextFishingBase › CatchingContextBase
All members, including inherited
Members 18
protected PlayerBase m_PlayerReferenced by GenerateResult(), Init(), RandomizeSignalDuration()
Show 4 more
, RandomizeSignalStartTime(), RemoveItemSafe(), TryBaitLoss(), and TryHookLoss()protected float m_BaitLossChanceModprotected float m_HookLossChanceModprotected float m_SignalDurationMinseconds
Referenced by ClearCatchingItemData(), InitCatchingItemData(), InitItemValues()
Show 1 more
, RandomizeSignalDuration()protected float m_SignalDurationMaxseconds
Referenced by ClearCatchingItemData(), InitCatchingItemData(), InitItemValues()
Show 1 more
, RandomizeSignalDuration()protected float m_SignalStartTimeMinseconds
protected float m_SignalStartTimeMaxseconds
protected float m_SignalCycleTargetprotected float m_SignalCycleEndTargetprotected float m_SignalCycleTargetAdjustmentprotected float m_SignalCycleTargetEndAdjustmentprotected float m_SignalTargetProbabilityprotected float m_SignalTargetEndProbabilityprotected int m_SignalCurrentprotected EntityAI m_Hookprotected EntityAI m_Baitprotected float m_SignalPoissonMean = AnimalCatchingConstants.POISSON_CYCLE_MEAN_DEFAULTDeprecated, left here due to inheritance change
Methods 30
override protected void Init(Param par)References Class.Cast(), EntityAI.GetHierarchyRootPlayer(), CatchingContextBase.Init()
Show 3 more
, CatchingContextBase.m_MainItem, m_Player, and m_Rodoverride protected void InitCatchMethodMask()override protected void InitCatchEnviroMask()override protected void CreateResultDataStructure()override protected void ClearCatchingItemData()only clear stuff you need to update
References CatchingContextBase.ClearCatchingItemData(), ResetSignalCounter(), m_BaitLossChanceMod
Show 15 more
, m_HookLossChanceMod, m_SignalCycleEndTarget, m_SignalCycleTarget, m_SignalCycleTargetAdjustment, m_SignalCycleTargetEndAdjustment, m_SignalDurationMax, m_SignalDurationMin, m_SignalStartTimeMax, m_SignalStartTimeMin, m_SignalTargetEndProbability, m_SignalTargetProbability, UAFishingConstants.SIGNAL_CYCLE_HARD_TARGET_DEFAULT, UAFishingConstants.SIGNAL_CYCLE_MEAN_DEFAULT, UAFishingConstants.SIGNAL_HARD_TARGET_CHANCE_DEFAULT, and UAFishingConstants.SIGNAL_MEAN_CHANCE_DEFAULToverride void InitCatchingItemData()References Math.Clamp(), CatchingContextBase.InitCatchingItemData(), IsCLIParam()
Show 16 more
, Debug.Log(), m_SignalCycleEndTarget, m_SignalCycleTarget, m_SignalCycleTargetAdjustment, m_SignalCycleTargetEndAdjustment, m_SignalDurationMax, m_SignalDurationMin, m_SignalStartTimeMax, m_SignalStartTimeMin, m_SignalTargetEndProbability, m_SignalTargetProbability, float.MAX, UAFishingConstants.SIGNAL_DURATION_MAX_BASE, UAFishingConstants.SIGNAL_DURATION_MIN_BASE, UAFishingConstants.SIGNAL_START_TIME_MAX_BASE, and UAFishingConstants.SIGNAL_START_TIME_MIN_BASEoverride protected void InitItemValues(EntityAI item)References CGame.ConfigGetFloat(), CGame.ConfigIsExisting(), GameInventory.GetCurrentAttachmentSlotInfo()
Show 15 more
, EntityAI.GetInventory(), Object.GetType(), Object.IsRuined(), EntityAI.IsSetForDeletion(), m_Bait, m_BaitLossChanceMod, m_Hook, m_HookLossChanceMod, CatchingContextBase.m_QualityBaseMod, CatchingContextBase.m_QualityDispersionMaxMod, CatchingContextBase.m_QualityDispersionMinMod, m_SignalCycleTargetAdjustment, m_SignalCycleTargetEndAdjustment, m_SignalDurationMax, and m_SignalDurationMinfloat GetChanceCoef()Referenced by ModifySignalProbability()
override bool RollCatch()Referenced by FishingActionData.RollNextResultChance()
override void GenerateResult()done locally on both sides, needs a synced random
Referenced by ActionFishingNew.ComposeLocalContextData()
int GetResultParticleId()References CatchingResultBasic.GetYieldItemParticleId(), ParticleList.INVALID, and CatchingContextBase.m_Result
Referenced by ActionFishingNew.PlaySplashEffectSynced()
override protected void RecalculateProcessingData()float GetHookLossChanceModifierClamped()Referenced by TryHookLoss()
float GetBaitLossChanceModifierClamped()Referenced by TryBaitLoss()
float GetActionCycleTime()References Class.Cast(), CarchingResultFishingAction.GetCurrentCycleTime(), and CatchingContextBase.m_Result
Referenced by ActionFishingNewCB.CreateActionComponent()
float RandomizeSignalDuration()References PlayerBase.GetRandomGeneratorSyncManager(), RandomGeneratorSyncManager.GetRandomInRange(), IsCLIParam()
Show 4 more
, Debug.Log(), m_Player, m_SignalDurationMax, and m_SignalDurationMinReferenced by FishingActionData.RandomizeSignalValues()
float RandomizeSignalStartTime()References PlayerBase.GetRandomGeneratorSyncManager(), RandomGeneratorSyncManager.GetRandomInRange(), IsCLIParam()
Show 4 more
, Debug.Log(), m_Player, m_SignalStartTimeMax, and m_SignalStartTimeMinReferenced by FishingActionData.RandomizeSignalValues()
protected void TryHookLoss()protected void RemoveItemSafe(EntityAI item)References EntityAI.DeleteSafe(), PlayerBase.IsQuickFishing(), EntityAI.SetPrepareToDelete()
Show 1 more
, m_Playerprotected void TryBaitLoss()References GetBaitLossChanceModifierClamped(), RandomGeneratorSyncManager.GetRandom01(), PlayerBase.GetRandomGeneratorSyncManager()
Show 4 more
, EntityAI.IsSetForDeletion(), RemoveItemSafe(), m_Bait, and m_PlayerReferenced by OnSignalMiss()
protected void TryDamageItems()References Object.AddHealth(), CGame.IsDedicatedServer(), CGame.IsMultiplayer()
Show 3 more
, EntityAI.IsSetForDeletion(), UAFishingConstants.DAMAGE_HOOK, and m_HookReferenced by ActionFishingNew.TrySpawnCatch()
void OnBeforeSpawnSignalHit()References TryHookLoss()
Referenced by ActionFishingNew.EvaluateFishingResult()
void OnAfterSpawnSignalHit()Referenced by ActionFishingNew.EvaluateFishingResult()
void OnSignalPass()References RemoveItemSafe(), TryDamageItems(), CatchingContextBase.UpdateCatchingItemData()
Show 1 more
, m_BaitReferenced by ActionFishingNew.OnSignalEnd()
float GetSignalPoissonMean()References m_SignalPoissonMean
int GetSignalMax()Deprecated, left here due to inheritance change