|
Arma Reforger Script API
|
Public Member Functions | |
| 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. | |
Public Member Functions inherited from SCR_UIInfo | |
| 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) |
Public Member Functions inherited from SCR_UIDescription | |
| LocalizedString | GetUnformattedDescription () |
| Get the unformatted description from SCR_HintUIInfo instance. | |
| void | SetDescription (LocalizedString description) |
| Change the description from SCR_HintUIInfo instance. | |
| bool | SetDescriptionTo (TextWidget textWidget) |
| Set description to given text widget. | |
Public Member Functions inherited from SCR_UIName | |
| 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. | |
| bool | SetNameTo (TextWidget textWidget) |
| Set name to given text widget. | |
Protected Attributes | |
| ref array< ref SCR_SubBlockUIName > | m_aDescriptionBlocks |
Protected Attributes inherited from SCR_UIInfo | |
| ResourceName | Icon |
| string | IconSetName |
Protected Attributes inherited from SCR_UIDescription | |
| LocalizedString | Description |
Protected Attributes inherited from SCR_UIName | |
| LocalizedString | Name |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_UIInfo | |
| 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 Member Functions inherited from SCR_UIInfo | |
| override void | CopyFrom (SCR_UIName source) |
| override LocalizedString SCR_BlockUIInfo.GetDescription | ( | ) |
Get description.
When using it to fill TextWidget, use SetDescriptionTo() if possible.
Implements SCR_UIDescription.
| LocalizedString SCR_BlockUIInfo.GetUnformattedDescriptionBlockName | ( | int | index | ) |
Get Name of selected description block without formatting (raw).
| Int | - index of Item in Description Block array |
| override bool SCR_BlockUIInfo.HasDescription | ( | ) |
Check if the info has a description defined.
Implements SCR_UIDescription.
| void SCR_BlockUIInfo.SetDescriptionBlockName | ( | int | index, |
| LocalizedString | text ) |
Changes the Name (text) of selected Description Block.
Call SCR_HintManagerComponent.Refresh() to update shown hint to display changed text.
| Int | - index of Item in Description Block array |
| LocalizedString | - string that is going to be inserted in the Name. (Needs to be Localized) |
|
protected |