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

◆ Init()

void Init ( )
protected

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

pre-init arrays

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

128 {
129 layoutRoot = GetGame().GetWorkspace().CreateWidgets("gui/layouts/dialog_queue_position.layout");
130 m_HintPanel = new UiHintPanelLoading(layoutRoot.FindAnyWidget("hint_frame0"));
131 m_txtPosition = TextWidget.Cast(layoutRoot.FindAnyWidget("txtPosition"));
132 m_txtNote = TextWidget.Cast(layoutRoot.FindAnyWidget("txtNote"));
133 m_btnLeave = ButtonWidget.Cast(layoutRoot.FindAnyWidget("btnLeave"));
134 m_txtNote.Show(true);
135 layoutRoot.FindAnyWidget("notification_root").Show(false);
136
137 #ifdef PLATFORM_CONSOLE
138 layoutRoot.FindAnyWidget("toolbar_bg").Show(true);
139 RichTextWidget toolbar_b = RichTextWidget.Cast(layoutRoot.FindAnyWidget("BackIcon"));
140 toolbar_b.SetText(InputUtils.GetRichtextButtonIconFromInputAction("UAUIBack", "", EUAINPUT_DEVICE_CONTROLLER, InputUtils.ICON_SCALE_TOOLBAR));
141 #ifdef PLATFORM_XBOX
142 #ifdef BUILD_EXPERIMENTAL
143 layoutRoot.FindAnyWidget("notification_root").Show(true);
144 #endif
145 #endif
146 #endif
147
148 return layoutRoot;
149 }
ref UiHintPanelLoading m_HintPanel
Определения DayZGame.c:706
ButtonWidget m_btnLeave
Определения DayZGame.c:114
class LoginScreenBase extends UIScriptedMenu m_txtPosition
TextWidget m_txtNote
Определения DayZGame.c:113
proto native WorkspaceWidget GetWorkspace()
static string GetRichtextButtonIconFromInputAction(notnull UAInput pInput, string pLocalizedDescription, int pInputDeviceType=EUAINPUT_DEVICE_CONTROLLER, float pScale=ICON_SCALE_NORMAL, bool pVertical=false)
Определения InputUtils.c:167
static const float ICON_SCALE_TOOLBAR
Определения InputUtils.c:15
Определения InputUtils.c:2
Определения gameplay.c:317
Определения EnWidgets.c:220
proto native CGame GetGame()
proto native external Widget CreateWidgets(string layout, Widget parentWidget=NULL, bool immedUpdate=true)
Create widgets from *.layout file.

Перекрестные ссылки AddModifier(), AnalyticsRegisterStat(), CALL_CATEGORY_GUI, CALL_CATEGORY_SYSTEM, ScriptCallQueue::CallLater(), Class::CastTo(), WorkspaceWidget::CreateWidgets(), DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, DrawConnectingLines(), UIScriptedMenu::DrawConnectingLines(), FISH_AGILITY, CGame::GetCallQueue(), JsonMissionLoaderData::GetData(), GetGame(), CfgGameplayHandler::GetHoldBreathStaminaModifier(), GetName(), GetPlayer(), InputUtils::GetRichtextButtonIconFromInputAction(), CGame::GetUpdateQueue(), CGame::GetWorkspace(), hndDebugPrint(), InputUtils::ICON_SCALE_TOOLBAR, INDEX_NOT_FOUND, INIT_LINE_STRETCH, InitPPEManagerClassMap(), InitSpecificsExplosionEffectForSurface(), InjectDamageSystemValues(), ScriptInvoker::Insert(), IsCameraNV(), LogManager::IsInventoryHFSMLogEnable(), LateInit(), m_AdjustedTarget, m_AnalyticsStatsEnabled, m_AvailableSoundsets, m_Back, m_BaseValue, m_btnLeave, m_BurnTimePerFullFuelDose, m_BurnTimePerFullLard, m_BurnTimePerRag, m_ChanceRange, m_context_menu, m_Cooldown, m_CrossHairs, m_Cycler, m_CyclerCatching, m_DrainValvePressureDeanimationSettings, m_DrainValvePressureStageSettings, m_DrainValveWaterStageSettings, m_Duration, m_ExistingPostprocessRequests, m_Exponent, m_FillValvePressureDeanimationSettings, m_FillValvePressureStageSettings, m_FillValveWaterStageSettings, m_FishingTime, m_FishProximity, m_FSwapping, m_FSwappingInst, m_HintPanel, m_ID, m_Inventory, m_IsFishPulling, m_LastActiveValve, m_ManagerInitialized, m_MaxConsumableFuelQuantity, m_MaxConsumableLardQuantity, m_MethodMask, m_MissionData, m_MovingTo, m_Multiplier, m_Name, m_Notifiers, m_opticsUsed, m_PipeBrokenParticles, m_PipeSounds, m_Player, m_PlayingSounds, m_Pos, m_PPEMaterialUpdateQueueMap, m_pPlayer, m_PressureAnimationRequests, m_PressureDeanimationRequests, m_PressureTimesAccumulated, m_Pull, m_Root, m_SoundParamsMap, m_StartTimeAdjustment, m_Swapping, m_SyncID, m_tab_images, m_TabScript, m_Taking, m_TickIntervalActive, m_TickIntervalInactive, m_TrackActivatedTime, m_txtNote, m_txtPosition, m_TypeToSurfaceParticleIDMap, m_UpdatedMaterials, m_UpdatingRequests, m_ValveManipulatedIndex, m_ValveManipulatedIndexPrev, m_ValveNames, m_ValveParticles, m_ValveStates, m_WaterLevelActual, m_WaterLevelPrev, m_WaterLevelsAvailable, m_WaterLevelSnapshot, m_WaterLevelTimesAccumulated, m_WgtBtnMsnClose, m_WgtBtnMsnPlay, m_WgtLstMsnList, MAX_FISHING_TIME, MIN_FISHING_TIME, path, PIPES_BROKEN_COUNT, Math::RandomInt(), SetCameraNV(), SetCameraNVType(), GameConstants::STAMINA_DRAIN_HOLD_BREATH_DURATION, GameConstants::STAMINA_DRAIN_HOLD_BREATH_EXPONENT, GameConstants::STAMINA_DRAIN_HOLD_BREATH_START, GameConstants::STAMINA_REGEN_COOLDOWN_DEPLETION, TemperatureAccessTypeBase::TemperatureAccessTypeBase(), Update(), UpdateConstructionParts(), UpdatePlayerStatsValues(), VALVES_COUNT, WL_AVERAGE, WL_MAX, WL_MIN и YieldItemBase::YieldItemBase().

Используется в CatchingContextBase(), ClockBase(), DayZPlayerCameraBase(), DayZPlayerCameraBase::DayZPlayerCameraIronsights(), DayZPlayerImplementMeleeCombat(), DayZPlayerMeleeFightLogic_LightHeavy(), ExplosivesBase(), FireworksBase(), Land_Underground_WaterReservoir(), Link< Class T >::Link(), LiquidInfo::LiquidInfo(), LoginQueueBase::LoginQueueStatic(), LoginTimeBase::LoginTimeStatic(), ModifiersManager(), NotifiersManager(), ManBase::PlayerBase(), PlayerStats(), PPEClassBase::PPEClassBase(), RemotePlayerStatDebug(), UniversalTemperatureSourceDebug::UniversalTemperatureSource() и DayZInfected::ZombieBase().