mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
cleanups, games work with ISL, now we just need to clean up better when the ISL connection dies
This commit is contained in:
parent
c9a8429044
commit
5db0fcd6ae
28 changed files with 570 additions and 245 deletions
24
common/server_metatypes.h
Normal file
24
common/server_metatypes.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef SERVER_METATYPES_H
|
||||
#define SERVER_METATYPES_H
|
||||
|
||||
#include <QMetaType>
|
||||
|
||||
#include "pb/serverinfo_user.pb.h"
|
||||
#include "pb/serverinfo_room.pb.h"
|
||||
#include "pb/serverinfo_game.pb.h"
|
||||
#include "pb/commands.pb.h"
|
||||
#include "pb/response.pb.h"
|
||||
#include "pb/game_event_container.pb.h"
|
||||
#include "pb/isl_message.pb.h"
|
||||
#include "pb/room_commands.pb.h"
|
||||
|
||||
Q_DECLARE_METATYPE(ServerInfo_User)
|
||||
Q_DECLARE_METATYPE(ServerInfo_Room)
|
||||
Q_DECLARE_METATYPE(ServerInfo_Game)
|
||||
Q_DECLARE_METATYPE(CommandContainer)
|
||||
Q_DECLARE_METATYPE(Response)
|
||||
Q_DECLARE_METATYPE(GameEventContainer)
|
||||
Q_DECLARE_METATYPE(IslMessage)
|
||||
Q_DECLARE_METATYPE(Command_JoinGame)
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue