Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Content.Server.Weapons.Melee.Balloon;
|
||||
/// This is used for weapons that pop balloons on attack.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class BalloonPopperComponent : Component
|
||||
public sealed partial class BalloonPopperComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The tag that marks something as a balloon.
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.Audio;
|
||||
namespace Content.Server.Weapons.Melee.EnergySword;
|
||||
|
||||
[RegisterComponent]
|
||||
internal sealed class EnergySwordComponent : Component
|
||||
internal sealed partial class EnergySwordComponent : Component
|
||||
{
|
||||
public Color BladeColor = Color.DodgerBlue;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.Audio;
|
||||
namespace Content.Server.Weapons.Melee.WeaponRandom;
|
||||
|
||||
[RegisterComponent]
|
||||
internal sealed class WeaponRandomComponent : Component
|
||||
internal sealed partial class WeaponRandomComponent : Component
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user