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

◆ Init()

override void Init ( )
protected

См. определение в файле 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

Перекрестные ссылки g_Game, InputUtils::GetRichtextButtonIconFromInputAction(), InputUtils::ICON_SCALE_TOOLBAR, m_btnLeave, m_HintPanel, m_txtNote и m_txtPosition.

Используется в CatchingContextBase(), ClockBase(), DayZPlayerImplementMeleeCombat(), DayZPlayerMeleeFightLogic_LightHeavy(), ExplosivesBase(), FireworksBase(), Init(), 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().