Arma Reforger Script API
|
Used for entry that just show text or message. More...
Public Member Functions | |
override void | CreateWidget (Widget parent) |
override void | SetValue (string str) |
Apply value to message. | |
override string | ValueAsString () |
Return message. | |
Public Member Functions inherited from SCR_WidgetListEntry | |
void | CreateWidget (Widget parent) |
string | ValueAsString () |
Return value from widget in string format. | |
void | SetValue (string str) |
bool | CheckValidity () |
Default validity for majority of inputs will be true. | |
void | SetInteractive (bool interactive) |
Can value be interacted - set handler enabled. | |
ResourceName | GetEntryLayout () |
void | SetEntryLayout (ResourceName layout) |
string | GetLabel () |
void | SetLabel (string label) |
string | GetPropertyName () |
void | SetPropertyName (string propertyName) |
string | GetGroupTag () |
void | SetGroupTag (string tag) |
EJsonApiStructValueType | GetType () |
Widget | GetEntryRoot () |
bool | IsInputValid () |
bool | GetVisible () |
void | SetVisible (bool show) |
Protected Attributes | |
string | m_sMessage |
SCR_SimpleEntryComponent | m_SimpleEntry |
Protected Attributes inherited from SCR_WidgetListEntry | |
ResourceName | m_sEntryLayout |
bool | m_bShow |
string | m_sLabel |
string | m_sPropertyName |
string | m_sGroupTag |
string | m_sDefaultValue |
bool | m_bRequired |
bool | m_bInteractive |
SCR_ChangeableComponentBase | m_ChangeableComponent |
EJsonApiStructValueType | m_iType |
string | m_sClassTag |
Widget | m_EntryRoot |
bool | m_bValidInput = true |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_WidgetListEntry | |
static SCR_ConfigListEntries | GetEntriesDefinitions (ResourceName presetsResourceName) |
Static Public Attributes inherited from SCR_WidgetListEntry | |
const string | INVALID_VALUE = "-invalid-" |
Protected Member Functions inherited from SCR_WidgetListEntry | |
void | SetupHandlers () |
Empty function to override to assing custom handlers. | |
bool | CanSkip () |
Can skip return true if input is empty and value is not required. | |
Static Protected Attributes inherited from SCR_WidgetListEntry | |
const ResourceName | ENTRY_DEFINITIONS = "{A6EFD45A3A38965C}Configs/JsonConfigList/JsonConfigListDefinition.conf" |
Used for entry that just show text or message.
This widget is not editable Example: Uploaded GM save has a version which is set automatically, therefore: Version - 1.0.0
override void SCR_WidgetListEntryMessage.CreateWidget | ( | Widget | parent | ) |
Implements SCR_WidgetListEntry.
override void SCR_WidgetListEntryMessage.SetValue | ( | string | str | ) |
Apply value to message.
Implements SCR_WidgetListEntry.
override string SCR_WidgetListEntryMessage.ValueAsString | ( | ) |
Return message.
Implements SCR_WidgetListEntry.
|
protected |
|
protected |