Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -3,7 +3,7 @@ using Content.Shared.Damage;
|
||||
namespace Content.Server.Bed.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public sealed class HealOnBuckleComponent : Component
|
||||
public sealed partial class HealOnBuckleComponent : Component
|
||||
{
|
||||
[DataField("damage", required: true)]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Content.Server.Bed.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public sealed class HealOnBuckleHealingComponent : Component
|
||||
public sealed partial class HealOnBuckleHealingComponent : Component
|
||||
{}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
namespace Content.Server.Bed.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public sealed class StasisBedComponent : Component
|
||||
public sealed partial class StasisBedComponent : Component
|
||||
{
|
||||
[DataField("baseMultiplier", required: true), ViewVariables(VVAccess.ReadWrite)]
|
||||
public float BaseMultiplier = 10f;
|
||||
|
||||
Reference in New Issue
Block a user