mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
* move common server files * update includes with move * create participant, move code * fix linker errors * fix regressions * mark function as override to make clang happy * split out spectator to new file * forgot to add to cmakelists * autocompleter picking wrong casing for var name * clean up forwards declarations in player * fix includes in game
This commit is contained in:
parent
17dcaf9afa
commit
f0c3860032
45 changed files with 1283 additions and 866 deletions
29
common/server/server_remoteuserinterface.h
Normal file
29
common/server/server_remoteuserinterface.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef SERVER_REMOTEUSERINTERFACE_H
|
||||
#define SERVER_REMOTEUSERINTERFACE_H
|
||||
|
||||
#include "server_abstractuserinterface.h"
|
||||
|
||||
class Server_RemoteUserInterface : public Server_AbstractUserInterface
|
||||
{
|
||||
public:
|
||||
Server_RemoteUserInterface(Server *_server, const ServerInfo_User_Container &_userInfoContainer)
|
||||
: Server_AbstractUserInterface(_server, _userInfoContainer)
|
||||
{
|
||||
}
|
||||
|
||||
int getLastCommandTime() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
bool addSaidMessageSize(int /*size*/)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void sendProtocolItem(const Response &item);
|
||||
void sendProtocolItem(const SessionEvent &item);
|
||||
void sendProtocolItem(const GameEventContainer &item);
|
||||
void sendProtocolItem(const RoomEvent &item);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue