Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -3,8 +3,8 @@ using Content.Shared.Damage;
|
||||
namespace Content.Shared.Wieldable.Components;
|
||||
|
||||
[RegisterComponent, Access(typeof(WieldableSystem))]
|
||||
public sealed class IncreaseDamageOnWieldComponent : Component
|
||||
public sealed partial class IncreaseDamageOnWieldComponent : Component
|
||||
{
|
||||
[DataField("damage", required: true)]
|
||||
public DamageSpecifier BonusDamage = default!;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,6 @@ using Robust.Shared.Serialization;
|
||||
namespace Content.Shared.Wieldable;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class WieldableDoAfterEvent : SimpleDoAfterEvent
|
||||
public sealed partial class WieldableDoAfterEvent : SimpleDoAfterEvent
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user