Class Avatar
Inheritance
System.Object
Avatar
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class Avatar : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged
Constructors
Avatar()
Declaration
Avatar(User)
Declaration
Parameters
| Type |
Name |
Description |
| User |
user |
|
Properties
CarriedItem
Declaration
public Item CarriedItem { get; }
Property Value
Clothing
Declaration
public ClothingInventory Clothing { get; }
Property Value
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Emote
Declaration
public string Emote { get; }
Property Value
| Type |
Description |
| System.String |
|
Gender
Declaration
public AvatarGender Gender { get; }
Property Value
HeldItem
Declaration
public Item HeldItem { get; }
Property Value
Owner
Declaration
public User Owner { get; set; }
Property Value
Declaration
public SelectionInventory Toolbar { get; }
Property Value
Declaration
public AvatarTool ToolState { get; }
Property Value
UmaDefinition
Declaration
public string UmaDefinition { get; }
Property Value
| Type |
Description |
| System.String |
|
Methods
SetAvatarData(AvatarCustomizationData, Boolean)
Declaration
public void SetAvatarData(AvatarCustomizationData avatarData, bool setClothes)
Parameters
SetHeldItem(Item)
Set Method for HeldItem to be able to trigger on change on every call when needed.
Declaration
public void SetHeldItem(Item value)
Parameters
| Type |
Name |
Description |
| Item |
value |
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
Description |
| System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods