mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 00:23:55 -07:00
Connect/disconnect and join game/room intents.
Took 3 hours 14 minutes
This commit is contained in:
parent
ea6d9366a3
commit
d174a2941f
26 changed files with 512 additions and 3 deletions
|
|
@ -131,6 +131,14 @@ public:
|
|||
return socket->peerName();
|
||||
}
|
||||
}
|
||||
quint16 peerPort() const
|
||||
{
|
||||
if (usingWebSocket) {
|
||||
return websocket->peerPort();
|
||||
} else {
|
||||
return socket->peerPort();
|
||||
}
|
||||
}
|
||||
void
|
||||
connectToServer(const QString &hostname, unsigned int port, const QString &_userName, const QString &_password);
|
||||
void registerToServer(const QString &hostname,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue