Show / Hide Table of Contents

Class AvatarSlotData

Data that represents an avatar's appearance slot.

Inheritance
System.Object
AvatarSlotData
Namespace: Eco.Shared.Gameplay
Assembly: Eco.Shared.dll
Syntax
[Serialized]
public sealed class AvatarSlotData : ValueType
Remarks

Is consisted by the name and the color of the equipped item.

Properties

Name

For Client, this is the name of the asset, while for Server this is the item's Type.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
Remarks

Can be null or empty if the slot isn't filled.

SharedColors

Declaration
public Dictionary<string, Color> SharedColors { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, Color>

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾