Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Content.Server.Ghost.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(SharedGhostComponent))]
|
||||
public sealed class GhostComponent : SharedGhostComponent
|
||||
public sealed partial class GhostComponent : SharedGhostComponent
|
||||
{
|
||||
public TimeSpan TimeOfDeath { get; set; } = TimeSpan.Zero;
|
||||
|
||||
@@ -29,5 +29,5 @@ namespace Content.Server.Ghost.Components
|
||||
};
|
||||
}
|
||||
|
||||
public sealed class BooActionEvent : InstantActionEvent { }
|
||||
public sealed partial class BooActionEvent : InstantActionEvent { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user