Class StatusComponent
Inheritance
System.Object
StatusComponent
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class StatusComponent : WorldObjectComponent, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions
Constructors
StatusComponent()
Declaration
Properties
Availability
Declaration
public override WorldObjectComponentClientAvailability Availability { get; }
Property Value
Overrides
Statuses
Declaration
public ControllerList<StatusElement> Statuses { get; }
Property Value
Methods
Add(IEnumerable<StatusElement>)
Declaration
public void Add(IEnumerable<StatusElement> statuses)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<StatusElement> |
statuses |
|
CreateStatusElement(Int32)
Creates a status element, with lower values of priority appearing first.
Declaration
public StatusElement CreateStatusElement(int priority = 0)
Parameters
Type |
Name |
Description |
System.Int32 |
priority |
|
Returns
RemoveStatusElement(StatusElement)
Removes a status element that was previously added..
Declaration
public void RemoveStatusElement(StatusElement element)
Parameters
UpdateStatusElements(IEnumerable<StatusElement>, IEnumerable<StatusElement>)
Declaration
public void UpdateStatusElements(IEnumerable<StatusElement> remove, IEnumerable<StatusElement> add)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<StatusElement> |
remove |
|
System.Collections.Generic.IEnumerable<StatusElement> |
add |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods