feat(client): implement ClientRealmResponseAdapter::CharacterListReceived

This commit is contained in:
fallenoak 2025-10-04 23:37:59 -05:00
parent a3d87bfd56
commit 7a020888b0
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -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) {