Files
tbd-station-14/Content.Server/Throwing/EmitSoundOnThrowComponent.cs
Galactic Chimp 53671aeee7 #3935 - Refactored ToysComponent functionality into ECS (#4127)
* #3935 - toys properly play sounds when: Activated, Landed (after throwing) and Used in hand

* #3935 - extracted BaseEmitSoundComponent

* #3935 - refactored EmitSound components to use ECS

* #3935 - added new components to client ignored components

* #3935 - added suggested stuff for EmitSoundSystem et al.

* #3935 added suggestions from PR

* #3935 implemented suggestions from PR

* #3935 updated namespace
2021-06-19 02:35:56 -07:00

16 lines
387 B
C#

using Content.Server.Sound;
using Robust.Shared.GameObjects;
namespace Content.Server.Throwing
{
/// <summary>
/// Simple sound emitter that emits sound on ThrowEvent
/// </summary>
[RegisterComponent]
public class EmitSoundOnThrowComponent : BaseEmitSoundComponent
{
/// <inheritdoc />
public override string Name => "EmitSoundOnThrow";
}
}