thunderbrew/src/net/login/LoginResponse.cpp

13 lines
392 B
C++
Raw Normal View History

2023-01-09 07:49:49 -06:00
#include "net/login/LoginResponse.hpp"
void LoginResponse::UpdateLoginStatus(LOGIN_STATE state, LOGIN_RESULT result, const char* a4, uint16_t a5) {
this->m_loginState = state;
this->m_loginResult = result;
// TODO string lookups
const char* stateStr = nullptr;
const char* resultStr = nullptr;
this->LoginServerStatus(state, result, a4, stateStr, resultStr, a5);
}