Show / Hide Table of Contents

Class RoundEndSystem

Handles ending rounds normally and also via requesting it (e.g. via comms console) If you request a round end then an escape shuttle will be used.

Inheritance
System.Object
RoundEndSystem
Namespace: Content.Server.RoundEnd
Assembly: Content.Server.dll
Syntax
public sealed class RoundEndSystem : EntitySystem

Fields

| Improve this Doc View Source

AutoCallStartTime

Declaration
public TimeSpan AutoCallStartTime
Field Value
Type Description
TimeSpan

Properties

| Improve this Doc View Source

DefaultCooldownDuration

Declaration
public TimeSpan DefaultCooldownDuration { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

DefaultCountdownDuration

Countdown to use where there is no station alert countdown to be found.

Declaration
public TimeSpan DefaultCountdownDuration { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

ExpectedCountdownEnd

Declaration
public TimeSpan? ExpectedCountdownEnd { get; set; }
Property Value
Type Description
System.Nullable<TimeSpan>
| Improve this Doc View Source

ExpectedShuttleLength

Declaration
public TimeSpan? ExpectedShuttleLength { get; }
Property Value
Type Description
System.Nullable<TimeSpan>
| Improve this Doc View Source

LastCountdownStart

Declaration
public TimeSpan? LastCountdownStart { get; set; }
Property Value
Type Description
System.Nullable<TimeSpan>
| Improve this Doc View Source

ShuttleTimeLeft

Declaration
public TimeSpan? ShuttleTimeLeft { get; }
Property Value
Type Description
System.Nullable<TimeSpan>

Methods

| Improve this Doc View Source

CanCallOrRecall()

Declaration
public bool CanCallOrRecall()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

CancelRoundEndCountdown(Nullable<EntityUid>, Boolean)

Declaration
public void CancelRoundEndCountdown(EntityUid? requester = null, bool checkCooldown = true)
Parameters
Type Name Description
System.Nullable<EntityUid> requester
System.Boolean checkCooldown
| Improve this Doc View Source

DoRoundEndBehavior(RoundEndBehavior, TimeSpan, String, String, String)

Starts a behavior to end the round

Declaration
public void DoRoundEndBehavior(RoundEndBehavior behavior, TimeSpan time, string sender = "comms-console-announcement-title-centcom", string textCall = "round-end-system-shuttle-called-announcement", string textAnnounce = "round-end-system-shuttle-already-called-announcement")
Parameters
Type Name Description
RoundEndBehavior behavior

The way in which the round will end

TimeSpan time
System.String sender
System.String textCall
System.String textAnnounce
| Improve this Doc View Source

EndRound(Nullable<TimeSpan>)

Declaration
public void EndRound(TimeSpan? countdownTime = null)
Parameters
Type Name Description
System.Nullable<TimeSpan> countdownTime
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

IsRoundEndRequested()

Declaration
public bool IsRoundEndRequested()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

RequestRoundEnd(Nullable<EntityUid>, Boolean, String, String)

Declaration
public void RequestRoundEnd(EntityUid? requester = null, bool checkCooldown = true, string text = "round-end-system-shuttle-called-announcement", string name = "Station")
Parameters
Type Name Description
System.Nullable<EntityUid> requester
System.Boolean checkCooldown
System.String text
System.String name
| Improve this Doc View Source

RequestRoundEnd(TimeSpan, Nullable<EntityUid>, Boolean, String, String)

Declaration
public void RequestRoundEnd(TimeSpan countdownTime, EntityUid? requester = null, bool checkCooldown = true, string text = "round-end-system-shuttle-called-announcement", string name = "Station")
Parameters
Type Name Description
TimeSpan countdownTime
System.Nullable<EntityUid> requester
System.Boolean checkCooldown
System.String text
System.String name
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾