feat(client): implement auth response handler in realm adapter

This commit is contained in:
fallenoak 2023-04-03 23:34:31 -05:00
parent 23d537103e
commit 1b27761d0c
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
5 changed files with 58 additions and 26 deletions

View file

@ -20,13 +20,16 @@ class ClientConnection : public RealmConnection {
ClientConnection(RealmResponse* realmResponse)
: RealmConnection(realmResponse)
{};
void AccountLogin_Finish(int32_t authResult);
void AccountLogin_Queued();
void Cancel(int32_t errorCode);
void Cleanup();
void Complete(int32_t result, int32_t errorCode);
void Connect();
int32_t Disconnect();
void Initiate(WOWCS_OPS op, int32_t errorCode, void (*cleanup)());
int32_t IsConnected();
int32_t PollStatus(WOWCS_OPS& op, const char** msg, int32_t& result, int32_t& errorCode);
void SetStatus(int32_t result, int32_t errorCode);
};
#endif