Files
wwdpublic/Content.Shared/_Shitmed/Autodoc/AutodocUI.cs
gluesniffler 2a33691a1c Ports Shitmed Updates From Goob (#1387)
Lots of stuff. Also moved everything I could to the _Shitmed namespace
as I do in Goob. Will make future ports way faster

# Changelog
🆑 Mocho
- add: Added some fun organs and other thingies, check out the Goob PRs
if you want more details.
- fix: Fixed tons of issues with shitmed. Too many for the changelog in
fact.

(cherry picked from commit 3c9db94102cb25b28a83d51ac8d659fa31fe7d12)
2025-01-13 23:01:51 +03:00

52 lines
1.4 KiB
C#

using Robust.Shared.Serialization;
namespace Content.Shared._Shitmed.Autodoc;
[Serializable, NetSerializable]
public enum AutodocUiKey : byte
{
Key
}
[Serializable, NetSerializable]
public sealed class AutodocCreateProgramMessage(string title) : BoundUserInterfaceMessage
{
public readonly string Title = title;
}
[Serializable, NetSerializable]
public sealed class AutodocToggleProgramSafetyMessage(int program) : BoundUserInterfaceMessage
{
public readonly int Program = program;
}
[Serializable, NetSerializable]
public sealed class AutodocRemoveProgramMessage(int program) : BoundUserInterfaceMessage
{
public readonly int Program = program;
}
[Serializable, NetSerializable]
public sealed class AutodocAddStepMessage(int program, IAutodocStep step, int index) : BoundUserInterfaceMessage
{
public readonly int Program = program;
public readonly IAutodocStep Step = step;
public readonly int Index = index;
}
[Serializable, NetSerializable]
public sealed class AutodocRemoveStepMessage(int program, int step) : BoundUserInterfaceMessage
{
public readonly int Program = program;
public readonly int Step = step;
}
[Serializable, NetSerializable]
public sealed class AutodocStartMessage(int program) : BoundUserInterfaceMessage
{
public readonly int Program = program;
}
[Serializable, NetSerializable]
public sealed class AutodocStopMessage : BoundUserInterfaceMessage;