Refactor actions to be entities with components (#19900)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
namespace Content.Shared.Actions.Events;
|
||||
|
||||
public sealed partial class EggLayInstantActionEvent : InstantActionEvent {}
|
||||
4
Content.Shared/Actions/Events/GetActionDataEvent.cs
Normal file
4
Content.Shared/Actions/Events/GetActionDataEvent.cs
Normal file
@@ -0,0 +1,4 @@
|
||||
namespace Content.Shared.Actions.Events;
|
||||
|
||||
[ByRefEvent]
|
||||
public record struct GetActionDataEvent(BaseActionComponent? Action);
|
||||
@@ -0,0 +1,5 @@
|
||||
namespace Content.Shared.Actions.Events;
|
||||
|
||||
public sealed partial class InvisibleWallActionEvent : InstantActionEvent
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user