Show / Hide Table of Contents

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 Source

Category

Different emote categories may be handled by different systems. Also may be used for filtering.

Declaration
public EmoteCategory Category
Field Value
Type Description
EmoteCategory
| Improve this Doc View Source

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>
| Improve this Doc View Source

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 Source

ID

Declaration
public string ID { get; }
Property Value
Type Description
System.String

Implements

Robust.Shared.Prototypes.IPrototype
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾