30 lines
754 B
C#
30 lines
754 B
C#
using Robust.Shared.Prototypes;
|
|
using Content.Shared.Roles;
|
|
|
|
namespace Content.Server._NF.PacifiedZone
|
|
{
|
|
[RegisterComponent]
|
|
public sealed partial class PacifiedZoneGeneratorComponent : Component
|
|
{
|
|
[ViewVariables]
|
|
public List<EntityUid> TrackedEntities = new();
|
|
|
|
[ViewVariables]
|
|
public TimeSpan NextUpdate;
|
|
|
|
/// <summary>
|
|
/// The interval at which this component updates.
|
|
/// </summary>
|
|
[DataField]
|
|
public TimeSpan UpdateInterval = TimeSpan.FromSeconds(1);
|
|
|
|
[DataField]
|
|
public int Radius = 5;
|
|
|
|
[DataField]
|
|
public List<ProtoId<JobPrototype>> ImmuneRoles = new();
|
|
|
|
[DataField]
|
|
public TimeSpan? ImmunePlaytime = null;
|
|
}
|
|
} |