Class AutoEmoteComponent
Causes an entity to automatically emote at a set interval.
Inheritance
System.Object
AutoEmoteComponent
Namespace: Content.Server.Chat
Assembly: Content.Server.dll
Syntax
public sealed class AutoEmoteComponent : Component
Fields
| Improve this Doc View SourceEmotes
A set of emotes that the entity will preform. AutoEmotePrototype
Declaration
public HashSet<string> Emotes
Field Value
Type | Description |
---|---|
HashSet<System.String> |
EmoteTimers
Declaration
public Dictionary<string, TimeSpan> EmoteTimers
Field Value
Type | Description |
---|---|
Dictionary<System.String, TimeSpan> |
NextEmoteTime
Time of the next emote. Redundant, but avoids having to iterate EmoteTimers each update.
Declaration
public TimeSpan NextEmoteTime
Field Value
Type | Description |
---|---|
TimeSpan |