Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization;
|
||||
namespace Content.Server.UserInterface;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class IntrinsicUIComponent : Component, ISerializationHooks
|
||||
public sealed partial class IntrinsicUIComponent : Component, ISerializationHooks
|
||||
{
|
||||
/// <summary>
|
||||
/// List of UIs and their actions that this entity has.
|
||||
@@ -25,7 +25,7 @@ public sealed class IntrinsicUIComponent : Component, ISerializationHooks
|
||||
}
|
||||
|
||||
[DataDefinition]
|
||||
public struct IntrinsicUIEntry
|
||||
public partial struct IntrinsicUIEntry
|
||||
{
|
||||
[ViewVariables] public Enum? Key { get; private set; } = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user