mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
more ISL code: join, leave, and userMessage work on both sides
This commit is contained in:
parent
5963c2239c
commit
0ae18d7b2e
16 changed files with 363 additions and 112 deletions
22
common/server_remoteuserinterface.cpp
Normal file
22
common/server_remoteuserinterface.cpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#include "server_remoteuserinterface.h"
|
||||
#include "server.h"
|
||||
|
||||
void Server_RemoteUserInterface::sendProtocolItem(const Response &item)
|
||||
{
|
||||
server->sendIslMessage(item, userInfo->server_id());
|
||||
}
|
||||
|
||||
void Server_RemoteUserInterface::sendProtocolItem(const SessionEvent &item)
|
||||
{
|
||||
server->sendIslMessage(item, userInfo->server_id());
|
||||
}
|
||||
|
||||
void Server_RemoteUserInterface::sendProtocolItem(const GameEventContainer &item)
|
||||
{
|
||||
server->sendIslMessage(item, userInfo->server_id());
|
||||
}
|
||||
|
||||
void Server_RemoteUserInterface::sendProtocolItem(const RoomEvent &item)
|
||||
{
|
||||
server->sendIslMessage(item, userInfo->server_id());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue