Show / Hide Table of Contents

Class StatusElement

Inheritance
System.Object
StatusElement
Implements
IController
IViewController
IHasUniversalID
Namespace: Eco.Gameplay.Components
Assembly: Eco.Gameplay.dll
Syntax
public class StatusElement : Object, IController, IViewController, IHasUniversalID

Constructors

StatusElement()

Declaration
public StatusElement()

Properties

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

Message

Declaration
public LocString Message { get; set; }
Property Value
Type Description
LocString

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
public void Clear()

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

IController
IViewController
IHasUniversalID

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾