mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 11:02:44 +03:00
feat(net): add LoginData getter to NetClient
This commit is contained in:
parent
0a35f03b29
commit
fc622cceed
@ -170,6 +170,10 @@ bool NetClient::GetDelete() {
|
|||||||
return this->m_deleteMe;
|
return this->m_deleteMe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const LoginData& NetClient::GetLoginData() {
|
||||||
|
return this->m_loginData;
|
||||||
|
}
|
||||||
|
|
||||||
NETSTATE NetClient::GetState() {
|
NETSTATE NetClient::GetState() {
|
||||||
return this->m_netState;
|
return this->m_netState;
|
||||||
}
|
}
|
||||||
|
@ -65,6 +65,7 @@ class NetClient : public WowConnectionResponse {
|
|||||||
int32_t ConnectInternal(const char* host, uint16_t port);
|
int32_t ConnectInternal(const char* host, uint16_t port);
|
||||||
void DelRef();
|
void DelRef();
|
||||||
bool GetDelete();
|
bool GetDelete();
|
||||||
|
const LoginData& GetLoginData();
|
||||||
NETSTATE GetState();
|
NETSTATE GetState();
|
||||||
void HandleIdle();
|
void HandleIdle();
|
||||||
int32_t Initialize();
|
int32_t Initialize();
|
||||||
|
Loading…
Reference in New Issue
Block a user