feat(net): add LoginData getter to NetClient

This commit is contained in:
fallenoak 2023-03-23 17:02:00 -05:00
parent 0a35f03b29
commit fc622cceed
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 5 additions and 0 deletions

View File

@ -170,6 +170,10 @@ bool NetClient::GetDelete() {
return this->m_deleteMe;
}
const LoginData& NetClient::GetLoginData() {
return this->m_loginData;
}
NETSTATE NetClient::GetState() {
return this->m_netState;
}

View File

@ -65,6 +65,7 @@ class NetClient : public WowConnectionResponse {
int32_t ConnectInternal(const char* host, uint16_t port);
void DelRef();
bool GetDelete();
const LoginData& GetLoginData();
NETSTATE GetState();
void HandleIdle();
int32_t Initialize();