Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization;
|
||||
namespace Content.Shared.Strip.Components
|
||||
{
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class StrippableComponent : Component
|
||||
public sealed partial class StrippableComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The strip delay for hands.
|
||||
|
||||
@@ -6,5 +6,5 @@ namespace Content.Shared.Strip.Components
|
||||
/// Give to an entity to say they can strip another entity.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class StrippingComponent : Component {}
|
||||
public sealed partial class StrippingComponent : Component {}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace Content.Shared.Strip.Components;
|
||||
/// Give this to an entity when you want to decrease stripping times
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class ThievingComponent : Component
|
||||
public sealed partial class ThievingComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// How much the strip time should be shortened by
|
||||
|
||||
Reference in New Issue
Block a user