mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-10 00:28:23 +03:00
feat(client): add error handling to realm enum callback
This commit is contained in:
1 file changed
+2
-4
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user