Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -2,7 +2,7 @@ using Robust.Shared.Audio;
|
||||
|
||||
namespace Content.Shared.Weapons.Misc;
|
||||
|
||||
public abstract class BaseForceGunComponent : Component
|
||||
public abstract partial class BaseForceGunComponent : Component
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("lineColor"), AutoNetworkedField]
|
||||
public Color LineColor = Color.Orange;
|
||||
|
||||
@@ -3,7 +3,7 @@ using Robust.Shared.GameStates;
|
||||
namespace Content.Shared.Weapons.Misc;
|
||||
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class GrapplingProjectileComponent : Component
|
||||
public sealed partial class GrapplingProjectileComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user