mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 00:32:45 +03:00
feat(client): implement ClientRealmResponseAdapter::CharacterListReceived
This commit is contained in:
parent
a3d87bfd56
commit
7a020888b0
@ -5,7 +5,13 @@ void AccountDataInitialize(bool a1) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ClientRealmResponseAdapter::CharacterListReceived(RealmConnection* realmConnection, const TSFixedArray<CHARACTER_INFO>& characterList, int32_t listSuccess) {
|
void ClientRealmResponseAdapter::CharacterListReceived(RealmConnection* realmConnection, const TSFixedArray<CHARACTER_INFO>& characterList, int32_t listSuccess) {
|
||||||
// TODO
|
auto clientConnection = static_cast<ClientConnection*>(realmConnection);
|
||||||
|
|
||||||
|
if (listSuccess) {
|
||||||
|
clientConnection->Complete(1, 44);
|
||||||
|
} else {
|
||||||
|
clientConnection->Complete(0, 45);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ClientRealmResponseAdapter::HandleAuthResponse(RealmConnection* realmConnection, uint8_t authResult) {
|
void ClientRealmResponseAdapter::HandleAuthResponse(RealmConnection* realmConnection, uint8_t authResult) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user