mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 19:22:30 +00:00
feat(net): handle get version proof
This commit is contained in:
parent
59a0883529
commit
85a9f8bde8
5 changed files with 33 additions and 4 deletions
|
|
@ -88,8 +88,14 @@ void GruntLogin::GetRealmList() {
|
|||
// TODO
|
||||
}
|
||||
|
||||
void GruntLogin::GetVersionProof(const uint8_t* a2) {
|
||||
// TODO
|
||||
void GruntLogin::GetVersionProof(const uint8_t* crcSalt) {
|
||||
if (this->IsReconnect()) {
|
||||
// TODO
|
||||
} else {
|
||||
memcpy(this->m_crcSalt, crcSalt, sizeof(this->m_crcSalt));
|
||||
LOGIN_STATE nextState = this->NextSecurityState(LOGIN_STATE_FIRST_SECURITY);
|
||||
this->m_loginResponse->UpdateLoginStatus(nextState, LOGIN_OK, nullptr, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void GruntLogin::Init(LoginResponse* loginResponse) {
|
||||
|
|
@ -133,6 +139,11 @@ void GruntLogin::LogonResult(Grunt::Result result, const uint8_t* a3, uint32_t a
|
|||
// TODO
|
||||
}
|
||||
|
||||
LOGIN_STATE GruntLogin::NextSecurityState(LOGIN_STATE state) {
|
||||
// TODO
|
||||
return LOGIN_STATE_CHECKINGVERSIONS;
|
||||
}
|
||||
|
||||
void GruntLogin::SetMatrixInfo(bool enabled, uint8_t a3, uint8_t a4, uint8_t a5, uint8_t a6, bool a7, uint8_t a8, uint64_t a9, const uint8_t* a10, uint32_t a11) {
|
||||
// TODO
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue