Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AddonsExportSubMenuComponent.c File Reference

Go to the source code of this file.

Enumerations

enum  EAddonExportFormat
 

Functions

enum EAddonExportFormat Attribute ("0", UIWidgets.ComboBox, "Used format for submenu", "", ParamEnumArray.FromEnum(EAddonExportFormat))] protected EAddonExportFormat m_iUsedFormat
 
override void HandlerAttached (Widget w)
 
override void OnTabShow ()
 
protected void DisplayText (string text)
 Display text in widgets. More...
 
protected string GenerateAddonJson (SCR_WorkshopItem item)
 Generate text of addon in json config format. More...
 
void GenerateJSONFormat ()
 Generate text for enbled addons in json format for server config. More...
 
void GenerateCLIFormat ()
 Generate text with list of enabled addons ids. More...
 
void CopyToClipboard ()
 Copy currently generated text to clipboard. More...
 
string GetGeneratedText ()
 

Variables

 JSON
 
 CLI
 
protected ref SCR_AddonsExportSubMenuWidgets m_Widgets = new SCR_AddonsExportSubMenuWidgets()
 
protected string m_sGeneratedText
 
protected SCR_InputButtonComponent m_NavCopyComponent
 

Enumeration Type Documentation

◆ EAddonExportFormat

Component for addons export submenu behavior. Player can generate JSON and CLI text for current enabled addons and copy this text to clipboard.

Definition at line 6 of file SCR_AddonsExportSubMenuComponent.c.

Function Documentation

◆ Attribute()

enum EAddonExportFormat Attribute ( "0"  ,
UIWidgets.  ComboBox,
"Used format for submenu"  ,
""  ,
ParamEnumArray.  FromEnumEAddonExportFormat 
)

◆ CopyToClipboard()

void CopyToClipboard ( )

Copy currently generated text to clipboard.

Definition at line 126 of file SCR_AddonsExportSubMenuComponent.c.

◆ DisplayText()

protected void DisplayText ( string  text)

Display text in widgets.

Definition at line 57 of file SCR_AddonsExportSubMenuComponent.c.

◆ GenerateAddonJson()

protected string GenerateAddonJson ( SCR_WorkshopItem  item)

Generate text of addon in json config format.

Definition at line 65 of file SCR_AddonsExportSubMenuComponent.c.

◆ GenerateCLIFormat()

void GenerateCLIFormat ( )

Generate text with list of enabled addons ids.

Definition at line 106 of file SCR_AddonsExportSubMenuComponent.c.

◆ GenerateJSONFormat()

void GenerateJSONFormat ( )

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

Definition at line 85 of file SCR_AddonsExportSubMenuComponent.c.

◆ GetGeneratedText()

string GetGeneratedText ( )

Definition at line 135 of file SCR_AddonsExportSubMenuComponent.c.

◆ HandlerAttached()

override void HandlerAttached ( Widget  w)

Definition at line 27 of file SCR_AddonsExportSubMenuComponent.c.

◆ OnTabShow()

override void OnTabShow ( )

Definition at line 35 of file SCR_AddonsExportSubMenuComponent.c.

Variable Documentation

◆ CLI

CLI

Definition at line 4 of file SCR_AddonsExportSubMenuComponent.c.

◆ JSON

JSON

Definition at line 2 of file SCR_AddonsExportSubMenuComponent.c.

◆ m_NavCopyComponent

protected SCR_InputButtonComponent m_NavCopyComponent

Definition at line 21 of file SCR_AddonsExportSubMenuComponent.c.

◆ m_sGeneratedText

protected string m_sGeneratedText

Definition at line 19 of file SCR_AddonsExportSubMenuComponent.c.

◆ m_Widgets

Definition at line 17 of file SCR_AddonsExportSubMenuComponent.c.