Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -6,7 +6,7 @@ namespace Content.Shared.Interaction.Components;
|
||||
/// This is used for entities which cannot move or interact in any way.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class BlockMovementComponent : Component
|
||||
public sealed partial class BlockMovementComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Content.Shared.Interaction.Components
|
||||
/// A simple clumsy tag-component.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class ClumsyComponent : Component
|
||||
public sealed partial class ClumsyComponent : Component
|
||||
{
|
||||
[DataField("clumsyDamage", required: true)]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Shared.Interaction.Components;
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
[Access(typeof(SharedInteractionSystem))]
|
||||
public sealed class InteractionRelayComponent : Component
|
||||
public sealed partial class InteractionRelayComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The entity the interactions are being relayed to.
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace Content.Shared.Interaction.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[NetworkedComponent]
|
||||
public sealed class UnremoveableComponent : Component
|
||||
public sealed partial class UnremoveableComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// If this is true then unremovable items that are removed from inventory are deleted (typically from corpse gibbing).
|
||||
|
||||
Reference in New Issue
Block a user