mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
* add identity mask updating agent id functionality * fix indentation * add check for voice mask item * use ChangeIDName field instead * Minor cleanup * remove trycomp --------- Co-authored-by: beck-thompson <beck314159@hotmail.com>
21 lines
664 B
C#
21 lines
664 B
C#
using Content.Shared.Actions;
|
|
using Content.Shared.Inventory;
|
|
|
|
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="VoiceMask">VoiceMask component</param>
|
|
/// <param name="OldName">The old name</param>
|
|
/// <param name="NewName">The new name</param>
|
|
[ByRefEvent]
|
|
public readonly record struct VoiceMaskNameUpdatedEvent(Entity<VoiceMaskComponent> VoiceMask, string? OldName, string NewName) : IInventoryRelayEvent
|
|
{
|
|
SlotFlags IInventoryRelayEvent.TargetSlots => SlotFlags.WITHOUT_POCKET;
|
|
}
|