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 SourceFallbackSound
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 |
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> |
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 SourceID
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
Robust.Shared.Prototypes.IPrototype