DIFF

class MainMenuDlcHandlerBaseSource

MainMenuDlcHandlerBase ScriptedWidgetEventHandler Managed

All members, including inherited

base class for promo implementation

Constructors 2

void ~MainMenuDlcHandlerBase()

Constants 2

protected const string TEXT_OWNED = "#layout_dlc_owned"
Referenced by UpdateOwnedStatus()
protected const string TEXT_UNOWNED = "#layout_dlc_unowned"
Referenced by UpdateOwnedStatus()

Members 13

protected int m_ColorBackgroundOriginal
Referenced by ColorUnfocussed(), and Init()
protected Widget m_BannerFrame
Referenced by Init()
protected Widget m_Background
protected Widget m_StoreButton
Referenced by Init(), OnMouseEnter(), OnMouseLeave()
Show 1 more, SetPlatformSpecifics()
protected Widget m_GamepadStoreImage
protected ImageWidget m_DlcPromotionImage
Referenced by Init()
protected TextWidget m_TitleTextDlc
Referenced by Init(), and UpdateDlcData()
protected MultilineTextWidget m_DescriptionTextDlc
Referenced by Init(), and UpdateDlcData()
protected VideoWidget m_VideoWidget
Referenced by Init(), LoadVideoFile(), PauseVideo()
Show 3 more, StartVideo(), StopVideo(), and UnloadVideo()
protected ref ModInfo m_ThisModInfo
protected ref JsonDataDLCInfo m_DlcInfo
protected ref BannerHandlerBase m_BannerHandler
Referenced by Init(), and UpdateOwnedStatus()

Methods 23

void CreateRootWidget(Widget parent)
bool IsInfoPanelVisible()
References Widget.IsVisible(), and m_Root
void OnPanelVisibilityChanged()
Referenced by ShowInfoPanel()
override bool OnClick(Widget w, int x, int y, int button)
bool LoadVideoFile()

returns 'true' when video is loaded

Referenced by StartVideo()
void StartVideo()
void StopVideo()
void PauseVideo()
void UnloadVideo()
protected void ColorFocussed(Widget w, int x, int y)
protected void ColorUnfocussed(Widget w, Widget enterW, int x, int y)
protected void OnDLCChange()
protected void SetPlatformSpecifics()
Referenced by Init()
void UpdateAllPromotionInfo()
protected void UpdateIconVisibility()
protected void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)
ModInfo GetModInfo()
References m_ThisModInfo
override bool OnMouseEnter(Widget w, int x, int y)
References ARGB(), Widget.FindAnyWidget(), Widget.SetColor()
Show 2 more, m_Root, and m_StoreButton
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
References ARGB(), Widget.FindAnyWidget(), Widget.SetColor()
Show 2 more, m_Root, and m_StoreButton