![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| LocalizedString | GetUnformattedDescription () |
| void | SetDescription (LocalizedString description) |
| LocalizedString | GetDescription () |
| bool | HasDescription () |
| bool | SetDescriptionTo (TextWidget textWidget) |
| override void | Log (string prefix=string.Empty, LogLevel logLevel=LogLevel.VERBOSE) |
| void | CopyFrom (SCR_UIName source) |
Protected Attributes | |
| LocalizedString | Description |
Class used to hold UI name and description. Data are intentionally READ ONLY, because the class is often used on prefabs, not instances. Instead of adding SetXXX() functions here, consider using specialized inherited class.
Definition at line 5 of file SCR_UIDescription.c.
|
inlineprotected |
Definition at line 75 of file SCR_UIDescription.c.
|
inlineprotected |
Get description. When using it to fill TextWidget, use SetDescriptionTo() if possible.
Definition at line 31 of file SCR_UIDescription.c.
|
inlineprotected |
Get the unformatted description from SCR_HintUIInfo instance.
Definition at line 13 of file SCR_UIDescription.c.
|
inlineprotected |
Check if the info has a description defined.
Definition at line 39 of file SCR_UIDescription.c.
|
inlineprotected |
| prefix | |
| logLevel |
Definition at line 68 of file SCR_UIDescription.c.
|
inlineprotected |
Change the description from SCR_HintUIInfo instance. Call SCR_HintManagerComponent.Refresh() to update shown hint to display changed text.
| LocalizedString | text to which discription should be updated to. |
Definition at line 22 of file SCR_UIDescription.c.
|
inlineprotected |
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 |
Definition at line 53 of file SCR_UIDescription.c.
|
protected |
Definition at line 8 of file SCR_UIDescription.c.