mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 08:42:45 +03:00
chore(net): inline call to Initiate
This commit is contained in:
parent
9ebb798bda
commit
be72757bdf
@ -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();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user