mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-22 07:10:25 -08:00
more ISL code: join, leave, and userMessage work on both sides
This commit is contained in:
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());
|
||||
}
|
||||
Reference in New Issue
Block a user