Implement server status content side.

This commit is contained in:
Pieter-Jan Briers
2018-11-26 10:02:47 +01:00
parent 845d0f9182
commit 0230323563
6 changed files with 74 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ namespace Content.Server.GameTicking
}
}
public Action<GameRunLevelChangedEventArgs> OnRunLevelChanged;
public event Action<GameRunLevelChangedEventArgs> OnRunLevelChanged;
private const string PlayerPrototypeName = "HumanMob_Content";
private const string ObserverPrototypeName = "MobObserver";
@@ -414,8 +414,8 @@ namespace Content.Server.GameTicking
public enum GameRunLevel
{
PreRoundLobby = 0,
InRound,
PostRound
InRound = 1,
PostRound = 2
}
public class GameRunLevelChangedEventArgs : EventArgs