Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_SaveDialogUIComponent Interface Reference

Base dialog class for save and load dialogs handling Fill data, display list, select entries, load, delete. More...

Inheritance diagram for SCR_SaveDialogUIComponent:
[legend]

Public Member Functions

override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Protected Member Functions

void OnClose (SCR_InputButtonComponent button, string actionName)
 
void OnConfirm (SCR_InputButtonComponent button, string actionName)
 
void OnConfirmPrompt ()
 
void OnDelete (SCR_InputButtonComponent button, string actionName)
 Callback on clicking delete button or actoin.
 
void OnDeletePrompt ()
 
void CloseMenu ()
 
void SaveEntry ()
 
void LoadEntry ()
 
void OnLoadEntryUploadResponse (SCR_BackendCallback callback)
 
void SelectEntry (Widget w, string fileName)
 
void UpdateButtons ()
 
void OnFrame ()
 
void DisplaySaveEntries ()
 
string EntryName (string fileName)
 
SCR_MetaStruct EntryMeta (string fileName)
 
SCR_UIInfo EntryUIInfo (string fileName)
 
int FileCount (array< string > fileNames)
 
void OnEntryFocus (SCR_ModularButtonComponent button)
 
void OnEntryDoubleClick (SCR_ModularButtonComponent button)
 

Protected Attributes

bool m_bIsLoad
 
ESaveType m_eReadSaveTypes
 
ESaveType m_eWriteSaveType
 
bool m_bCurrentMissionOnly
 
string m_sScrollWidgetName
 
string m_sListWidgetName
 
string m_sNameInputWidgetName
 
string m_sCloseButtonWidgetName
 
string m_sDeleteButtonWidgetName
 
string m_sOverrideButtonWidgetName
 
string m_sConfirmButtonWidgetName
 
string m_sConfirmPromptWidgetName
 
string m_sDeletePromptWidgetName
 
string m_sLoadBadVersionPromptWidgetName
 
string m_sLoadBadAddonsPromptWidgetName
 
string m_sEntryNameWidgetName
 
string m_sEntryMeta
 
string m_sEntryDateWidgetName
 
string m_sEntryTimeWidgetName
 
string m_sEntryMissionNameWidgetName
 
string m_sEntryVersionWidgetName
 
string m_sEntryImageWidgetName
 
string m_sEntryIconWidgetName
 
bool m_bVerboseDate
 
ResourceName m_sCreateLayout
 
ResourceName m_sEntryLayout
 
string m_sConfirmPrompt
 
string m_sDeletePrompt
 
string m_sLoadBadVersionPrompt
 
string m_sLoadBadAddonsPrompt
 
ScrollLayoutWidget m_wScroll
 
Widget m_wList
 
Widget m_wLastFocusedEntry
 
SCR_InputButtonComponent m_DeleteButton
 
SCR_InputButtonComponent m_OverrideButton
 
SCR_InputButtonComponent m_ConfirmButton
 
SCR_EditBoxComponent m_SaveNameInput
 
SCR_ConfigurableDialogUi m_ConfirmPrompt
 
SCR_ConfigurableDialogUi m_DeletePrompt
 
SCR_ConfigurableDialogUi m_LoadBadVersionPrompt
 
SCR_ConfigurableDialogUi m_LoadBadAddonsPrompt
 
SCR_LoadingOverlayDialog m_LoadingOverlay
 
float m_fSliderPosY = -1
 
Widget m_wSelectedWidget
 
string m_sSelectedFileName
 
ref map< Widget, string > m_mEntries = new map<Widget, string>()
 
ref map< string, string > m_mEntryNames = new map<string, string>()
 
ref array< Widget > m_aEntriesHidden = {}
 
ref array< Widget > m_aEntriesToShow = {}
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_ScriptedWidgetComponent
static SCR_ScriptedWidgetComponent GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true)
 Base method for component lookup through the widget library.
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Detailed Description

Base dialog class for save and load dialogs handling Fill data, display list, select entries, load, delete.

Member Function Documentation

◆ CloseMenu()

void SCR_SaveDialogUIComponent.CloseMenu ( )
protected

◆ DisplaySaveEntries()

void SCR_SaveDialogUIComponent.DisplaySaveEntries ( )
protected

◆ EntryMeta()

SCR_MetaStruct SCR_SaveDialogUIComponent.EntryMeta ( string  fileName)
protected

◆ EntryName()

string SCR_SaveDialogUIComponent.EntryName ( string  fileName)
protected

◆ EntryUIInfo()

SCR_UIInfo SCR_SaveDialogUIComponent.EntryUIInfo ( string  fileName)
protected

◆ FileCount()

int SCR_SaveDialogUIComponent.FileCount ( array< string >  fileNames)
protected

◆ HandlerAttached()

override void SCR_SaveDialogUIComponent.HandlerAttached ( Widget  w)

◆ HandlerDeattached()

override void SCR_SaveDialogUIComponent.HandlerDeattached ( Widget  w)

◆ LoadEntry()

void SCR_SaveDialogUIComponent.LoadEntry ( )
protected

◆ OnClose()

void SCR_SaveDialogUIComponent.OnClose ( SCR_InputButtonComponent  button,
string  actionName 
)
protected

◆ OnConfirm()

void SCR_SaveDialogUIComponent.OnConfirm ( SCR_InputButtonComponent  button,
string  actionName 
)
protected

◆ OnConfirmPrompt()

void SCR_SaveDialogUIComponent.OnConfirmPrompt ( )
protected

◆ OnDelete()

void SCR_SaveDialogUIComponent.OnDelete ( SCR_InputButtonComponent  button,
string  actionName 
)
protected

Callback on clicking delete button or actoin.

◆ OnDeletePrompt()

void SCR_SaveDialogUIComponent.OnDeletePrompt ( )
protected

◆ OnEntryDoubleClick()

void SCR_SaveDialogUIComponent.OnEntryDoubleClick ( SCR_ModularButtonComponent  button)
protected

◆ OnEntryFocus()

void SCR_SaveDialogUIComponent.OnEntryFocus ( SCR_ModularButtonComponent  button)
protected

◆ OnFrame()

void SCR_SaveDialogUIComponent.OnFrame ( )
protected

◆ OnLoadEntryUploadResponse()

void SCR_SaveDialogUIComponent.OnLoadEntryUploadResponse ( SCR_BackendCallback  callback)
protected

◆ SaveEntry()

void SCR_SaveDialogUIComponent.SaveEntry ( )
protected

◆ SelectEntry()

void SCR_SaveDialogUIComponent.SelectEntry ( Widget  w,
string  fileName 
)
protected

◆ UpdateButtons()

void SCR_SaveDialogUIComponent.UpdateButtons ( )
protected

Member Data Documentation

◆ m_aEntriesHidden

ref array<Widget> SCR_SaveDialogUIComponent.m_aEntriesHidden = {}
protected

◆ m_aEntriesToShow

ref array<Widget> SCR_SaveDialogUIComponent.m_aEntriesToShow = {}
protected

◆ m_bCurrentMissionOnly

bool SCR_SaveDialogUIComponent.m_bCurrentMissionOnly
protected

◆ m_bIsLoad

bool SCR_SaveDialogUIComponent.m_bIsLoad
protected

◆ m_bVerboseDate

bool SCR_SaveDialogUIComponent.m_bVerboseDate
protected

◆ m_ConfirmButton

SCR_InputButtonComponent SCR_SaveDialogUIComponent.m_ConfirmButton
protected

◆ m_ConfirmPrompt

SCR_ConfigurableDialogUi SCR_SaveDialogUIComponent.m_ConfirmPrompt
protected

◆ m_DeleteButton

SCR_InputButtonComponent SCR_SaveDialogUIComponent.m_DeleteButton
protected

◆ m_DeletePrompt

SCR_ConfigurableDialogUi SCR_SaveDialogUIComponent.m_DeletePrompt
protected

◆ m_eReadSaveTypes

ESaveType SCR_SaveDialogUIComponent.m_eReadSaveTypes
protected

◆ m_eWriteSaveType

ESaveType SCR_SaveDialogUIComponent.m_eWriteSaveType
protected

◆ m_fSliderPosY

float SCR_SaveDialogUIComponent.m_fSliderPosY = -1
protected

◆ m_LoadBadAddonsPrompt

SCR_ConfigurableDialogUi SCR_SaveDialogUIComponent.m_LoadBadAddonsPrompt
protected

◆ m_LoadBadVersionPrompt

SCR_ConfigurableDialogUi SCR_SaveDialogUIComponent.m_LoadBadVersionPrompt
protected

◆ m_LoadingOverlay

SCR_LoadingOverlayDialog SCR_SaveDialogUIComponent.m_LoadingOverlay
protected

◆ m_mEntries

ref map<Widget, string> SCR_SaveDialogUIComponent.m_mEntries = new map<Widget, string>()
protected

◆ m_mEntryNames

ref map<string, string> SCR_SaveDialogUIComponent.m_mEntryNames = new map<string, string>()
protected

◆ m_OverrideButton

SCR_InputButtonComponent SCR_SaveDialogUIComponent.m_OverrideButton
protected

◆ m_SaveNameInput

SCR_EditBoxComponent SCR_SaveDialogUIComponent.m_SaveNameInput
protected

◆ m_sCloseButtonWidgetName

string SCR_SaveDialogUIComponent.m_sCloseButtonWidgetName
protected

◆ m_sConfirmButtonWidgetName

string SCR_SaveDialogUIComponent.m_sConfirmButtonWidgetName
protected

◆ m_sConfirmPrompt

string SCR_SaveDialogUIComponent.m_sConfirmPrompt
protected

◆ m_sConfirmPromptWidgetName

string SCR_SaveDialogUIComponent.m_sConfirmPromptWidgetName
protected

◆ m_sCreateLayout

ResourceName SCR_SaveDialogUIComponent.m_sCreateLayout
protected

◆ m_sDeleteButtonWidgetName

string SCR_SaveDialogUIComponent.m_sDeleteButtonWidgetName
protected

◆ m_sDeletePrompt

string SCR_SaveDialogUIComponent.m_sDeletePrompt
protected

◆ m_sDeletePromptWidgetName

string SCR_SaveDialogUIComponent.m_sDeletePromptWidgetName
protected

◆ m_sEntryDateWidgetName

string SCR_SaveDialogUIComponent.m_sEntryDateWidgetName
protected

◆ m_sEntryIconWidgetName

string SCR_SaveDialogUIComponent.m_sEntryIconWidgetName
protected

◆ m_sEntryImageWidgetName

string SCR_SaveDialogUIComponent.m_sEntryImageWidgetName
protected

◆ m_sEntryLayout

ResourceName SCR_SaveDialogUIComponent.m_sEntryLayout
protected

◆ m_sEntryMeta

string SCR_SaveDialogUIComponent.m_sEntryMeta
protected

◆ m_sEntryMissionNameWidgetName

string SCR_SaveDialogUIComponent.m_sEntryMissionNameWidgetName
protected

◆ m_sEntryNameWidgetName

string SCR_SaveDialogUIComponent.m_sEntryNameWidgetName
protected

◆ m_sEntryTimeWidgetName

string SCR_SaveDialogUIComponent.m_sEntryTimeWidgetName
protected

◆ m_sEntryVersionWidgetName

string SCR_SaveDialogUIComponent.m_sEntryVersionWidgetName
protected

◆ m_sListWidgetName

string SCR_SaveDialogUIComponent.m_sListWidgetName
protected

◆ m_sLoadBadAddonsPrompt

string SCR_SaveDialogUIComponent.m_sLoadBadAddonsPrompt
protected

◆ m_sLoadBadAddonsPromptWidgetName

string SCR_SaveDialogUIComponent.m_sLoadBadAddonsPromptWidgetName
protected

◆ m_sLoadBadVersionPrompt

string SCR_SaveDialogUIComponent.m_sLoadBadVersionPrompt
protected

◆ m_sLoadBadVersionPromptWidgetName

string SCR_SaveDialogUIComponent.m_sLoadBadVersionPromptWidgetName
protected

◆ m_sNameInputWidgetName

string SCR_SaveDialogUIComponent.m_sNameInputWidgetName
protected

◆ m_sOverrideButtonWidgetName

string SCR_SaveDialogUIComponent.m_sOverrideButtonWidgetName
protected

◆ m_sScrollWidgetName

string SCR_SaveDialogUIComponent.m_sScrollWidgetName
protected

◆ m_sSelectedFileName

string SCR_SaveDialogUIComponent.m_sSelectedFileName
protected

◆ m_wLastFocusedEntry

Widget SCR_SaveDialogUIComponent.m_wLastFocusedEntry
protected

◆ m_wList

Widget SCR_SaveDialogUIComponent.m_wList
protected

◆ m_wScroll

ScrollLayoutWidget SCR_SaveDialogUIComponent.m_wScroll
protected

◆ m_wSelectedWidget

Widget SCR_SaveDialogUIComponent.m_wSelectedWidget
protected

The documentation for this interface was generated from the following file: