DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл YieldsFishingJunk.c

См. исходные тексты.

Структуры данных

class  YieldItemJunk
 

Функции

YieldItemJunk FishYieldItemBase GetQualityForYieldItem (CatchingContextBase ctx)
 
void YieldItemJunk (int baseWeight, string type)
 
override void Init ()
 Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
 
override float GetChanceForYieldItem (CatchingContextBase ctx)
 
override float GetCycleTimeForYieldItem (CatchingContextFishingRodAction ctx)
 
override string GetCatchDeathSoundset ()
 

Функции

◆ GetCatchDeathSoundset()

override string GetCatchDeathSoundset ( )

◆ GetChanceForYieldItem()

override float GetChanceForYieldItem ( CatchingContextBase ctx)
52{
53 void YieldItemJunk(int baseWeight, string type)
54 {
55 m_Type = type;
56 }
57
58 override void Init()
59 {
60 super.Init();
61
64 }
65
66 override float GetChanceForYieldItem(CatchingContextBase ctx)
67 {
68 return 0.20; //not affected by equipment or time, just some flat number
69 }
70
72 {
74 }
75
76 override string GetCatchDeathSoundset()
77 {
78 return "";
79 }
80}
81
83{
84 //empty liquid containers
85 override float GetQualityForYieldItem(CatchingContextBase ctx)
86 {
87 return 0;
88 }
89}
int m_MethodMask
Definition CatchingContextBase.c:18
int m_EnviroMask
Definition CatchingContextBase.c:19
class DynamicMusicLocationTypes m_Type
YieldItemJunk FishYieldItemBase GetQualityForYieldItem(CatchingContextBase ctx)
Definition YieldsFishingJunk.c:36
override float GetChanceForYieldItem(CatchingContextBase ctx)
Definition YieldsFishingJunk.c:50
override void Init()
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside o...
Definition YieldsFishingJunk.c:42
void YieldItemJunk(int baseWeight, string type)
Definition YieldsFishingJunk.c:37
override string GetCatchDeathSoundset()
Definition YieldsFishingJunk.c:60
override float GetCycleTimeForYieldItem(CatchingContextFishingRodAction ctx)
Definition YieldsFishingJunk.c:55
Definition CatchingConstants.c:2
static const int MASK_METHOD_ROD
Definition CatchingConstants.c:19
static const int MASK_ENVIRO_WATER_ALL
Definition CatchingConstants.c:15
Definition CatchingContextFishingRodAction.c:2
Definition YieldsFish.c:2
Definition EntityAI.c:95
Definition ActionConstants.c:174
const float CYCLE_LENGTH_MAX
Definition ActionConstants.c:177
Definition YieldsFishingJunk.c:3

◆ GetCycleTimeForYieldItem()

override float GetCycleTimeForYieldItem ( CatchingContextFishingRodAction ctx)
57{
58 void YieldItemJunk(int baseWeight, string type)
59 {
60 m_Type = type;
61 }
62
63 override void Init()
64 {
65 super.Init();
66
69 }
70
71 override float GetChanceForYieldItem(CatchingContextBase ctx)
72 {
73 return 0.20; //not affected by equipment or time, just some flat number
74 }
75
77 {
79 }
80
81 override string GetCatchDeathSoundset()
82 {
83 return "";
84 }
85}
86
88{
89 //empty liquid containers
90 override float GetQualityForYieldItem(CatchingContextBase ctx)
91 {
92 return 0;
93 }
94}

◆ GetQualityForYieldItem()

YieldItemJunk FishYieldItemBase GetQualityForYieldItem ( CatchingContextBase ctx)
37 {
38 return 0;
39 }

◆ Init()

override void Init ( )

Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)

pre-init arrays

44{
45 void YieldItemJunk(int baseWeight, string type)
46 {
47 m_Type = type;
48 }
49
50 override void Init()
51 {
52 super.Init();
53
56 }
57
58 override float GetChanceForYieldItem(CatchingContextBase ctx)
59 {
60 return 0.20; //not affected by equipment or time, just some flat number
61 }
62
64 {
66 }
67
68 override string GetCatchDeathSoundset()
69 {
70 return "";
71 }
72}
73
75{
76 //empty liquid containers
77 override float GetQualityForYieldItem(CatchingContextBase ctx)
78 {
79 return 0;
80 }
81}

◆ YieldItemJunk()

void YieldItemJunk ( int baseWeight,
string type )