feat(net): use name found in various builds for LOGIN_STATE_15

This commit is contained in:
fallenoak 2025-09-29 20:08:49 -05:00
parent 2b3458769f
commit b8062f3061
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ GruntLogin::~GruntLogin() {
bool GruntLogin::Connected(const NETADDR& addr) { bool GruntLogin::Connected(const NETADDR& addr) {
this->m_loggedOn = true; this->m_loggedOn = true;
this->m_loginResponse->m_loginState = LOGIN_STATE_15; this->m_loginResponse->m_loginState = LOGIN_STATE_CONNECTED;
this->m_loginResponse->m_loginResult = LOGIN_OK; this->m_loginResponse->m_loginResult = LOGIN_OK;
char addrStr[32]; char addrStr[32];
@ -21,7 +21,7 @@ bool GruntLogin::Connected(const NETADDR& addr) {
// OsNetAddrToStr(addr, addrStr, sizeof(addrStr)); // OsNetAddrToStr(addr, addrStr, sizeof(addrStr));
this->m_loginResponse->UpdateLoginStatus( this->m_loginResponse->UpdateLoginStatus(
LOGIN_STATE_15, LOGIN_STATE_CONNECTED,
LOGIN_OK, LOGIN_OK,
addrStr, addrStr,
0x0 0x0

View File

@ -66,7 +66,7 @@ enum LOGIN_STATE {
LOGIN_STATE_TOKEN = 12, LOGIN_STATE_TOKEN = 12,
LOGIN_STATE_TOKEN_WAIT = 13, LOGIN_STATE_TOKEN_WAIT = 13,
LOGIN_STATE_CHECKINGVERSIONS = 14, LOGIN_STATE_CHECKINGVERSIONS = 14,
LOGIN_STATE_15 = 15, // RESPONSE_CONNECTED LOGIN_STATE_CONNECTED = 15,
LOGIN_STATE_DISCONNECTED = 16, LOGIN_STATE_DISCONNECTED = 16,
LOGIN_STATE_SURVEY = 17, LOGIN_STATE_SURVEY = 17,
LOGIN_STATE_MAX = 18, LOGIN_STATE_MAX = 18,