Show / Hide Table of Contents

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 Source

SoundGroups

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

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>>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾