From 7a020888b02e628a60483637bee24da73c0c2939 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sat, 4 Oct 2025 23:37:59 -0500 Subject: [PATCH] feat(client): implement ClientRealmResponseAdapter::CharacterListReceived --- src/client/ClientRealmResponseAdapter.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/client/ClientRealmResponseAdapter.cpp b/src/client/ClientRealmResponseAdapter.cpp index ec5e6a4..00edb34 100644 --- a/src/client/ClientRealmResponseAdapter.cpp +++ b/src/client/ClientRealmResponseAdapter.cpp @@ -5,7 +5,13 @@ void AccountDataInitialize(bool a1) { } void ClientRealmResponseAdapter::CharacterListReceived(RealmConnection* realmConnection, const TSFixedArray& characterList, int32_t listSuccess) { - // TODO + auto clientConnection = static_cast(realmConnection); + + if (listSuccess) { + clientConnection->Complete(1, 44); + } else { + clientConnection->Complete(0, 45); + } } void ClientRealmResponseAdapter::HandleAuthResponse(RealmConnection* realmConnection, uint8_t authResult) {