mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 10:33:54 -07:00
Total Max User Restriction
Syntax correction.
This commit is contained in:
parent
aa540f7968
commit
a9acb3f1cc
9 changed files with 61 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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() { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue