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

UI Component for handling edited save widget Can: Display currently edited save, show save state (changes), trigger upload. More...

Inheritance diagram for SCR_EditedSaveUIComponent:
[legend]

Public Member Functions

override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
void ClearEditedSave ()
 
SCR_ModularButtonComponent GetUploadButton ()
 
- 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 OnTooltipShow (SCR_ScriptedWidgetTooltip tooltip)
 
void OnEditedSaveChange (string fileName)
 Reaction to changing of current editing save - name should be changed accordingly.
 
void UpdatePublishButtonState ()
 Setup current tooltip based on current save state.
 
void OnUploadButtonClick (SCR_ModularButtonComponent button)
 
void OnLoginSuccess (SCR_BackendCallback callback)
 

Protected Attributes

TextWidget m_wName
 
ImageWidget m_wSaveBackground
 
ButtonWidget m_wUploadButton
 
SCR_ModularButtonComponent m_UploadButton
 
SCR_DynamicIconComponent m_UploadButtonIcon
 
bool m_bCanUpload
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Static Protected Attributes

const string WIDGET_NAME = "m_Name"
 
const string WIDGET_UPLOAD_BTN = "m_UploadButton"
 
const string WIDGET_SAVE_BACKGROUND = "m_IconBackground"
 
const string TOOLTIP_PUBLISH = "#AR-Editor_SaveLoad_TooltipPublish"
 
const string TOOLTIP_PUBLISH_EMPTY = "#AR-Editor_SaveLoad_TooltipMissingSave"
 
const string TOOLTIP_PUBLISH_DISABLED_DOWNLOADED = "#AR-Editor_SaveLoad_TooltipDownloadedPublish"
 
const string DEFAULT_NAME = "#AR-Editor_SaveLoad_NewSaveFallback"
 

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

UI Component for handling edited save widget Can: Display currently edited save, show save state (changes), trigger upload.

Member Function Documentation

◆ ClearEditedSave()

void SCR_EditedSaveUIComponent.ClearEditedSave ( )

◆ GetUploadButton()

SCR_ModularButtonComponent SCR_EditedSaveUIComponent.GetUploadButton ( )

◆ HandlerAttached()

override void SCR_EditedSaveUIComponent.HandlerAttached ( Widget  w)

◆ HandlerDeattached()

override void SCR_EditedSaveUIComponent.HandlerDeattached ( Widget  w)

◆ OnEditedSaveChange()

void SCR_EditedSaveUIComponent.OnEditedSaveChange ( string  fileName)
protected

Reaction to changing of current editing save - name should be changed accordingly.

◆ OnLoginSuccess()

void SCR_EditedSaveUIComponent.OnLoginSuccess ( SCR_BackendCallback  callback)
protected

◆ OnTooltipShow()

void SCR_EditedSaveUIComponent.OnTooltipShow ( SCR_ScriptedWidgetTooltip  tooltip)
protected

◆ OnUploadButtonClick()

void SCR_EditedSaveUIComponent.OnUploadButtonClick ( SCR_ModularButtonComponent  button)
protected

◆ UpdatePublishButtonState()

void SCR_EditedSaveUIComponent.UpdatePublishButtonState ( )
protected

Setup current tooltip based on current save state.

Member Data Documentation

◆ DEFAULT_NAME

const string SCR_EditedSaveUIComponent.DEFAULT_NAME = "#AR-Editor_SaveLoad_NewSaveFallback"
staticprotected

◆ m_bCanUpload

bool SCR_EditedSaveUIComponent.m_bCanUpload
protected

◆ m_UploadButton

SCR_ModularButtonComponent SCR_EditedSaveUIComponent.m_UploadButton
protected

◆ m_UploadButtonIcon

SCR_DynamicIconComponent SCR_EditedSaveUIComponent.m_UploadButtonIcon
protected

◆ m_wName

TextWidget SCR_EditedSaveUIComponent.m_wName
protected

◆ m_wSaveBackground

ImageWidget SCR_EditedSaveUIComponent.m_wSaveBackground
protected

◆ m_wUploadButton

ButtonWidget SCR_EditedSaveUIComponent.m_wUploadButton
protected

◆ TOOLTIP_PUBLISH

const string SCR_EditedSaveUIComponent.TOOLTIP_PUBLISH = "#AR-Editor_SaveLoad_TooltipPublish"
staticprotected

◆ TOOLTIP_PUBLISH_DISABLED_DOWNLOADED

const string SCR_EditedSaveUIComponent.TOOLTIP_PUBLISH_DISABLED_DOWNLOADED = "#AR-Editor_SaveLoad_TooltipDownloadedPublish"
staticprotected

◆ TOOLTIP_PUBLISH_EMPTY

const string SCR_EditedSaveUIComponent.TOOLTIP_PUBLISH_EMPTY = "#AR-Editor_SaveLoad_TooltipMissingSave"
staticprotected

◆ WIDGET_NAME

const string SCR_EditedSaveUIComponent.WIDGET_NAME = "m_Name"
staticprotected

◆ WIDGET_SAVE_BACKGROUND

const string SCR_EditedSaveUIComponent.WIDGET_SAVE_BACKGROUND = "m_IconBackground"
staticprotected

◆ WIDGET_UPLOAD_BTN

const string SCR_EditedSaveUIComponent.WIDGET_UPLOAD_BTN = "m_UploadButton"
staticprotected

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