chore(net): inline call to Initiate

This commit is contained in:
fallenoak 2025-10-08 22:15:38 -05:00 committed by GitHub
parent 9ebb798bda
commit be72757bdf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,12 +92,7 @@ void ClientConnection::GetCharacterList() {
} }
void ClientConnection::GetRealmList() { void ClientConnection::GetRealmList() {
this->m_cleanup = nullptr; this->Initiate(COP_GET_REALMS, 35, nullptr);
this->m_statusCop = COP_GET_REALMS;
this->m_errorCode = 35;
this->m_statusComplete = 0;
// TODO LogConnectionStatus(this->m_statusCop, this->m_errorCode, 1);
if (ClientServices::LoginConnection()->IsLoggedOn()) { if (ClientServices::LoginConnection()->IsLoggedOn()) {
ClientServices::LoginConnection()->GetRealmList(); ClientServices::LoginConnection()->GetRealmList();