Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_AddonsExportSubMenuComponent Interface Reference
Inheritance diagram for SCR_AddonsExportSubMenuComponent:
[legend]

Public Member Functions

override void HandlerAttached (Widget w)
 
override void OnTabShow ()
 
void GenerateJSONFormat ()
 Generate text for enbled addons in json format for server config.
 
void GenerateCLIFormat ()
 Generate text with list of enabled addons ids.
 
void CopyToClipboard ()
 Copy currently generated text to clipboard.
 
string GetGeneratedText ()
 
- Public Member Functions inherited from SCR_SubMenuBase
void OnMenuFocusGained ()
 
void OnMenuFocusLost ()
 
void OnMenuShow ()
 
void OnMenuHide ()
 
void OnMenuUpdate (float tDelta)
 
void OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index)
 
void OnTabShow ()
 
void OnTabHide ()
 
void OnTabRemove ()
 
void OnTabChange ()
 
bool GetShown ()
 
int GetIndex ()
 
ScriptInvokerVoid GetOnRequestCloseMenu ()
 
ScriptInvokerInt2 GetOnRequestTabChange ()
 
- 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 ()
 

Static Public Member Functions

static string qstr (string s)
 
- 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.
 

Protected Member Functions

void DisplayText (string text)
 Display text in widgets.
 
string GenerateAddonJson (SCR_WorkshopItem item)
 Generate text of addon in json config format.
 
- Protected Member Functions inherited from SCR_SubMenuBase
void ShowNavigationButtons (bool show)
 
void FlagNavigationButtonVisibility (SCR_InputButtonComponent button, bool show)
 
void SetNavigationButtonVisibile (SCR_InputButtonComponent button, bool show, bool animate=false)
 
SCR_InputButtonComponent CreateNavigationButton (string actionName, string label, bool rightFooter=false, bool show=true)
 
void RequestCloseMenu ()
 
void RequestTabChange (int newTabIndex)
 

Protected Attributes

EAddonExportFormat m_iUsedFormat
 
ref SCR_AddonsExportSubMenuWidgets m_Widgets = new SCR_AddonsExportSubMenuWidgets()
 
string m_sGeneratedText
 
SCR_InputButtonComponent m_NavCopyComponent
 
- Protected Attributes inherited from SCR_SubMenuBase
ResourceName m_sNavigationButtonLayout
 
SCR_DynamicFooterComponent m_DynamicFooter
 
ref array< SCR_InputButtonComponentm_aNavigationButtons = {}
 
ref map< SCR_InputButtonComponent, bool > m_aNavigationButtonsVisibilityFlags = new map<SCR_InputButtonComponent, bool>()
 
Widget m_wMenuRoot
 
int m_iIndex
 
bool m_bShown
 
bool m_bFocused
 
ref ScriptInvokerVoid m_OnRequestCloseMenu
 
ref ScriptInvokerInt2 m_OnRequestTabChange
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Additional Inherited Members

- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Member Function Documentation

◆ CopyToClipboard()

void SCR_AddonsExportSubMenuComponent.CopyToClipboard ( )

Copy currently generated text to clipboard.

◆ DisplayText()

void SCR_AddonsExportSubMenuComponent.DisplayText ( string  text)
protected

Display text in widgets.

◆ GenerateAddonJson()

string SCR_AddonsExportSubMenuComponent.GenerateAddonJson ( SCR_WorkshopItem  item)
protected

Generate text of addon in json config format.

◆ GenerateCLIFormat()

void SCR_AddonsExportSubMenuComponent.GenerateCLIFormat ( )

Generate text with list of enabled addons ids.

◆ GenerateJSONFormat()

void SCR_AddonsExportSubMenuComponent.GenerateJSONFormat ( )

Generate text for enbled addons in json format for server config.

◆ GetGeneratedText()

string SCR_AddonsExportSubMenuComponent.GetGeneratedText ( )

◆ HandlerAttached()

override void SCR_AddonsExportSubMenuComponent.HandlerAttached ( Widget  w)

◆ OnTabShow()

override void SCR_AddonsExportSubMenuComponent.OnTabShow ( )

Implements SCR_SubMenuBase.

◆ qstr()

static string SCR_AddonsExportSubMenuComponent.qstr ( string  s)
static

Member Data Documentation

◆ m_iUsedFormat

EAddonExportFormat SCR_AddonsExportSubMenuComponent.m_iUsedFormat
protected

◆ m_NavCopyComponent

SCR_InputButtonComponent SCR_AddonsExportSubMenuComponent.m_NavCopyComponent
protected

◆ m_sGeneratedText

string SCR_AddonsExportSubMenuComponent.m_sGeneratedText
protected

◆ m_Widgets

ref SCR_AddonsExportSubMenuWidgets SCR_AddonsExportSubMenuComponent.m_Widgets = new SCR_AddonsExportSubMenuWidgets()
protected

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