feat(net): add Login::IsLoggedOn (#106)

This commit is contained in:
Tristan 'Natrist' Cormier 2025-10-08 13:21:48 -04:00 committed by GitHub
parent 56aad5b60f
commit d27f6e45fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,10 @@ bool Login::IsReconnect() {
return this->m_reconnect; return this->m_reconnect;
} }
bool Login::IsLoggedOn() {
return this->m_loggedOn;
}
bool Login::OnlineIdle() { bool Login::OnlineIdle() {
// TODO // TODO

View File

@ -22,6 +22,7 @@ class Login : public Grunt::ClientResponse {
virtual bool OnlineIdle(); virtual bool OnlineIdle();
virtual void RealmListResult(CDataStore* msg); virtual void RealmListResult(CDataStore* msg);
virtual bool IsReconnect(); virtual bool IsReconnect();
virtual bool IsLoggedOn();
// Member functions // Member functions
void SetLogonCreds(const char* accountName, const char* password); void SetLogonCreds(const char* accountName, const char* password);