mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
[Commands] Add #show aas Command (#3710)
# Notes - Allows operators to view AAs a player has purchased from ingame and their ranks.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#include "../../client.h"
|
||||
|
||||
void ShowAAs(Client *c, const Seperator *sep)
|
||||
{
|
||||
Client *t = c;
|
||||
if (c->GetTarget() && c->GetTarget()->IsClient()) {
|
||||
t = c->GetTarget()->CastToClient();
|
||||
}
|
||||
|
||||
const std::string& search_criteria = sep->argnum >= 2 ? sep->argplus[2] : std::string();
|
||||
|
||||
t->ListPurchasedAAs(c, search_criteria);
|
||||
}
|
||||
Reference in New Issue
Block a user