mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -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
|
|
@ -1,22 +1,23 @@
|
|||
#include "server_remoteuserinterface.h"
|
||||
#include "server.h"
|
||||
#include "pb/serverinfo_user.pb.h"
|
||||
|
||||
void Server_RemoteUserInterface::sendProtocolItem(const Response &item)
|
||||
{
|
||||
server->sendIslMessage(item, userInfo->server_id());
|
||||
server->sendIsl_Response(item, userInfo->server_id(), userInfo->session_id());
|
||||
}
|
||||
|
||||
void Server_RemoteUserInterface::sendProtocolItem(const SessionEvent &item)
|
||||
{
|
||||
server->sendIslMessage(item, userInfo->server_id());
|
||||
server->sendIsl_SessionEvent(item, userInfo->server_id(), userInfo->session_id());
|
||||
}
|
||||
|
||||
void Server_RemoteUserInterface::sendProtocolItem(const GameEventContainer &item)
|
||||
{
|
||||
server->sendIslMessage(item, userInfo->server_id());
|
||||
server->sendIsl_GameEventContainer(item, userInfo->server_id(), userInfo->session_id());
|
||||
}
|
||||
|
||||
void Server_RemoteUserInterface::sendProtocolItem(const RoomEvent &item)
|
||||
{
|
||||
server->sendIslMessage(item, userInfo->server_id());
|
||||
server->sendIsl_RoomEvent(item, userInfo->server_id(), userInfo->session_id());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue