Class StatusElement
Inheritance
System.Object
StatusElement
Assembly: Eco.Gameplay.dll
Syntax
public class StatusElement : Object, IController, IViewController, IHasUniversalID
Constructors
StatusElement()
Declaration
Properties
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Message
Declaration
public LocString Message { get; set; }
Property Value
Priority
Status component uses this value to order entries. The lower the value, the sooner this element appears in the list.
Declaration
public int Priority { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Clear()
Declaration
GetEnabledIcon(Boolean)
Declaration
public static string GetEnabledIcon(bool enabled)
Parameters
Type |
Name |
Description |
System.Boolean |
enabled |
|
Returns
Type |
Description |
System.String |
|
SetStatusMessage(Boolean, LocString)
Declaration
public void SetStatusMessage(bool isEnabled, LocString message)
Parameters
Type |
Name |
Description |
System.Boolean |
isEnabled |
|
LocString |
message |
|
SetStatusMessage(Boolean, LocString, LocString)
Declaration
public void SetStatusMessage(bool isEnabled, LocString enabledMessage, LocString disabledMessage)
Parameters
Type |
Name |
Description |
System.Boolean |
isEnabled |
|
LocString |
enabledMessage |
|
LocString |
disabledMessage |
|
Implements
Extension Methods