TileFrictionModifier.cs 494 B

123456789101112131415
  1. using Robust.Shared.GameStates;
  2. namespace Content.Shared.Friction;
  3. [RegisterComponent, NetworkedComponent]
  4. [Access(typeof(TileFrictionController)), AutoGenerateComponentState]
  5. public sealed partial class TileFrictionModifierComponent : Component
  6. {
  7. /// <summary>
  8. /// Multiply the tilefriction cvar by this to get the body's actual tilefriction.
  9. /// </summary>
  10. [ViewVariables(VVAccess.ReadWrite)]
  11. [DataField("modifier"), AutoNetworkedField]
  12. public float Modifier;
  13. }