mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
# Notes - Allows operators to view AAs a player has purchased from ingame and their ranks.
14 lines
321 B
C++
14 lines
321 B
C++
#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);
|
|
}
|