Class EmotePrototype
IC emotes (scream, smile, clapping, etc). Entities can activate emotes by chat input or code.
Inheritance
System.Object
EmotePrototype
Implements
Robust.Shared.Prototypes.IPrototype
Namespace: Content.Shared.Chat.Prototypes
Assembly: Content.Shared.dll
Syntax
public sealed class EmotePrototype : object, IPrototype
Fields
| Improve this Doc View SourceCategory
Different emote categories may be handled by different systems. Also may be used for filtering.
Declaration
public EmoteCategory Category
Field Value
Type | Description |
---|---|
EmoteCategory |
ChatMessages
Collection of words that will be sent to chat if emote activates. Will be picked randomly from list.
Declaration
public List<string> ChatMessages
Field Value
Type | Description |
---|---|
List<System.String> |
ChatTriggers
Trigger words for emote. Case independent. When typed into players chat they will activate emote event. All words should be unique across all emote prototypes.
Declaration
public HashSet<string> ChatTriggers
Field Value
Type | Description |
---|---|
HashSet<System.String> |
Properties
| Improve this Doc View SourceID
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
Robust.Shared.Prototypes.IPrototype