feat(client): add error handling to realm enum callback

This commit is contained in:
fallenoak 2023-02-12 15:17:06 -06:00
parent 3dc51289b8
commit 1575f6d83c
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -191,14 +191,12 @@ void ClientServices::RealmEnumCallback(uint32_t a2) {
auto connection = ClientServices::Connection();
if (a2 == 1) {
// TODO
connection->SetStatus(0, 23);
return;
}
if (a2 == 2 || a2 == 3 || a2 == 4) {
// TODO
connection->SetStatus(0, 37);
return;
}