Class RangedDamageSoundComponent
Plays the specified sound upon receiving damage of that type.
Inheritance
System.Object
RangedDamageSoundComponent
Namespace: Content.Server.Weapons.Ranged.Components
Assembly: Content.Server.dll
Syntax
public sealed class RangedDamageSoundComponent : Component
Fields
| Improve this Doc View SourceSoundGroups
Specified sounds to apply when the entity takes damage with the specified group. Will fallback to defaults if none specified.
Declaration
public Dictionary<string, SoundSpecifier>? SoundGroups
Field Value
Type | Description |
---|---|
System.Nullable<Dictionary<System.String, Robust.Shared.Audio.SoundSpecifier>> |
SoundTypes
Specified sounds to apply when the entity takes damage with the specified type. Will fallback to defaults if none specified.
Declaration
public Dictionary<string, SoundSpecifier>? SoundTypes
Field Value
Type | Description |
---|---|
System.Nullable<Dictionary<System.String, Robust.Shared.Audio.SoundSpecifier>> |