Show / Hide Table of Contents

Class Avatar

Inheritance
System.Object
Avatar
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
Namespace: Eco.Gameplay.Players
Assembly: Eco.Gameplay.dll
Syntax
public class Avatar : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged

Constructors

Avatar()

Declaration
public Avatar()

Avatar(User)

Declaration
public Avatar(User user)
Parameters
Type Name Description
User user

Properties

CarriedItem

Declaration
public Item CarriedItem { get; }
Property Value
Type Description
Item

Clothing

Declaration
public ClothingInventory Clothing { get; }
Property Value
Type Description
ClothingInventory

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

HeldItem

Declaration
public Item HeldItem { get; }
Property Value
Type Description
Item

Owner

Declaration
public User Owner { get; set; }
Property Value
Type Description
User

Toolbar

Declaration
public SelectionInventory Toolbar { get; }
Property Value
Type Description
SelectionInventory

ToolState

Declaration
public AvatarTool ToolState { get; }
Property Value
Type Description
AvatarTool

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
Type Name Description
AvatarCustomizationData avatarData
System.Boolean setClothes

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

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged

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