15 lines
517 B
C#
15 lines
517 B
C#
|
|
namespace Content.Server.StationEvents.Components;
|
|||
|
|
|
|||
|
|
[RegisterComponent, Access(typeof(BasicStationEventSchedulerSystem))]
|
|||
|
|
public sealed class BasicStationEventSchedulerComponent : Component
|
|||
|
|
{
|
|||
|
|
public const float MinimumTimeUntilFirstEvent = 300;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// How long until the next check for an event runs
|
|||
|
|
/// </summary>
|
|||
|
|
/// Default value is how long until first event is allowed
|
|||
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|||
|
|
public float TimeUntilNextEvent = MinimumTimeUntilFirstEvent;
|
|||
|
|
}
|