class MainMenuDlcHandlerBaseSource
MainMenuDlcHandlerBase › ScriptedWidgetEventHandler › Managed
All members, including inherited
base class for promo implementation
Constructors 2
void MainMenuDlcHandlerBase(ModInfo info, Widget parent, JsonDataDLCInfo DlcInfo)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_ColorBackgroundOriginalprotected Widget m_RootReferenced by CreateRootWidget(), Init(), IsInfoPanelVisible()
Show 5 more
, MainMenuDlcHandlerBase(), OnMouseEnter(), OnMouseLeave(), SetPlatformSpecifics(), and ShowInfoPanel()protected Widget m_Backgroundprotected Widget m_StoreButtonprotected Widget m_GamepadStoreImageprotected ImageWidget m_DlcPromotionImageReferenced by Init()
protected TextWidget m_TitleTextDlcprotected MultilineTextWidget m_DescriptionTextDlcprotected VideoWidget m_VideoWidgetReferenced by Init(), LoadVideoFile(), PauseVideo()
Show 3 more
, StartVideo(), StopVideo(), and UnloadVideo()protected ref ModInfo m_ThisModInfoprotected ref JsonDataDLCInfo m_DlcInfoprotected ref BannerHandlerBase m_BannerHandlerMethods 23
void Init()References new BannerHandlerBase(), Class.Cast(), Class.Cast()
Show 19 more
, Class.Cast(), Class.Cast(), Widget.FindAnyWidget(), Widget.GetColor(), MultilineTextWidget.SetLineBreakingOverride(), SetPlatformSpecifics(), Widget.Show(), Widget.Show(), UpdateAllPromotionInfo(), m_Background, m_BannerFrame, m_BannerHandler, m_ColorBackgroundOriginal, m_DescriptionTextDlc, m_DlcPromotionImage, m_Root, m_StoreButton, m_TitleTextDlc, and m_VideoWidgetReferenced by MainMenuDlcHandlerBase()
void CreateRootWidget(Widget parent)Referenced by MainMenuDlcHandlerBase()
void ShowInfoPanel(bool show)bool IsInfoPanelVisible()bool LoadVideoFile()returns 'true' when video is loaded
References VideoWidget.GetState(), VideoWidget.Load(), m_DlcInfo
Show 2 more
, m_VideoWidget, and JsonDataDLCInfo.VideoFileNameReferenced by StartVideo()
void StartVideo()void StopVideo()void PauseVideo()void UnloadVideo()protected void UpdateOwnedStatus()protected void OnDLCChange()References UpdateOwnedStatus()
protected void SetPlatformSpecifics()References Class.Cast(), Widget.FindAnyWidget(), Widget.FindAnyWidget()
Show 4 more
, TextWidget.SetText(), m_GamepadStoreImage, m_Root, and m_StoreButtonReferenced by Init()
void UpdateAllPromotionInfo()Referenced by MainMenu.Refresh(), MainMenuConsole.Refresh(), Init()
Show 1 more
, OnPanelVisibilityChanged()protected void UpdateDlcData()References TextWidget.SetText(), TextWidget.SetText(), JsonDataDLCInfo.DescriptionText
Show 4 more
, JsonDataDLCInfo.HeaderText, m_DescriptionTextDlc, m_DlcInfo, and m_TitleTextDlcReferenced by UpdateAllPromotionInfo()
protected void UpdateIconVisibility()References Input.GetCurrentInputDevice(), CGame.GetInput(), Input.IsEnabledMouseAndKeyboard()
Show 2 more
, Widget.Show(), and m_GamepadStoreImageprotected void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)References UpdateIconVisibility()