DayZ 1.29
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)

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

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

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

128 {
129 layoutRoot = g_Game.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 bool showToolbar = !g_Game.GetInput().IsEnabledMouseAndKeyboardEvenOnServer() || g_Game.GetInput().GetCurrentInputDevice() == EInputDeviceType.CONTROLLER;
139 layoutRoot.FindAnyWidget("toolbar_bg").Show(showToolbar);
140 RichTextWidget toolbar_b = RichTextWidget.Cast(layoutRoot.FindAnyWidget("BackIcon"));
141 toolbar_b.SetText(InputUtils.GetRichtextButtonIconFromInputAction("UAUIBack", "", EUAINPUT_DEVICE_CONTROLLER, InputUtils.ICON_SCALE_TOOLBAR));
142 #ifdef PLATFORM_XBOX
143 #ifdef BUILD_EXPERIMENTAL
144 layoutRoot.FindAnyWidget("notification_root").Show(true);
145 #endif
146 #endif
147 #endif
148
149 return layoutRoot;
150 }
ref UiHintPanelLoading m_HintPanel
Определения DayZGame.c:708
DayZGame g_Game
Определения DayZGame.c:3942
ButtonWidget m_btnLeave
Определения DayZGame.c:114
class LoginScreenBase extends UIScriptedMenu m_txtPosition
TextWidget m_txtNote
Определения DayZGame.c:113
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
EInputDeviceType
Определения input.c:3