mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 04:06:23 +01:00
login/logout/ctrl+g working correctly
This commit is contained in:
@@ -44,6 +44,20 @@ void Protocol::disconnect()
|
||||
}
|
||||
}
|
||||
|
||||
bool Protocol::isConnected()
|
||||
{
|
||||
if(m_connection && m_connection->isConnected())
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Protocol::isConnecting()
|
||||
{
|
||||
if(m_connection && m_connection->isConnecting())
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
void Protocol::send(OutputMessage& outputMessage)
|
||||
{
|
||||
// encrypt
|
||||
|
||||
Reference in New Issue
Block a user