Add docking window to shuttle consoles (#8756)
* lewd * A * Realtime * Sleepy dork * Draw radar position * Accurate infiltrator * experiments * Better drawing * Labels * I need aan adult * Cleanup * Show toggles * display I guess * A * fix * fix * cleanupsies * Bit more polish * Make sure mass scanners actually work * Remove dummy state * fren * opposite * aghost crash * comment * What's in a name * woops * Show docking ports * Dock highlighting * Drawing dock * Shitty docks * Lots of docking drawing * Autodock working * dork * More graceful shutdown * zoomies * Lines and distance change * revert * Good enough * cleanup * Fix default range * Dock UI and loc update * Update on undock * Loc fixes
This commit is contained in:
12
Content.Shared/Shuttles/Events/AutodockRequestMessage.cs
Normal file
12
Content.Shared/Shuttles/Events/AutodockRequestMessage.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Shuttles.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised on the client when it's viewing a particular docking port to try and dock it automatically.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class AutodockRequestMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public EntityUid Entity;
|
||||
}
|
||||
13
Content.Shared/Shuttles/Events/ShuttleModeRequestMessage.cs
Normal file
13
Content.Shared/Shuttles/Events/ShuttleModeRequestMessage.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Content.Shared.Shuttles.Components;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Shuttles.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised by the client to request the server change a particular shuttle's mode.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class ShuttleModeRequestMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public ShuttleMode Mode;
|
||||
}
|
||||
12
Content.Shared/Shuttles/Events/StopAutodockRequestMessage.cs
Normal file
12
Content.Shared/Shuttles/Events/StopAutodockRequestMessage.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Shuttles.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised on a client when it is no longer viewing a dock.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class StopAutodockRequestMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public EntityUid Entity;
|
||||
}
|
||||
12
Content.Shared/Shuttles/Events/UndockRequestMessage.cs
Normal file
12
Content.Shared/Shuttles/Events/UndockRequestMessage.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Shuttles.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised on the client when it wishes to not have 2 docking ports docked.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class UndockRequestMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public EntityUid Entity;
|
||||
}
|
||||
Reference in New Issue
Block a user