Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Content.Client.Storage
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(SharedStorageComponent))]
|
||||
public sealed class ClientStorageComponent : SharedStorageComponent
|
||||
public sealed partial class ClientStorageComponent : SharedStorageComponent
|
||||
{
|
||||
private List<EntityUid> _storedEntities = new();
|
||||
public override IReadOnlyList<EntityUid> StoredEntities => _storedEntities;
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.GameStates;
|
||||
namespace Content.Client.Storage.Components;
|
||||
|
||||
[RegisterComponent, ComponentReference(typeof(SharedEntityStorageComponent))]
|
||||
public sealed class EntityStorageComponent : SharedEntityStorageComponent
|
||||
public sealed partial class EntityStorageComponent : SharedEntityStorageComponent
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ namespace Content.Client.Storage.Visualizers;
|
||||
|
||||
[RegisterComponent]
|
||||
[Access(typeof(EntityStorageVisualizerSystem))]
|
||||
public sealed class EntityStorageVisualsComponent : Component
|
||||
public sealed partial class EntityStorageVisualsComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The RSI state used for the base layer of the storage entity sprite while the storage is closed.
|
||||
|
||||
Reference in New Issue
Block a user