using System.Numerics; using Robust.Shared.Serialization; namespace Content.Shared.Maps; /// /// Helper system to allow you to move entities with a mouse. /// public abstract class SharedGridDraggingSystem : EntitySystem { public const string CommandName = "griddrag"; } /// /// Sent from server to client if grid dragging is toggled on. /// [Serializable, NetSerializable] public sealed class GridDragToggleMessage : EntityEventArgs { public bool Enabled; } /// /// Raised on the client to request a grid move to a specific position. /// [Serializable, NetSerializable] public sealed class GridDragRequestPosition : EntityEventArgs { public NetEntity Grid; public Vector2 WorldPosition; } [Serializable, NetSerializable] public sealed class GridDragVelocityRequest : EntityEventArgs { public NetEntity Grid; public Vector2 LinearVelocity; }