Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Content.Shared.Pulling.Components
|
||||
[NetworkedComponent()]
|
||||
[Access(typeof(SharedPullingStateManagementSystem))]
|
||||
[RegisterComponent]
|
||||
public sealed class SharedPullableComponent : Component
|
||||
public sealed partial class SharedPullableComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The current entity pulling this component.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
[RegisterComponent]
|
||||
[Access(typeof(SharedPullingStateManagementSystem))]
|
||||
public sealed class SharedPullerComponent : Component
|
||||
public sealed partial class SharedPullerComponent : Component
|
||||
{
|
||||
// Before changing how this is updated, please see SharedPullerSystem.RefreshMovementSpeed
|
||||
public float WalkSpeedModifier => Pulling == default ? 1.0f : 0.95f;
|
||||
|
||||
Reference in New Issue
Block a user