mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 16:43:55 -07:00
added argentina to countries
This commit is contained in:
parent
83e2e3666a
commit
ef42c7518a
6 changed files with 115 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ Servatrice::Servatrice(QSettings *_settings, QObject *parent)
|
|||
statusUpdateClock->start(statusUpdateTime);
|
||||
}
|
||||
|
||||
bool threaded = settings->value("server/threaded", false).toInt();
|
||||
threaded = settings->value("server/threaded", false).toInt();
|
||||
tcpServer = new Servatrice_TcpServer(this, threaded, this);
|
||||
int port = settings->value("server/port", 4747).toInt();
|
||||
qDebug() << "Starting server on port" << port;
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ public:
|
|||
int getMaxMessageCountPerInterval() const { return maxMessageCountPerInterval; }
|
||||
int getMaxMessageSizePerInterval() const { return maxMessageSizePerInterval; }
|
||||
int getMaxGamesPerUser() const { return maxGamesPerUser; }
|
||||
bool getThreaded() const { return threaded; }
|
||||
QString getDbPrefix() const { return dbPrefix; }
|
||||
void updateLoginMessage();
|
||||
ServerInfo_User *getUserData(const QString &name);
|
||||
|
|
@ -86,6 +87,7 @@ private:
|
|||
QString dbPrefix;
|
||||
QSettings *settings;
|
||||
int serverId;
|
||||
bool threaded;
|
||||
int uptime;
|
||||
QList<QPair<QHostAddress, int> > addressBanList;
|
||||
int maxGameInactivityTime, maxPlayerInactivityTime;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue