feat(net): add LoginData getter to NetClient

This commit is contained in:
fallenoak committed 2023-03-23 17:02:00 -05:00
1 parent 0a35f03b29
commit fc622cceed
2 files changed
+5

No files matched your search

+4
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;
}
+1
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();