Merge pull request #79 from AttorneyOnline/command-split
Move cmdAfk to messaging category
This commit is contained in:
commit
068f605c64
@ -1439,6 +1439,15 @@ class AOClient : public QObject {
|
||||
*/
|
||||
void cmdUnShake(int argc, QStringList argv);
|
||||
|
||||
/**
|
||||
* @brief Toggles whether this client is considered AFK.
|
||||
*
|
||||
* @details No arguments.
|
||||
*
|
||||
* @iscommand
|
||||
*/
|
||||
void cmdAfk(int argc, QStringList argv);
|
||||
|
||||
///@}
|
||||
|
||||
/**
|
||||
@ -1588,16 +1597,6 @@ class AOClient : public QObject {
|
||||
*/
|
||||
void cmdCurrentMusic(int argc, QStringList argv);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Toggles whether this client is considered AFK.
|
||||
*
|
||||
* @details No arguments.
|
||||
*
|
||||
* @iscommand
|
||||
*/
|
||||
void cmdAfk(int argc, QStringList argv);
|
||||
|
||||
///@}
|
||||
|
||||
/**
|
||||
|
@ -310,9 +310,3 @@ void AOClient::cmdJudgeLog(int argc, QStringList argv)
|
||||
sendServerMessage(filteredmessage);
|
||||
}
|
||||
}
|
||||
|
||||
void AOClient::cmdAfk(int argc, QStringList argv)
|
||||
{
|
||||
is_afk = true;
|
||||
sendServerMessage("You are now AFK.");
|
||||
}
|
||||
|
@ -274,3 +274,9 @@ void AOClient::cmdUnShake(int argc, QStringList argv)
|
||||
}
|
||||
target->is_shaken = false;
|
||||
}
|
||||
|
||||
void AOClient::cmdAfk(int argc, QStringList argv)
|
||||
{
|
||||
is_afk = true;
|
||||
sendServerMessage("You are now AFK.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user