Refactor actions to be entities with components (#19900)
This commit is contained in:
18
Content.Shared/Mapping/StartPlacementActionEvent.cs
Normal file
18
Content.Shared/Mapping/StartPlacementActionEvent.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Content.Shared.Actions;
|
||||
|
||||
namespace Content.Shared.Mapping;
|
||||
|
||||
public sealed partial class StartPlacementActionEvent : InstantActionEvent
|
||||
{
|
||||
[DataField("entityType")]
|
||||
public string? EntityType;
|
||||
|
||||
[DataField("tileId")]
|
||||
public string? TileId;
|
||||
|
||||
[DataField("placementOption")]
|
||||
public string? PlacementOption;
|
||||
|
||||
[DataField("eraser")]
|
||||
public bool Eraser;
|
||||
}
|
||||
Reference in New Issue
Block a user