![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <local_client.h>
Public Member Functions | |
| LocalClient (LocalServerInterface *_lsi, const QString &_playerName, const QString &_clientId, QObject *parent=nullptr) | |
| ~LocalClient () override | |
| void | sendCommandContainer (const CommandContainer &cont) override |
| Public Member Functions inherited from AbstractClient | |
| AbstractClient (QObject *parent=nullptr) | |
| ~AbstractClient () override | |
| ClientStatus | getStatus () const |
| void | sendCommand (const CommandContainer &cont) |
| void | sendCommand (PendingCommand *pend) |
| void | clearLatencyStats () |
| Drops all recorded round-trip samples and resets the stats emission throttle, emitting zeroed stats so that UI listeners can clear their display. | |
| bool | getServerSupportsPasswordHash () const |
| bool | getServerSupportsChallengeResponse () const |
| const QString & | getUserName () const |
| virtual QString | serverName () const |
| Returns the server address configured for the current connection. | |
| virtual quint16 | serverPort () const |
Private Slots | |
| void | itemFromServer (const ServerMessage &item) |
Private Attributes | |
| LocalServerInterface * | lsi |
| LocalClient::LocalClient | ( | LocalServerInterface * | _lsi, |
| const QString & | _playerName, | ||
| const QString & | _clientId, | ||
| QObject * | parent = nullptr ) |
|
override |
|
privateslot |
|
overridevirtual |
|
private |