mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(net): add Login::IsLoggedOn (#106)
This commit is contained in:
parent
56aad5b60f
commit
d27f6e45fd
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user