Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
namespace Content.Client.Rotation;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class RotationVisualsComponent : Component
|
||||
public sealed partial class RotationVisualsComponent : Component
|
||||
{
|
||||
[DataField("defaultRotation")]
|
||||
[ViewVariables(VVAccess.ReadOnly)]
|
||||
public readonly Angle DefaultRotation = Angle.FromDegrees(90);
|
||||
public Angle DefaultRotation = Angle.FromDegrees(90);
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public Angle VerticalRotation = 0;
|
||||
|
||||
Reference in New Issue
Block a user