Fix griddrag and tethergun (#10510)

This commit is contained in:
metalgearsloth
2022-09-01 13:11:45 +10:00
committed by GitHub
parent a44c5a447e
commit a0f2e7ac92
9 changed files with 126 additions and 18 deletions

View File

@@ -3,7 +3,7 @@ using Robust.Shared.Serialization;
namespace Content.Shared.Maps;
/// <summary>
/// Helper system to allow you to move grids with a mouse.
/// Helper system to allow you to move entities with a mouse.
/// </summary>
public abstract class SharedGridDraggingSystem : EntitySystem
{
@@ -11,6 +11,15 @@ public abstract class SharedGridDraggingSystem : EntitySystem
}
/// <summary>
/// Sent from server to client if grid dragging is toggled on.
/// </summary>
[Serializable, NetSerializable]
public sealed class GridDragToggleMessage : EntityEventArgs
{
public bool Enabled;
}
/// <summary>
/// Raised on the client to request a grid move to a specific position.
/// </summary>