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,7 +4,7 @@
/// This is used for a zombie that cannot be cured by any methods.
/// </summary>
[RegisterComponent]
public sealed class IncurableZombieComponent : Component
public sealed partial class IncurableZombieComponent : Component
{
}

View File

@@ -7,7 +7,7 @@ namespace Content.Server.Zombies;
/// Temporary because diseases suck.
/// </summary>
[RegisterComponent]
public sealed class PendingZombieComponent : Component
public sealed partial class PendingZombieComponent : Component
{
/// <summary>
/// Damage dealt every second to infected individuals.

View File

@@ -1,7 +1,7 @@
namespace Content.Server.Zombies;
[RegisterComponent]
public sealed class ZombieImmuneComponent : Component
public sealed partial class ZombieImmuneComponent : Component
{
//still no
}

View File

@@ -1,7 +1,7 @@
namespace Content.Server.Zombies
{
[RegisterComponent]
public sealed class ZombifyOnDeathComponent : Component
public sealed partial class ZombifyOnDeathComponent : Component
{
//this is not the component you are looking for
}