Class UserDisplay
Inheritance
System.Object
UserDisplay
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Eco.Gameplay.Players
Assembly: Eco.Gameplay.dll
Syntax
public class UserDisplay : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions
Constructors
UserDisplay(User)
Declaration
public UserDisplay(User user)
Parameters
Type | Name | Description |
---|---|---|
User | user |
Properties
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Subscriptions
Declaration
public ref ThreadSafeSubscriptions Subscriptions { get; }
Property Value
Type | Description |
---|---|
ThreadSafeSubscriptions |
Methods
SetStatus(String, LocString)
Add statuses to user's display.
Declaration
public void SetStatus(string key, LocString status)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
LocString | status |
UpdatePropertyStatus()
Updates property status only by player's current position.
Declaration
public void UpdatePropertyStatus()
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged