Arma Reforger Script API
|
Public Member Functions | |
override bool | SetNameTo (TextWidget textWidget) |
Set name to given text widget. | |
override bool | SetDescriptionTo (TextWidget textWidget) |
Set description to given text widget. | |
![]() | |
override bool | HasDescription () |
Check if the info has a description defined. | |
override LocalizedString | GetDescription () |
Get description. | |
LocalizedString | GetUnformattedDescriptionBlockName (int index) |
Get Name of selected description block without formatting (raw). | |
void | SetDescriptionBlockName (int index, LocalizedString text) |
Changes the Name (text) of selected Description Block. | |
![]() | |
ResourceName | GetIconPath () |
Get icon. | |
ResourceName | GetImageSetPath () |
Get Image Set. | |
string | GetIconSetName () |
Returns Icon Set name if imageset. | |
bool | HasIcon () |
Check if the info has an icon defined. | |
bool | SetIconTo (ImageWidget imageWidget) |
Set icon to given image widget. | |
override void | Log (string prefix=string.Empty, LogLevel logLevel=LogLevel.VERBOSE) |
![]() | |
LocalizedString | GetUnformattedDescription () |
Get the unformatted description from SCR_HintUIInfo instance. | |
void | SetDescription (LocalizedString description) |
Change the description from SCR_HintUIInfo instance. | |
![]() | |
LocalizedString | GetUnformattedName () |
Get The unformatted Name from SCR_HintUIInfo instance. | |
void | SetName (LocalizedString name) |
Change the Name from SCR_HintUIInfo instance. | |
LocalizedString | GetName () |
Get name. | |
bool | HasName () |
Check if the info has a name defined. | |
Protected Member Functions | |
string | Param (int index) |
![]() | |
override void | CopyFrom (SCR_UIName source) |
Protected Attributes | |
ref array< ref SCR_BaseFormatParam > | m_aParams |
![]() | |
ref array< ref SCR_SubBlockUIName > | m_aDescriptionBlocks |
![]() | |
ResourceName | Icon |
string | IconSetName |
![]() | |
LocalizedString | Description |
![]() | |
LocalizedString | Name |
Additional Inherited Members | |
![]() | |
static SCR_UIInfo | GetInfo (BaseContainer source, string varName) |
Get UIInfo from a source object. | |
static SCR_UIInfo | CreateInfo (UIInfo source) |
Create SCR_UIInfo from engine UIInfo. | |
static SCR_UIInfo | CreateInfo (LocalizedString name, LocalizedString description=LocalizedString.Empty, ResourceName icon=ResourceName.Empty, string iconSetName=string.Empty) |
Create SCR_UIInfo from basic params. | |
static SCR_UIInfo | CreatePlaceholderInfo (TypeName type) |
Get placeholder info. | |
|
protected |
index |
override bool SCR_FormatUIInfo.SetDescriptionTo | ( | TextWidget | textWidget | ) |
Set description to given text widget.
When possible, use this function instead of retrieving the description using GetDescription() and setting it manually. Custom UI info classes may be using parameters which would not be applied otherwise.
textWidget | Target text widget |
Implements SCR_UIDescription.
override bool SCR_FormatUIInfo.SetNameTo | ( | TextWidget | textWidget | ) |
Set name to given text widget.
When possible, use this function instead of retrieving the name using GetName() and setting it manually. Custom UI info classes may be using parameters which would not be applied otherwise.
textWidget | Target text widget |
Implements SCR_UIName.
|
protected |