mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 14:07:53 +03:00
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)
33 lines
983 B
C#
33 lines
983 B
C#
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared._Shitmed.Medical.Surgery;
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum SurgeryUIKey
|
|
{
|
|
Key
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class SurgeryBuiState(Dictionary<NetEntity, List<EntProtoId>> choices) : BoundUserInterfaceState
|
|
{
|
|
public readonly Dictionary<NetEntity, List<EntProtoId>> Choices = choices;
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class SurgeryBuiRefreshMessage : BoundUserInterfaceMessage
|
|
{
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class SurgeryStepChosenBuiMsg(NetEntity part, EntProtoId surgery, EntProtoId step, bool isBody) : BoundUserInterfaceMessage
|
|
{
|
|
public readonly NetEntity Part = part;
|
|
public readonly EntProtoId Surgery = surgery;
|
|
public readonly EntProtoId Step = step;
|
|
|
|
// Used as a marker for whether or not we're hijacking surgery by applying it on the body itself.
|
|
public readonly bool IsBody = isBody;
|
|
}
|