Add current station time to game lobby (#9665)

Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
Jessica M
2022-07-30 19:55:43 -07:00
committed by GitHub
parent 3c3960e82e
commit ae4ca09a57
6 changed files with 11 additions and 3 deletions

View File

@@ -45,15 +45,17 @@ namespace Content.Shared.GameTicking
public bool YouAreReady { get; }
// UTC.
public TimeSpan StartTime { get; }
public TimeSpan RoundStartTimeSpan { get; }
public bool Paused { get; }
public TickerLobbyStatusEvent(bool isRoundStarted, string? lobbySong, string? lobbyBackground, bool youAreReady, TimeSpan startTime, bool paused)
public TickerLobbyStatusEvent(bool isRoundStarted, string? lobbySong, string? lobbyBackground, bool youAreReady, TimeSpan startTime, TimeSpan roundStartTimeSpan, bool paused)
{
IsRoundStarted = isRoundStarted;
LobbySong = lobbySong;
LobbyBackground = lobbyBackground;
YouAreReady = youAreReady;
StartTime = startTime;
RoundStartTimeSpan = roundStartTimeSpan;
Paused = paused;
}
}