Show / Hide Table of Contents

Class AvatarTool

Controller for avatar tool states. Helps to sync current tool across players and local views.

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

Constructors

AvatarTool()

Declaration
public AvatarTool()

Properties

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

HasAmmo

Declaration
public bool HasAmmo { get; }
Property Value
Type Description
System.Boolean

HasContents

Declaration
public bool HasContents { get; }
Property Value
Type Description
System.Boolean

HeadlightEnabled

Declaration
public bool HeadlightEnabled { get; }
Property Value
Type Description
System.Boolean

InputX

Declaration
public int InputX { get; }
Property Value
Type Description
System.Int32

InputY

Declaration
public int InputY { get; }
Property Value
Type Description
System.Int32

IsSwimming

Declaration
public bool IsSwimming { get; }
Property Value
Type Description
System.Boolean

IsWorking

Declaration
public bool IsWorking { get; }
Property Value
Type Description
System.Boolean

SelectedColor

Declaration
public ByteColor SelectedColor { get; set; }
Property Value
Type Description
ByteColor

Working

Declaration
public int Working { get; }
Property Value
Type Description
System.Int32

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