mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 20:35:58 +03:00
feat(client): add error handling to realm enum callback
This commit is contained in:
parent
3dc51289b8
commit
1575f6d83c
@ -191,14 +191,12 @@ void ClientServices::RealmEnumCallback(uint32_t a2) {
|
|||||||
auto connection = ClientServices::Connection();
|
auto connection = ClientServices::Connection();
|
||||||
|
|
||||||
if (a2 == 1) {
|
if (a2 == 1) {
|
||||||
// TODO
|
connection->SetStatus(0, 23);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (a2 == 2 || a2 == 3 || a2 == 4) {
|
if (a2 == 2 || a2 == 3 || a2 == 4) {
|
||||||
// TODO
|
connection->SetStatus(0, 37);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user