mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-02-04 17:19:09 +00:00
feat(net): update RealmConnection::HandleCharEnum to use virtual call of RealmResponse::CharacterListReceived
This commit is contained in:
parent
ebf5c66420
commit
64dc5f3aae
4 changed files with 16 additions and 10 deletions
|
|
@ -16,3 +16,13 @@ void ClientRealmResponseAdapter::HandleAuthResponse(RealmConnection* realmConnec
|
|||
|
||||
AccountDataInitialize(true);
|
||||
}
|
||||
|
||||
void ClientRealmResponseAdapter::CharacterListReceived(RealmConnection* realmConnection, void* a2, int32_t success) {
|
||||
auto clientConnection = static_cast<ClientConnection*>(realmConnection);
|
||||
|
||||
if (success) {
|
||||
clientConnection->Complete(1, 44);
|
||||
} else {
|
||||
clientConnection->Complete(1, 45);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue