feat(net): add message buffer fields to WowConnection

This commit is contained in:
fallenoak 2023-02-21 11:22:38 -06:00
parent 023a3ea893
commit 75982f4091
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
2 changed files with 9 additions and 0 deletions

View file

@ -462,6 +462,12 @@ void WowConnection::Init(WowConnectionResponse* response, void (*func)(void)) {
// TODO
this->m_readBuffer = nullptr;
this->m_readBytes = 0;
this->m_readBufferSize = 0;
// TODO
this->SetState(WOWC_INITIALIZED);
this->m_type = WOWC_TYPE_MESSAGES;
}