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

◆ Init()

void Init ( )

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

whole body slots

upper body part slots

bottom body part slots

lower body part slots


heat comfort related slots

pre-init arrays

Temporary hotfix for EOnPostSimulate/EOnFrame methods not beeing called on static objects

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

111 {
112 m_Player = PlayerBase.Cast( g_Game.GetPlayer() );
114 m_IsFishPulling = false;
115 //TIMERDEPRECATED - randomized time of fishing
119 //TIMERDEPRECATED
120 if(!m_Cycler)
121 {
122 m_Cycler = new Timer();
123 }
125 {
126 m_CyclerCatching = new Timer();
127 }
128 m_CyclerCatching.Run(4, this, "Catching", NULL,true);
129 m_Player.Message("I have started fishing.", "colorFriendly");
130 }
map m_Player
DayZGame g_Game
Определения DayZGame.c:3942
const float MIN_FISHING_TIME
Определения FishingRod_Base.c:86
const int FISH_AGILITY
Определения FishingRod_Base.c:89
ref Timer m_CyclerCatching
Определения FishingRod_Base.c:93
bool m_IsFishPulling
Определения FishingRod_Base.c:98
float m_Pull
Определения FishingRod_Base.c:95
int m_FishingTime
Определения FishingRod_Base.c:101
const float MAX_FISHING_TIME
Определения FishingRod_Base.c:87
int m_FishProximity
Определения FishingRod_Base.c:91
int m_ChanceRange
Определения FishingRod_Base.c:103
ref Timer m_Cycler
Определения FishingRod_Base.c:94
const float INIT_LINE_STRETCH
Определения FishingRod_Base.c:85
Определения EnMath.c:7
Определения PlayerBaseClient.c:2
Определения DayZPlayerImplement.c:39
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].

Перекрестные ссылки FISH_AGILITY, g_Game, INIT_LINE_STRETCH, m_ChanceRange, m_Cycler, m_CyclerCatching, m_FishingTime, m_FishProximity, m_IsFishPulling, m_Pull, MAX_FISHING_TIME, MIN_FISHING_TIME и Math::RandomInt().