Show / Hide Table of Contents

Class StatusComponent

Inheritance
System.Object
WorldObjectComponent
StatusComponent
Implements
ILinkable
IOwned
IController
IViewController
IHasUniversalID
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
IHasInteractions
Inherited Members
WorldObjectComponent.IsRPCAuthorized(IWorldObserver, AccessType, Object[])
WorldObjectComponent.Initialize()
WorldObjectComponent.PostInitialize()
WorldObjectComponent.OnCreate()
WorldObjectComponent.Destroy()
WorldObjectComponent.Tick()
WorldObjectComponent.LateTick()
WorldObjectComponent.TryPickup(Player, InventoryChangeSet, Inventory, Boolean)
WorldObjectComponent.OnPickup(Player)
WorldObjectComponent.OnBeforeObjectMoved()
WorldObjectComponent.OnAfterObjectMoved()
WorldObjectComponent.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
WorldObjectComponent.UILinkContent()
WorldObjectComponent.Parent
WorldObjectComponent.Name
WorldObjectComponent.IconName
WorldObjectComponent.ForceActiveTab
WorldObjectComponent.ComponentPrefabName
WorldObjectComponent.ComponentTabName
WorldObjectComponent.Enabled
WorldObjectComponent.IsDestroyed
WorldObjectComponent.ShouldRequestEverything
WorldObjectComponent.Owners
WorldObjectComponent.ControllerID
WorldObjectComponent.IOwned.Deed
WorldObjectComponent.Subscriptions
WorldObjectComponent.PropertyChanged
Namespace: Eco.Gameplay.Components
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
public StatusComponent()

Properties

Availability

Declaration
public override WorldObjectComponentClientAvailability Availability { get; }
Property Value
Type Description
WorldObjectComponentClientAvailability
Overrides
WorldObjectComponent.Availability

Statuses

Declaration
public ControllerList<StatusElement> Statuses { get; }
Property Value
Type Description
ControllerList<StatusElement>

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
Type Description
StatusElement

RemoveStatusElement(StatusElement)

Removes a status element that was previously added..

Declaration
public void RemoveStatusElement(StatusElement element)
Parameters
Type Name Description
StatusElement element

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

ILinkable
IOwned
IController
IViewController
IHasUniversalID
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions
IHasInteractions

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
☀
☾