mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
14 lines
460 B
C#
14 lines
460 B
C#
using Content.Shared.Inventory;
|
|
|
|
namespace Content.Shared.Speech;
|
|
|
|
/// <summary>
|
|
/// Raised on an entity to apply speech accents to its message.
|
|
/// Handlers should modify <see cref="Message"/> in place.
|
|
/// Relayed through inventory (e.g. voice masks) and status effects.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public record struct AccentGetEvent(EntityUid Entity, string Message) : IInventoryRelayEvent
|
|
{
|
|
public SlotFlags TargetSlots => SlotFlags.WITHOUT_POCKET;
|
|
}
|