![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
| class | CatchingContextTrapFishLarge |
| class | CatchingContextTrapsBase |
Functions | |
| float | AdjustBaitItemChance (EntityAI item) |
| Allows for adjustment of all catch probabilities from item qualities (damage, qty...). | |
| void | ClearCatchingItemData () |
| void | CreateResultDataStructure () |
| void | DeserializeData (Param par) |
| void | Init (Param par) |
| void | InitCatchEnviroMask () |
| CatchingContextTrapsBase CatchingContextBase | InitCatchMethodMask () |
| void | InitItemValues (EntityAI item) |
| override to init context-specific values | |
| override bool | ModifySignalProbability (inout float probability) |
| void | ReduceBaitQty (float qtyNorm) |
| void | RemoveBait () |
| void | SetTrapEnviroMask (int value) |
| void | SetupInitialTypes () |
| override void | UpdateBaseProbability (YieldItemBase yItem) |
| updates base probability when catching the specific item (some context subclasses only) | |
| void | UpdateDataAndMasks () |
| int | UpdateTrapEnviroMask () |
| void | UpdateUsedBait (ECatchingBaitCategories type) |
| if non-empty bait type is used, some 'Bait' attachment is picked as an active bait (currently no direct link between item and sensitivity-weighted target probability) | |
Variables | |
| int | m_AttemptsCount |
| ItemBase | m_Bait |
| float | m_CumulativeTrappingSuccess |
| after N attempts, the chance to catch should be this. | |
Allows for adjustment of all catch probabilities from item qualities (damage, qty...).
Definition at line 328 of file catchingcontexttraps.c.
|
protected |
Definition at line 273 of file catchingcontexttraps.c.
|
protected |
Definition at line 266 of file catchingcontexttraps.c.
|
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 351 of file catchingcontexttraps.c.
|
protected |
Definition at line 340 of file catchingcontexttraps.c.
| CatchingContextTrapsBase CatchingContextBase InitCatchMethodMask | ( | ) |
Definition at line 1 of file catchingcontexttraps.c.
References CatchingContextBase().
Referenced by CatchingContextTrapsBase::UpdateDataAndMasks().
|
protected |
override to init context-specific values
Definition at line 283 of file catchingcontexttraps.c.
Referenced by InitCatchingItemData().
Definition at line 465 of file catchingcontexttraps.c.
|
protected |
Definition at line 478 of file catchingcontexttraps.c.
|
protected |
Definition at line 472 of file catchingcontexttraps.c.
|
protected |
Definition at line 394 of file catchingcontexttraps.c.
Referenced by ItemBase::SetActive().
|
protected |
Definition at line 358 of file catchingcontexttraps.c.
|
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 379 of file catchingcontexttraps.c.
|
protected |
Definition at line 388 of file catchingcontexttraps.c.
Referenced by ItemBase::OnPlacementComplete(), and ItemBase::SetActive().
|
protected |
if non-empty bait type is used, some 'Bait' attachment is picked as an active bait (currently no direct link between item and sensitivity-weighted target probability)
Definition at line 400 of file catchingcontexttraps.c.
|
protected |
Definition at line 253 of file catchingcontexttraps.c.
|
protected |
Definition at line 254 of file catchingcontexttraps.c.
|
protected |
after N attempts, the chance to catch should be this.
Only highest one applies. @NOTE: Take care, only way to achieve guaranteed 1.0 chance at the end is to have EVERY chance at 1.0.
Definition at line 252 of file catchingcontexttraps.c.