mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(net): add ClientServices::JoinRealmResult
This commit is contained in:
parent
3392c5b427
commit
6da008c942
@ -308,6 +308,10 @@ int32_t ClientServices::GetLoginServerType() {
|
||||
return ClientServices::LoginConnection()->GetLoginServerType();
|
||||
}
|
||||
|
||||
void ClientServices::JoinRealmResult(uint32_t addr, int32_t port, int32_t a3, int32_t a4) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
|
||||
@ -48,6 +48,7 @@ class ClientServices : public LoginResponse {
|
||||
// Virtual member functions
|
||||
virtual const char* GetLoginServer();
|
||||
virtual int32_t GetLoginServerType();
|
||||
virtual void JoinRealmResult(uint32_t addr, int32_t port, int32_t a3, int32_t a4);
|
||||
virtual void LoginServerStatus(LOGIN_STATE state, LOGIN_RESULT result, const char* addrStr, const char* stateStr, const char* resultStr, uint8_t flags);
|
||||
virtual void RealmEnumCallback(uint32_t a2);
|
||||
};
|
||||
|
||||
@ -18,6 +18,7 @@ class LoginResponse {
|
||||
// Virtual member functions
|
||||
virtual const char* GetLoginServer() = 0;
|
||||
virtual int32_t GetLoginServerType() = 0;
|
||||
virtual void JoinRealmResult(uint32_t addr, int32_t port, int32_t a3, int32_t a4) = 0;
|
||||
virtual void LoginServerStatus(LOGIN_STATE state, LOGIN_RESULT result, const char* addrStr, const char* stateStr, const char* resultStr, uint8_t flags) = 0;
|
||||
virtual void RealmEnumCallback(uint32_t a2) = 0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user