Show / Hide Table of Contents

Class StationEventComponent

Defines basic data for a station event

Inheritance
System.Object
StationEventComponent
Namespace: Content.Server.StationEvents.Components
Assembly: Content.Server.dll
Syntax
public sealed class StationEventComponent : Component

Fields

| Improve this Doc View Source

Duration

How long the event lasts.

Declaration
public TimeSpan? Duration
Field Value
Type Description
System.Nullable<TimeSpan>
| Improve this Doc View Source

EarliestStart

In minutes, when is the first round time this event can start

Declaration
public int EarliestStart
Field Value
Type Description
System.Int32
| Improve this Doc View Source

EndAnnouncement

Declaration
public string? EndAnnouncement
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

EndAudio

Declaration
public SoundSpecifier EndAudio
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

EndTime

When the station event ends.

Declaration
public TimeSpan? EndTime
Field Value
Type Description
System.Nullable<TimeSpan>
| Improve this Doc View Source

MaxDuration

The max amount of time the event lasts.

Declaration
public TimeSpan? MaxDuration
Field Value
Type Description
System.Nullable<TimeSpan>
| Improve this Doc View Source

MaxOccurrences

How many times this even can occur in a single round

Declaration
public int? MaxOccurrences
Field Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

MinimumPlayers

How many players need to be present on station for the event to run

Declaration
public int MinimumPlayers
Field Value
Type Description
System.Int32
Remarks

To avoid running deadly events with low-pop

| Improve this Doc View Source

ReoccurrenceDelay

In minutes, the amount of time before the same event can occur again

Declaration
public int ReoccurrenceDelay
Field Value
Type Description
System.Int32
| Improve this Doc View Source

StartAnnouncement

Declaration
public string? StartAnnouncement
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

StartAudio

Declaration
public SoundSpecifier StartAudio
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

StartDelay

How long after being added does the event start

Declaration
public TimeSpan StartDelay
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

StartTime

When the station event starts.

Declaration
public TimeSpan StartTime
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

Weight

Declaration
public float Weight
Field Value
Type Description
System.Single
| Improve this Doc View Source

WeightHigh

Declaration
public const float WeightHigh = null
Field Value
Type Description
System.Single
| Improve this Doc View Source

WeightLow

Declaration
public const float WeightLow = null
Field Value
Type Description
System.Single
| Improve this Doc View Source

WeightNormal

Declaration
public const float WeightNormal = null
Field Value
Type Description
System.Single
| Improve this Doc View Source

WeightVeryHigh

Declaration
public const float WeightVeryHigh = null
Field Value
Type Description
System.Single
| Improve this Doc View Source

WeightVeryLow

Declaration
public const float WeightVeryLow = null
Field Value
Type Description
System.Single
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾