Show / Hide Table of Contents

Class EmoteSoundsPrototype

Sounds collection for each EmotePrototype. Different entities may use different sounds collections.

Inheritance
System.Object
EmoteSoundsPrototype
Implements
Robust.Shared.Prototypes.IPrototype
Namespace: Content.Shared.Chat.Prototypes
Assembly: Content.Shared.dll
Syntax
public sealed class EmoteSoundsPrototype : object, IPrototype

Fields

| Improve this Doc View Source

FallbackSound

Optional fallback sound that will play if collection doesn't have specific sound for this emote id.

Declaration
public SoundSpecifier FallbackSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

GeneralParams

Optional audio params that will be applied to ALL sounds. This will overwrite any params that may be set in sound specifiers.

Declaration
public AudioParams? GeneralParams
Field Value
Type Description
System.Nullable<Robust.Shared.Audio.AudioParams>
| Improve this Doc View Source

Sounds

Collection of emote prototypes and their sounds.

Declaration
public Dictionary<string, SoundSpecifier> Sounds
Field Value
Type Description
Dictionary<System.String, Robust.Shared.Audio.SoundSpecifier>

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