Refactor serialization copying to use source generators (#19412)

This commit is contained in:
DrSmugleaf
2023-08-22 18:14:33 -07:00
committed by GitHub
parent 08b43990ab
commit a88e747a0b
1737 changed files with 2532 additions and 2521 deletions

View File

@@ -4,6 +4,6 @@
/// Tracking component for an enabled cryo pod (which periodically tries to inject chemicals in the occupant, if one exists)
/// </summary>
[RegisterComponent]
public sealed class ActiveCryoPodComponent : Component
public sealed partial class ActiveCryoPodComponent : Component
{
}

View File

@@ -6,7 +6,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Shared.Medical.Cryogenics;
[RegisterComponent, NetworkedComponent]
public sealed class CryoPodComponent : Component
public sealed partial class CryoPodComponent : Component
{
/// <summary>
/// Specifies the name of the atmospherics port to draw gas from.

View File

@@ -5,7 +5,7 @@ namespace Content.Shared.Medical.Cryogenics;
[RegisterComponent]
[NetworkedComponent]
public sealed class InsideCryoPodComponent: Component
public sealed partial class InsideCryoPodComponent: Component
{
[ViewVariables]
[DataField("previousOffset")]

View File

@@ -172,12 +172,12 @@ public abstract partial class SharedCryoPodSystem: EntitySystem
}
[Serializable, NetSerializable]
public sealed class CryoPodPryFinished : SimpleDoAfterEvent
public sealed partial class CryoPodPryFinished : SimpleDoAfterEvent
{
}
[Serializable, NetSerializable]
public sealed class CryoPodDragFinished : SimpleDoAfterEvent
public sealed partial class CryoPodDragFinished : SimpleDoAfterEvent
{
}
}