mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 03:23:56 -07:00
Connect/disconnect and join game/room intents.
Took 3 hours 14 minutes Took 2 seconds
This commit is contained in:
parent
47a80ddb12
commit
9729c6668d
26 changed files with 514 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