#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) |
| bool | getServerSupportsPasswordHash () const |
| const QString & | getUserName () const |
Private Slots | |
| void | itemFromServer (const ServerMessage &item) |
Private Attributes | |
| LocalServerInterface * | lsi |
Additional Inherited Members | |
| Signals inherited from AbstractClient | |
| void | statusChanged (ClientStatus _status) |
| void | maxPingTime (int seconds, int maxSeconds) |
| void | roomEventReceived (const RoomEvent &event) |
| void | gameEventContainerReceived (const GameEventContainer &event) |
| void | serverIdentificationEventReceived (const Event_ServerIdentification &event) |
| void | connectionClosedEventReceived (const Event_ConnectionClosed &event) |
| void | serverShutdownEventReceived (const Event_ServerShutdown &event) |
| void | addToListEventReceived (const Event_AddToList &event) |
| void | removeFromListEventReceived (const Event_RemoveFromList &event) |
| void | userJoinedEventReceived (const Event_UserJoined &event) |
| void | userLeftEventReceived (const Event_UserLeft &event) |
| void | serverMessageEventReceived (const Event_ServerMessage &event) |
| void | listRoomsEventReceived (const Event_ListRooms &event) |
| void | gameJoinedEventReceived (const Event_GameJoined &event) |
| void | userMessageEventReceived (const Event_UserMessage &event) |
| void | notifyUserEventReceived (const Event_NotifyUser &event) |
| void | userInfoChanged (const ServerInfo_User &userInfo) |
| void | buddyListReceived (const QList< ServerInfo_User > &buddyList) |
| void | ignoreListReceived (const QList< ServerInfo_User > &ignoreList) |
| void | replayAddedEventReceived (const Event_ReplayAdded &event) |
| void | registerAccepted () |
| void | registerAcceptedNeedsActivate () |
| void | activateAccepted () |
| void | sigQueuePendingCommand (PendingCommand *pend) |
| Static Public Member Functions inherited from AbstractClient | |
| static PendingCommand * | prepareSessionCommand (const ::google::protobuf::Message &cmd) |
| static PendingCommand * | prepareRoomCommand (const ::google::protobuf::Message &cmd, int roomId) |
| static PendingCommand * | prepareModeratorCommand (const ::google::protobuf::Message &cmd) |
| static PendingCommand * | prepareAdminCommand (const ::google::protobuf::Message &cmd) |
| Public Attributes inherited from AbstractClient | |
| QMap< QString, bool > | clientFeatures |
| Protected Slots inherited from AbstractClient | |
| void | processProtocolItem (const ServerMessage &item) |
| Protected Member Functions inherited from AbstractClient | |
| void | setStatus (ClientStatus _status) |
| int | getNewCmdId () |
| Protected Attributes inherited from AbstractClient | |
| QMap< int, PendingCommand * > | pendingCommands |
| QString | userName |
| QString | password |
| QString | |
| QString | country |
| QString | realName |
| QString | token |
| bool | serverSupportsPasswordHash |
| LocalClient::LocalClient | ( | LocalServerInterface * | _lsi, |
| const QString & | _playerName, | ||
| const QString & | _clientId, | ||
| QObject * | parent = nullptr ) |
|
override |
|
privateslot |
|
overridevirtual |
|
private |