◆ BindButtonCancel()
Allows to register a custom button to call OnCancel (i.e. one not in the conf files but placed by hand in the layout)
Cache
◆ BindButtonConfirm()
Allows to register a custom button to call OnConfirm (i.e. one not in the conf files but placed by hand in the layout)
Cache
◆ BindButtonGeneric()
Allows to register a custom button to call OnButtonPressed (i.e. one not in the conf files but placed by hand in the layout). An empty tag will result in the widget's name being used instead.
Cache
◆ Close()
| void SCR_ConfigurableDialogUi.Close |
( |
| ) |
|
◆ CreateButton()
◆ CreateByPreset()
◆ CreateFromPreset()
Creates a dialog from preset.
◆ FindButton()
Returns a button with given tag.
◆ GetButtonTag()
◆ GetContentLayoutRoot()
| Widget SCR_ConfigurableDialogUi.GetContentLayoutRoot |
( |
| ) |
|
Returns the root of the content layout.
◆ GetContentWidget()
| static Widget SCR_ConfigurableDialogUi.GetContentWidget |
( |
Widget | baseWidget | ) |
|
|
staticprotected |
Returns the container in which to place the content layout. Container must be called ContentLayoutContainer.
◆ GetCurrentDialog()
◆ GetCurrentDialogTag()
| static string SCR_ConfigurableDialogUi.GetCurrentDialogTag |
( |
| ) |
|
|
static |
◆ GetDialogBaseOverlay()
| OverlayWidget SCR_ConfigurableDialogUi.GetDialogBaseOverlay |
( |
| ) |
|
◆ GetDialogPreset()
◆ GetMessageStr()
| string SCR_ConfigurableDialogUi.GetMessageStr |
( |
| ) |
|
◆ GetMessageWidget()
| TextWidget SCR_ConfigurableDialogUi.GetMessageWidget |
( |
| ) |
|
◆ GetRootWidget()
| Widget SCR_ConfigurableDialogUi.GetRootWidget |
( |
| ) |
|
◆ Init()
◆ InitAttributedVariables()
| void SCR_ConfigurableDialogUi.InitAttributedVariables |
( |
| ) |
|
|
protected |
Verifies that all attributed variables are set up.
When we create this object with 'new' keyword, the game doesn't assign default values to attributed variables.
◆ InitWidgets()
| void SCR_ConfigurableDialogUi.InitWidgets |
( |
| ) |
|
|
protected |
◆ Internal_Close()
| void SCR_ConfigurableDialogUi.Internal_Close |
( |
| ) |
|
|
protected |
◆ IsPresetValid()
| static bool SCR_ConfigurableDialogUi.IsPresetValid |
( |
ResourceName | presetsResourceName, |
|
|
string | tag ) |
|
static |
◆ OnButtonPressed()
◆ OnCancel()
| void SCR_ConfigurableDialogUi.OnCancel |
( |
| ) |
|
|
protected |
◆ OnConfirm()
| void SCR_ConfigurableDialogUi.OnConfirm |
( |
| ) |
|
|
protected |
Implemented in MultiplayerDialogUI, SCR_CancelDownloadConfirmationDialog, SCR_CancelMyReportDialog, SCR_CreateNewSaveDialog, SCR_DeleteAddonDependentAddonsDetected, SCR_DeleteAddonDialog, SCR_DeleteAddonsListDialog, SCR_DisableDependentAddonsDialog, SCR_DownloadConfirmationDialog, SCR_EditorSaveDialog, SCR_ExitGameDialog, SCR_ExitGameWhileDownloadingDialog, SCR_FeedbackDialogUI, SCR_HostScenarioWhileDownloadingDialog, SCR_Login2FADialogUI, SCR_LoginDialogUI, SCR_LoginProcessDialogUI, SCR_MANW_BannerDialog, SCR_NewSessionDialog, SCR_PlayerProfileDialogUI, SCR_PublishSaveDialog, SCR_ReportedAddonsDialog, SCR_RewindDialog, SCR_ServerFullDialog, SCR_StartScenarioWhileDownloadingDialog, and SCR_WorkshopDialogCopyToClipboard.
◆ OnMenuClose()
| void SCR_ConfigurableDialogUi.OnMenuClose |
( |
| ) |
|
Implemented in AddonsToolsUI, SCR_AccountLockedDialogUi, SCR_BlockedUsersDialogUI, SCR_DownloadManager_Dialog, SCR_Login2FADialogUI, SCR_LoginProcessDialogUI, SCR_ModDetailsAdditionalInfoDialog, SCR_ScenarioConfirmationDialogUi, SCR_ServerFullDialog, SCR_ServicesStatusDialogUI, SCR_SimpleKeybindDialogUI, SCR_TabDialog, and SCR_ValidateRepair_Dialog.
◆ OnMenuFocusGained()
| void SCR_ConfigurableDialogUi.OnMenuFocusGained |
( |
| ) |
|
◆ OnMenuFocusLost()
| void SCR_ConfigurableDialogUi.OnMenuFocusLost |
( |
| ) |
|
◆ OnMenuHide()
| void SCR_ConfigurableDialogUi.OnMenuHide |
( |
| ) |
|
◆ OnMenuOpen()
Called last of all, after all the initialization of main element done.
Here you can perform custom initialization.
Implemented in AddonsToolsUI, MultiplayerDialogUI, SCR_AccountLockedDialogUi, SCR_AddonListDialog, SCR_AdvancedKeybindDialogUI, SCR_BannedAddonsDetectedDialog, SCR_BlockedUsersDialogUI, SCR_CancelDownloadConfirmationDialog, SCR_CancelMyReportDialog, SCR_DownloadConfirmationDialog, SCR_DownloadFailDialog, SCR_DownloadManager_Dialog, SCR_EditboxDialogUi, SCR_FeedbackDialogUI, SCR_GMSaveDialog, SCR_Login2FADialogUI, SCR_LoginDialogConsoleUI, SCR_LoginDialogUI, SCR_LoginProcessDialogUI, SCR_MANW_BannerDialog, SCR_ModDetailsAdditionalInfoDialog, SCR_MotionControlCalibrationPromptDialog, SCR_ReportedAddonsDialog, SCR_ReportPlayerDialog, SCR_ScenarioConfirmationDialogUi, SCR_ServerDetailsDialog, SCR_ServerFullDialog, SCR_ServerJoinDownloadsConfirmationDialog, SCR_ServicesStatusDialogUI, SCR_SimpleEntryListDialog, SCR_SimpleKeybindDialogUI, SCR_TabDialog, SCR_ValidateRepair_Dialog, and ServerHostingUI.
◆ OnMenuShow()
| void SCR_ConfigurableDialogUi.OnMenuShow |
( |
| ) |
|
◆ OnMenuUpdate()
| void SCR_ConfigurableDialogUi.OnMenuUpdate |
( |
float | tDelta | ) |
|
◆ SetIconColor()
| void SCR_ConfigurableDialogUi.SetIconColor |
( |
Color | color | ) |
|
Set title icons with custom image.
◆ SetMessage()
| void SCR_ConfigurableDialogUi.SetMessage |
( |
string | text | ) |
|
◆ SetMessageColor()
| void SCR_ConfigurableDialogUi.SetMessageColor |
( |
Color | color | ) |
|
◆ SetStyle()
| void SCR_ConfigurableDialogUi.SetStyle |
( |
EConfigurableDialogStyle | type | ) |
|
Sets colors based on style.
◆ SetTitle()
| void SCR_ConfigurableDialogUi.SetTitle |
( |
string | text | ) |
|
◆ SetTitleIcon()
| void SCR_ConfigurableDialogUi.SetTitleIcon |
( |
ResourceName | image, |
|
|
string | imageName ) |
Set title icons with custom image.
◆ BUTTON_CANCEL
| const string SCR_ConfigurableDialogUi.BUTTON_CANCEL = "cancel" |
|
static |
◆ BUTTON_CONFIRM
| const string SCR_ConfigurableDialogUi.BUTTON_CONFIRM = "confirm" |
|
static |
◆ m_aButtonComponents
◆ m_bIsClosing
| bool SCR_ConfigurableDialogUi.m_bIsClosing |
|
protected |
◆ m_CurrentDialog
◆ m_DialogPreset
◆ m_DynamicFooter
◆ m_fFadeInTime
| float SCR_ConfigurableDialogUi.m_fFadeInTime |
|
protected |
◆ m_OnButtonPressed
| ref ScriptInvoker SCR_ConfigurableDialogUi.m_OnButtonPressed = new ScriptInvoker() |
◆ m_OnCancel
| ref ScriptInvoker SCR_ConfigurableDialogUi.m_OnCancel = new ScriptInvoker() |
◆ m_OnClose
| ref ScriptInvoker SCR_ConfigurableDialogUi.m_OnClose = new ScriptInvoker() |
◆ m_OnCloseStart
| ref ScriptInvoker SCR_ConfigurableDialogUi.m_OnCloseStart = new ScriptInvoker() |
◆ m_OnConfirm
| ref ScriptInvoker SCR_ConfigurableDialogUi.m_OnConfirm = new ScriptInvoker() |
◆ m_ProxyMenu
| MenuBase SCR_ConfigurableDialogUi.m_ProxyMenu |
|
protected |
◆ m_sLastPressedButtonTag
| string SCR_ConfigurableDialogUi.m_sLastPressedButtonTag |
|
protected |
◆ m_sNavigationButtonLayout
| ResourceName SCR_ConfigurableDialogUi.m_sNavigationButtonLayout |
|
protected |
◆ m_sWidgetNameButtonsCenter
| string SCR_ConfigurableDialogUi.m_sWidgetNameButtonsCenter |
|
protected |
◆ m_sWidgetNameButtonsLeft
| string SCR_ConfigurableDialogUi.m_sWidgetNameButtonsLeft |
|
protected |
◆ m_sWidgetNameButtonsRight
| string SCR_ConfigurableDialogUi.m_sWidgetNameButtonsRight |
|
protected |
◆ m_wContentVerticalLayout
| VerticalLayoutWidget SCR_ConfigurableDialogUi.m_wContentVerticalLayout |
|
protected |
◆ m_wDialogBase
| OverlayWidget SCR_ConfigurableDialogUi.m_wDialogBase |
|
protected |
◆ m_wImgTitleIcon
| ImageWidget SCR_ConfigurableDialogUi.m_wImgTitleIcon |
|
protected |
◆ m_wImgTopLine
| ImageWidget SCR_ConfigurableDialogUi.m_wImgTopLine |
|
protected |
◆ m_wMessage
| TextWidget SCR_ConfigurableDialogUi.m_wMessage |
|
protected |
◆ m_wRoot
| Widget SCR_ConfigurableDialogUi.m_wRoot |
|
protected |
◆ m_wTitle
| TextWidget SCR_ConfigurableDialogUi.m_wTitle |
|
protected |
◆ NAVIGATION_BUTTON_LAYOUT
| const ResourceName SCR_ConfigurableDialogUi.NAVIGATION_BUTTON_LAYOUT = "{87037226B1A2064B}UI/layouts/WidgetLibrary/Buttons/WLib_NavigationButtonSuperSmall.layout" |
|
static |
The documentation for this interface was generated from the following file:
- Game/UI/Menu/SCR_ConfigurableDialogUI.c