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!;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user