DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ Init()

override void GetQualityForYieldItem::Init ( )

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

pre-init arrays

См. определение в файле YieldsFishingJunk.c строка 49

51{
52 void YieldItemJunk(int baseWeight, string type)
53 {
54 m_Type = type;
55 }
56
57 override void Init()
58 {
59 super.Init();
60
63 }
64
66 {
67 return 0.20; //not affected by equipment or time, just some flat number
68 }
69
71 {
73 }
74
75 override void OnEntityYieldSpawned(EntityAI spawn)
76 {
77 super.OnEntityYieldSpawned(spawn);
78
79 spawn.SetHealthLevel(GameConstants.STATE_BADLY_DAMAGED,"");
80 }
81
82 override string GetCatchDeathSoundset()
83 {
84 return "";
85 }
86}
87
88class YieldItemJunkEmpty : YieldItemJunk
89{
90 //empty liquid containers
92 {
93 return 0;
94 }
95}
eBleedingSourceType m_Type
Определения BleedingSource.c:25
int m_MethodMask
Определения CatchingContextBase.c:18
void CatchingContextBase(Param par)
Определения CatchingContextBase.c:29
int m_EnviroMask
Определения CatchingContextBase.c:19
override float GetCycleTimeForYieldItem(CatchingContextFishingRodAction ctx)
Определения YieldsFishingJunk.c:62
override void OnEntityYieldSpawned(EntityAI spawn)
Определения YieldsFishingJunk.c:67
override string GetCatchDeathSoundset()
Определения YieldsFishingJunk.c:74
override float GetChanceForYieldItem(CatchingContextBase ctx)
Определения YieldsFishingJunk.c:57
void YieldItemJunk(int baseWeight, string type)
Определения YieldsFishingJunk.c:44
override void Init()
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside o...
Определения YieldsFishingJunk.c:49
static const int MASK_METHOD_ROD
Определения CatchingConstants.c:19
static const int MASK_ENVIRO_WATER_ALL
Определения CatchingConstants.c:15
Определения Building.c:6
override void Init()
Определения YieldsFish.c:6
Определения YieldsFish.c:2
Определения constants.c:659
const float CYCLE_LENGTH_MAX
Определения ActionConstants.c:182
float GetQualityForYieldItem(CatchingContextBase ctx)
Определения CatchYieldItemBase.c:58
Определения YieldsFishingJunk.c:3
const int STATE_BADLY_DAMAGED
Определения constants.c:847