Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Content.Shared.Shuttles.Components;
|
||||
/// Handles what a grid should look like on radar.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, Access(typeof(SharedShuttleSystem))]
|
||||
public sealed class IFFComponent : Component
|
||||
public sealed partial class IFFComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Should we show IFF by default?
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Shared.Shuttles.Components
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[NetworkedComponent]
|
||||
public sealed class PilotComponent : Component
|
||||
public sealed partial class PilotComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
public EntityUid? Console { get; set; }
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Shuttles.Components;
|
||||
/// Add to grids that you do not want manually piloted under any circumstances.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class PreventPilotComponent : Component
|
||||
public sealed partial class PreventPilotComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.GameStates;
|
||||
namespace Content.Shared.Shuttles.Components;
|
||||
|
||||
[RegisterComponent, NetworkedComponent, Access(typeof(SharedRadarConsoleSystem))]
|
||||
public sealed class RadarConsoleComponent : Component
|
||||
public sealed partial class RadarConsoleComponent : Component
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public float RangeVV
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Content.Shared.Shuttles.Components
|
||||
{
|
||||
public abstract class SharedDockingComponent : Component
|
||||
public abstract partial class SharedDockingComponent : Component
|
||||
{
|
||||
// Yes I left this in for now because there's no overhead and we'll need a client one later anyway
|
||||
// and I was too lazy to delete it.
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Content.Shared.Shuttles.Components
|
||||
/// Interact with to start piloting a shuttle.
|
||||
/// </summary>
|
||||
[NetworkedComponent]
|
||||
public abstract class SharedShuttleConsoleComponent : Component
|
||||
public abstract partial class SharedShuttleConsoleComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user