![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
| class | BaitData |
Functions | |
| void | CatchingContextBase (Param par) |
| bool | CheckBaitCompatibility (YieldItemBase yItem, array< ECatchingBaitCategories > excludedTypes=null) |
| bool | CheckMaskCompatibility (YieldItemBase yItem) |
| void | ClearCatchingItemData () |
| called before actual item data initialization | |
| void | CreateResultDataStructure () |
| override if using another result | |
| void | DeserializeData (Param par) |
| void | GenerateResult () |
| int | GetCatchEnviroMask () |
| int | GetCatchMethodMask () |
| override using 'ECatchMethodMask' | |
| float | GetQualityModifier () |
| YieldsMap | GetYieldsMap () |
| void | Init (Param par) |
| void | InitBaitCompatibilityMap () |
| void | InitCatchEnviroMask () |
| void | InitCatchingItemData () |
| void | InitCatchMasks () |
| void | InitCatchMethodMask () |
| void | InitItemValues (EntityAI item) |
| override to init context-specific values | |
| bool | IsValid () |
| Checks if the ScriptCaller is valid. | |
| bool | ModifySignalProbability (inout float probability) |
| void | ParseYieldItemsForCompatibility (array< ECatchingBaitCategories > excludedTypes=null) |
| void | RecalculateProcessingData () |
| Calculates and sets all data used in ongoing calculations. | |
| bool | RollCatch () |
| void | SetResultChanceOverride (bool ovrd, float val=0.0) |
| void | SetResultQualityOverride (bool ovrd, float val=0.0) |
| void | SetupInitialTypes () |
| void | SetupProbabilityArray () |
| EntityAI | SpawnAndSetupCatch (out int yItemIdx, vector v=vector.Zero) |
| void | UpdateBaseProbability (YieldItemBase yItem) |
| updates base probability when catching the specific item (some context subclasses only) | |
| void | UpdateCatchingItemData () |
Variables | |
| ref map< int, ref BaitData > | m_BaitCompatibilityMap |
| ref array< YieldItemBase > | m_CompatibleItems |
| int | m_EnviroMask |
| ref array< YieldItemBase > | m_ExcludedItems |
| bool | m_IsValid |
| class BaitData | m_MainItem |
| int | m_MethodMask |
| ref array< int > | m_ProbabilityArray |
| float | m_QualityBaseMod |
| float | m_QualityDispersionMaxMod |
| float | m_QualityDispersionMinMod |
| ref CatchingResultBasic | m_Result |
| YieldsMap | m_YieldsMapAll |
|
protected |
Definition at line 29 of file catchingcontextbase.c.
References Init().
Referenced by YieldItemBase::GetChanceForYieldItem(), YieldItemJunk::GetChanceForYieldItem(), YieldItemBase::GetQualityForYieldItem(), YieldItemBase::GetYieldWeight(), InitCatchMethodMask(), CatchingResultBasic::UpdateCatchChance(), and CatchingResultBasic::UpdateCatchQuality().
|
protected |
Definition at line 174 of file catchingcontextbase.c.
References YieldItemBase::GetBaitTypeSensitivity(), IsCLIParam(), m_BaitCompatibilityMap, m_ExcludedItems, Math::Max(), and Print().
Referenced by ParseYieldItemsForCompatibility().
|
protected |
Definition at line 169 of file catchingcontextbase.c.
References GetCatchEnviroMask(), GetCatchMethodMask(), YieldItemBase::GetEnviroMask(), and YieldItemBase::GetMethodMask().
Referenced by ParseYieldItemsForCompatibility().
|
protected |
called before actual item data initialization
Definition at line 241 of file catchingcontextbase.c.
References m_QualityBaseMod, m_QualityDispersionMaxMod, and m_QualityDispersionMinMod.
Referenced by InitCatchingItemData().
|
protected |
override if using another result
Definition at line 131 of file catchingcontextbase.c.
References ErrorEx, m_IsValid, m_MainItem, and m_Result.
Referenced by Init().
|
protected |
Definition at line 256 of file catchingcontexttraps.c.
References m_MethodMask, and AnimalCatchingConstants::MASK_METHOD_FISHTRAP_LARGE.
Referenced by Init().
|
protected |
Definition at line 257 of file catchingcontextbase.c.
References Class::CastTo(), m_IsValid, m_ProbabilityArray, m_Result, m_YieldsMapAll, and UpdateBaseProbability().
Referenced by CatchingContextTrapsBase::Init().
|
protected |
Definition at line 164 of file catchingcontextbase.c.
References m_EnviroMask.
Referenced by CheckMaskCompatibility(), and CatchingContextTrapsBase::UpdateTrapEnviroMask().
|
protected |
override using 'ECatchMethodMask'
Definition at line 159 of file catchingcontextbase.c.
References m_MethodMask.
Referenced by CheckMaskCompatibility().
|
protected |
Definition at line 276 of file catchingcontextbase.c.
References m_QualityBaseMod, m_QualityDispersionMaxMod, m_QualityDispersionMinMod, and Math::RandomFloatInclusive().
|
protected |
Definition at line 125 of file catchingcontextbase.c.
References m_YieldsMapAll.
|
protected |
Definition at line 34 of file catchingcontextbase.c.
References CreateResultDataStructure(), DeserializeData(), g_Game, InitCatchingItemData(), InitCatchMasks(), m_IsValid, m_YieldsMapAll, SetupInitialTypes(), and SetupProbabilityArray().
|
protected |
Definition at line 48 of file catchingcontextbase.c.
References m_BaitCompatibilityMap.
Referenced by InitCatchingItemData().
|
protected |
Definition at line 153 of file catchingcontextbase.c.
References m_EnviroMask.
Referenced by InitCatchMasks().
|
protected |
Definition at line 217 of file catchingcontextbase.c.
References ClearCatchingItemData(), ErrorEx, InitBaitCompatibilityMap(), InitItemValues(), m_IsValid, and m_MainItem.
Referenced by Init(), UpdateCatchingItemData(), and CatchingContextTrapsBase::UpdateDataAndMasks().
|
protected |
Definition at line 142 of file catchingcontextbase.c.
References InitCatchEnviroMask(), and InitCatchMethodMask().
Referenced by Init().
|
protected |
Definition at line 148 of file catchingcontextbase.c.
References m_MethodMask.
Referenced by InitCatchMasks().
|
protected |
override to init context-specific values
Definition at line 283 of file catchingcontexttraps.c.
Referenced by InitCatchingItemData().
Definition at line 271 of file catchingcontextbase.c.
|
protected |
Definition at line 80 of file catchingcontextbase.c.
References CheckBaitCompatibility(), CheckMaskCompatibility(), m_CompatibleItems, m_ExcludedItems, and m_YieldsMapAll.
Referenced by SetupInitialTypes().
|
protected |
Calculates and sets all data used in ongoing calculations.
Referenced by UpdateCatchingItemData().
|
protected |
Definition at line 293 of file catchingcontextbase.c.
References m_Result.
Definition at line 282 of file catchingcontextbase.c.
References m_Result.
Definition at line 287 of file catchingcontextbase.c.
References m_Result.
|
protected |
Definition at line 56 of file catchingcontextbase.c.
References ErrorEx, m_CompatibleItems, m_ExcludedItems, m_IsValid, m_MainItem, and ParseYieldItemsForCompatibility().
Referenced by Init().
|
protected |
Definition at line 97 of file catchingcontextbase.c.
References ErrorEx, YieldItemBase::GetType(), YieldItemBase::GetYieldWeight(), string::Hash(), m_CompatibleItems, m_IsValid, m_MainItem, and m_ProbabilityArray.
Referenced by Init(), and CatchingContextTrapsBase::UpdateDataAndMasks().
|
protected |
Definition at line 300 of file catchingcontextbase.c.
References ErrorEx, m_IsValid, m_MainItem, and m_Result.
|
protected |
updates base probability when catching the specific item (some context subclasses only)
Definition at line 427 of file catchingcontexttraps.c.
Referenced by GenerateResult().
|
protected |
Definition at line 211 of file catchingcontextbase.c.
References InitCatchingItemData(), and RecalculateProcessingData().
Referenced by CatchingContextFishingRodAction::OnSignalPass().
Definition at line 23 of file catchingcontextbase.c.
Referenced by CheckBaitCompatibility(), InitBaitCompatibilityMap(), CatchingContextTrapsBase::InitItemValues(), CatchingContextTrapsBase::UpdateBaseProbability(), and CatchingContextTrapsBase::UpdateUsedBait().
|
protected |
Definition at line 24 of file catchingcontextbase.c.
Referenced by ParseYieldItemsForCompatibility(), SetupInitialTypes(), and SetupProbabilityArray().
|
protected |
Definition at line 19 of file catchingcontextbase.c.
Referenced by GetBaitTypeSensitivity(), GetCatchAINoise(), GetCatchEnviroMask(), CatchingContextFishingRodAction::InitCatchEnviroMask(), CatchingContextTrapsBase::InitCatchEnviroMask(), InitCatchEnviroMask(), and CatchingContextTrapsBase::SetTrapEnviroMask().
|
protected |
Definition at line 25 of file catchingcontextbase.c.
Referenced by CheckBaitCompatibility(), ParseYieldItemsForCompatibility(), and SetupInitialTypes().
|
protected |
Definition at line 17 of file catchingcontextbase.c.
Referenced by CreateResultDataStructure(), GenerateResult(), Init(), InitCatchingItemData(), IsValid(), SetupInitialTypes(), SetupProbabilityArray(), and SpawnAndSetupCatch().
| ItemBase m_MainItem |
Definition at line 42 of file actionbase.c.
Referenced by _GetSelectedActions(), AnimateRod(), CatchingContextFishingRodAction::CreateResultDataStructure(), CatchingContextTrapsBase::CreateResultDataStructure(), CreateResultDataStructure(), CatchingContextFishingBase::DeserializeData(), CatchingContextTrapsBase::DeserializeData(), CatchingContextFishingRodAction::Init(), CatchingContextTrapsBase::InitCatchEnviroMask(), InitCatchingItemData(), SetupInitialTypes(), SetupProbabilityArray(), SpawnAndSetupCatch(), CarHornShortActionInput::UpdatePossibleActions(), ToggleLightsActionInput::UpdatePossibleActions(), ToggleNVGActionInput::UpdatePossibleActions(), UpdatePossibleActions(), and CatchingContextTrapsBase::UpdateUsedBait().
|
protected |
Definition at line 18 of file catchingcontextbase.c.
Referenced by DeserializeData(), GetBaitTypeSensitivity(), GetCatchAINoise(), GetCatchMethodMask(), Init(), CatchingContextFishingRodAction::InitCatchMethodMask(), and InitCatchMethodMask().
Definition at line 26 of file catchingcontextbase.c.
Referenced by CatchingContextFishingRodAction::GenerateResult(), GenerateResult(), and SetupProbabilityArray().
|
protected |
Definition at line 20 of file catchingcontextbase.c.
Referenced by CatchingContextTrapsBase::ClearCatchingItemData(), ClearCatchingItemData(), GetQualityModifier(), CatchingContextFishingRodAction::InitItemValues(), and CatchingContextTrapsBase::InitItemValues().
|
protected |
Definition at line 22 of file catchingcontextbase.c.
Referenced by CatchingContextTrapsBase::ClearCatchingItemData(), ClearCatchingItemData(), GetQualityModifier(), CatchingContextFishingRodAction::InitItemValues(), and CatchingContextTrapsBase::InitItemValues().
|
protected |
Definition at line 21 of file catchingcontextbase.c.
Referenced by CatchingContextTrapsBase::ClearCatchingItemData(), ClearCatchingItemData(), GetQualityModifier(), CatchingContextFishingRodAction::InitItemValues(), and CatchingContextTrapsBase::InitItemValues().
|
protected |
Definition at line 27 of file catchingcontextbase.c.
Referenced by CatchingContextFishingRodAction::CreateResultDataStructure(), CatchingContextTrapsBase::CreateResultDataStructure(), CreateResultDataStructure(), CatchingContextFishingRodAction::GenerateResult(), GenerateResult(), CatchingContextFishingRodAction::GetActionCycleTime(), CatchingContextFishingRodAction::GetResultParticleId(), CatchingContextFishingRodAction::RecalculateProcessingData(), RollCatch(), SetResultChanceOverride(), SetResultQualityOverride(), and SpawnAndSetupCatch().
|
protected |
Definition at line 16 of file catchingcontextbase.c.
Referenced by CatchingContextFishingRodAction::GenerateResult(), GenerateResult(), GetYieldsMap(), Init(), and ParseYieldItemsForCompatibility().