18 lines
477 B
C#
18 lines
477 B
C#
using System.Numerics;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Salvage;
|
|
|
|
/// <summary>
|
|
/// Restricts entities to the specified range on the attached map entity.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class RestrictedRangeComponent : Component
|
|
{
|
|
[DataField(required: true), AutoNetworkedField]
|
|
public float Range = 78f;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public Vector2 Origin;
|
|
}
|