Refactor actions to be entities with components (#19900)
This commit is contained in:
12
Content.Shared/UserInterface/ToggleIntrinsicUIEvent.cs
Normal file
12
Content.Shared/UserInterface/ToggleIntrinsicUIEvent.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Content.Shared.Actions;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations;
|
||||
|
||||
namespace Content.Shared.UserInterface;
|
||||
|
||||
[UsedImplicitly]
|
||||
public sealed partial class ToggleIntrinsicUIEvent : InstantActionEvent
|
||||
{
|
||||
[DataField("key", customTypeSerializer: typeof(EnumSerializer), required: true)]
|
||||
public Enum? Key { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user