mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 08:03:54 -07:00
more ServerNetwork code
This commit is contained in:
parent
6bbc76af2b
commit
c9b66e4239
21 changed files with 441 additions and 35 deletions
|
|
@ -16,7 +16,7 @@ class ServerInfo_Game;
|
|||
class Server_Game;
|
||||
class Server;
|
||||
|
||||
class Server_Room : public QObject, public QList<Server_ProtocolHandler *> {
|
||||
class Server_Room : public QObject {
|
||||
Q_OBJECT
|
||||
signals:
|
||||
void roomInfoChanged();
|
||||
|
|
@ -28,6 +28,7 @@ private:
|
|||
QString joinMessage;
|
||||
QStringList gameTypes;
|
||||
QMap<int, Server_Game *> games;
|
||||
QList<Server_ProtocolHandler *> userList;
|
||||
public:
|
||||
mutable QMutex roomMutex;
|
||||
Server_Room(int _id, const QString &_name, const QString &_description, bool _autoJoin, const QString &_joinMessage, const QStringList &_gameTypes, Server *parent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue