mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-02-15 02:50:53 +01:00
* 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
17 lines
521 B
C#
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);
|