Round end audio (#8048)

This commit is contained in:
metalgearsloth
2022-05-13 10:13:07 +10:00
committed by GitHub
parent 5fe643f900
commit 798af00ad2
8 changed files with 40 additions and 5 deletions

View File

@@ -138,9 +138,16 @@ namespace Content.Shared.GameTicking
public int RoundId { get; }
public int PlayerCount { get; }
public RoundEndPlayerInfo[] AllPlayersEndInfo { get; }
public string? LobbySong;
public RoundEndMessageEvent(string gamemodeTitle, string roundEndText, TimeSpan roundDuration, int roundId,
int playerCount, RoundEndPlayerInfo[] allPlayersEndInfo)
public RoundEndMessageEvent(
string gamemodeTitle,
string roundEndText,
TimeSpan roundDuration,
int roundId,
int playerCount,
RoundEndPlayerInfo[] allPlayersEndInfo,
string? lobbySong)
{
GamemodeTitle = gamemodeTitle;
RoundEndText = roundEndText;
@@ -148,6 +155,7 @@ namespace Content.Shared.GameTicking
RoundId = roundId;
PlayerCount = playerCount;
AllPlayersEndInfo = allPlayersEndInfo;
LobbySong = lobbySong;
}
}