8 static int m_ForcedIndex = -1;
13 protected string m_RootPath =
"Gui/layouts/new_ui/hints/in_game_hints.layout";
14 protected const string m_DataPath =
"scripts/data/hints.json";
37 DayZGame game = DayZGame.Cast(
GetGame());
51 void Init(DayZGame game)
79 ErrorEx(
"Could not create the hint panel. The data are missing!");
173 #ifdef DIAG_DEVELOPER
176 if (m_ForcedIndex != -1)
185 Math.RandomFloat01();
252 override bool OnClick(Widget w,
int x,
int y,
int button)
295 override void Init(DayZGame game)
297 m_RootPath =
"Gui/layouts/new_ui/hints/in_game_hints_load.layout";
void RandomizePageIndex()
ImageWidget m_UiHintImage
ButtonWidget m_UiRightButton
void SetHintDescription()
ref array< ref HintPage > m_ContentList
override bool OnMouseEnter(Widget w, int x, int y)
RichTextWidget m_UiDescLabel
void BuildLayout(Widget parent_widget)
TextWidget m_UiHeadlineLabel
TextWidget m_UiPageingLabel
void UiHintPanel(Widget parent_widget)
ButtonWidget m_UiLeftButton
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
int m_PreviousRandomIndex
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
override bool OnClick(Widget w, int x, int y, int button)
buttons clicks
proto native CGame GetGame()