Files
ss14-wega/Content.Shared/VoiceMask/VoiceMaskSetNameEvent.cs
beck-thompson dd79254a0f Add voice mask implant (#41551)
* Add voice mask implant

* Remove voice mask

* Voice mask implant now  overrides your identity

* voice mask implant can now be extracted, when taking out the voice mask implant it now updates your name proplery

* Simplify logic
2025-12-07 02:35:46 +00:00

17 lines
521 B
C#

using Content.Shared.Actions;
namespace Content.Shared.VoiceMask;
public sealed partial class VoiceMaskSetNameEvent : InstantActionEvent
{
}
/// <summary>
/// Raised on an entity when their voice masks name is updated
/// </summary>
/// <param name="VoiceMaskUid">Uid of the voice mask</param>
/// <param name="OldName">The old name</param>
/// <param name="NewName">The new name</param>
[ByRefEvent]
public readonly record struct VoiceMaskNameUpdatedEvent(EntityUid VoiceMaskUid, string? OldName, string NewName);