Total Max User Restriction

Syntax correction.
This commit is contained in:
woogerboy21 2015-07-12 22:32:55 -04:00
parent aa540f7968
commit a9acb3f1cc
9 changed files with 61 additions and 3 deletions

View file

@ -10,6 +10,7 @@ message Event_ConnectionClosed {
TOO_MANY_CONNECTIONS = 3;
BANNED = 4;
USERNAMEINVALID = 5;
USER_LIMIT_REACHED = 6;
}
optional CloseReason reason = 1;
optional string reason_str = 2;

View file

@ -31,6 +31,7 @@ public slots:
public:
virtual int getNextGameId() = 0;
virtual int getNextReplayId() = 0;
virtual int getActiveUserCount() = 0;
virtual void clearSessionTables() { }
virtual void lockSessionTables() { }