Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
namespace Content.Server.Zombies;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class ZombieImmuneComponent : Component
|
||||
public sealed partial class ZombieImmuneComponent : Component
|
||||
{
|
||||
//still no
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user