mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
PB: server compiles again, standalone RemoteClient is able to log in
This commit is contained in:
parent
10018280e5
commit
d3b96b1a88
39 changed files with 988 additions and 807 deletions
|
|
@ -12,16 +12,12 @@ LocalServerInterface::~LocalServerInterface()
|
|||
prepareDestroy();
|
||||
}
|
||||
|
||||
void LocalServerInterface::sendProtocolItem(ProtocolItem *item, bool deleteItem)
|
||||
void LocalServerInterface::transmitProtocolItem(const ServerMessage &item)
|
||||
{
|
||||
item->setReceiverMayDelete(false);
|
||||
emit itemToClient(item);
|
||||
if (deleteItem)
|
||||
delete item;
|
||||
}
|
||||
#include "pb/commands.pb.h"
|
||||
|
||||
void LocalServerInterface::itemFromClient(const CommandContainer &item)
|
||||
{
|
||||
qDebug() << "READ" << QString::fromStdString(item.ShortDebugString());
|
||||
processCommandContainer(item);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue