DIFF

class UiHintPanelSourceSource

UiHintPanelLoading UiHintPanel ScriptedWidgetEventHandler Managed

All members, including inherited

Constructors 2

void UiHintPanel(Widget parent_widget)
Referenced by InGameMenu.Init()
void ~UiHintPanel()

Constants 1

protected const string m_DataPath = "scripts/data/hints.json"

Json path

Referenced by LoadContentList()

Members 17

protected int m_SlideShowDelay = 25000

The speed of the slideshow

Referenced by StartSlideshow()
protected string m_RootPath = "Gui/layouts/new_ui/hints/in_game_hints.layout"

Layout path

protected Widget m_RootFrame
protected Widget m_SpacerFrame
protected ButtonWidget m_UiLeftButton
Referenced by BuildLayout(), OnClick(), OnMouseEnter()
Show 1 more, OnMouseLeave()
protected ButtonWidget m_UiRightButton
Referenced by BuildLayout(), OnClick(), OnMouseEnter()
Show 1 more, OnMouseLeave()
protected RichTextWidget m_UiDescLabel
protected TextWidget m_UiHeadlineLabel
Referenced by BuildLayout(), and SetHintHeadline()
protected ImageWidget m_UiHintImage
Referenced by BuildLayout(), and SetHintImage()
protected TextWidget m_UiPageingLabel
Referenced by BuildLayout(), and SetHintPaging()
protected int m_PageIndex = int.MIN
protected DayZGame m_Game
Referenced by BuildLayout(), Init(), RandomizePageIndex()
Show 2 more, StartSlideshow(), and StopSlideShow()
protected bool m_Initialized
Referenced by Init()
protected Widget m_ParentWidget
Referenced by Init(), and UiHintPanel()
protected int m_PreviousRandomIndex = int.MIN
Referenced by RandomizePageIndex()

Methods 19

protected void LoadContentList()
References ErrorEx(), LoadFile(), m_ContentList
Show 1 more, m_DataPath
Referenced by Init()
protected void PopulateLayout()
Referenced by Init(), ShowNextPage(), ShowPreviousPage()
Show 1 more, ShowRandomPage()
protected void SetHintHeadline()
Referenced by PopulateLayout()
protected void SetHintDescription()
Referenced by PopulateLayout()
protected void SetHintImage()
Referenced by PopulateLayout()
protected void SetHintPaging()
Referenced by PopulateLayout()
void ShowRandomPage()
protected void ShowNextPage()
References array.Count(), PopulateLayout(), m_ContentList
Show 1 more, m_PageIndex
Referenced by OnClick(), and SlideshowThread()
protected void ShowPreviousPage()
References array.Count(), PopulateLayout(), m_ContentList
Show 1 more, m_PageIndex
Referenced by OnClick()
protected void StartSlideshow()
Referenced by Init(), and RestartSlideShow()
protected void SlideshowThread()
References ShowNextPage()
protected void StopSlideShow()
protected void RestartSlideShow()
Referenced by OnMouseLeave()
override bool OnClick(Widget w, int x, int y, int button)
override bool OnMouseEnter(Widget w, int x, int y)
References StopSlideShow(), m_RootPath, m_UiLeftButton
Show 1 more, m_UiRightButton
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
References RestartSlideShow(), m_RootPath, m_UiLeftButton
Show 1 more, m_UiRightButton