mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(net): parse realm list
This commit is contained in:
parent
fc7fa1dbdc
commit
22bfe894d2
10 changed files with 222 additions and 3 deletions
|
|
@ -93,6 +93,14 @@ void ClientServices::SetAccountName(const char* accountName) {
|
|||
SStrCopy(ClientServices::s_accountName, accountName, sizeof(ClientServices::s_accountName));
|
||||
}
|
||||
|
||||
int32_t ClientServices::GetLoginServerType() {
|
||||
if (!ClientServices::LoginConnection()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return ClientServices::LoginConnection()->GetLoginServerType();
|
||||
}
|
||||
|
||||
void ClientServices::LoginServerStatus(LOGIN_STATE state, LOGIN_RESULT result, const char* addrStr, const char* stateStr, const char* resultStr, uint8_t flags) {
|
||||
CGlueMgr::SetLoginStateAndResult(state, result, addrStr, stateStr, resultStr, flags);
|
||||
|
||||
|
|
@ -119,3 +127,7 @@ void ClientServices::LoginServerStatus(LOGIN_STATE state, LOGIN_RESULT result, c
|
|||
// TODO CVar::DeleteAccountCVars();
|
||||
}
|
||||
}
|
||||
|
||||
void ClientServices::RealmEnumCallback(uint32_t a2) {
|
||||
// TODO
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue