Add server statistics which are sent by the server to every client each time they change.

This commit is contained in:
lotodore
2007-10-20 22:22:11 +00:00
parent c5246aaef3
commit 4bc57f07d0
21 changed files with 302 additions and 3 deletions
+8
View File
@@ -67,4 +67,12 @@ enum Button {
BUTTON_SMALL_BLIND,
BUTTON_BIG_BLIND };
struct ServerStats
{
ServerStats() : numberOfPlayersOnServer(0), totalPlayersEverLoggedIn(0), totalGamesEverStarted(0) {}
unsigned numberOfPlayersOnServer;
unsigned totalPlayersEverLoggedIn;
unsigned totalGamesEverStarted;
};
#endif