[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:
Alex King
2023-11-26 00:27:02 -05:00
committed by GitHub
parent 3a49d851ca
commit 692a90f3f0
5 changed files with 111 additions and 0 deletions
+2
View File
@@ -1,4 +1,5 @@
#include "../client.h"
#include "show/aas.cpp"
#include "show/aa_points.cpp"
#include "show/aggro.cpp"
#include "show/buffs.cpp"
@@ -56,6 +57,7 @@ void command_show(Client *c, const Seperator *sep)
};
std::vector<Cmd> commands = {
Cmd{.cmd = "aas", .u = "aas", .fn = ShowAAs, .a = {"#showaas"}},
Cmd{.cmd = "aa_points", .u = "aa_points", .fn = ShowAAPoints, .a = {"#showaapoints", "#showaapts"}},
Cmd{.cmd = "aggro", .u = "aggro [Distance] [-v] (-v is verbose Faction Information)", .fn = ShowAggro, .a = {"#aggro"}},
Cmd{.cmd = "buffs", .u = "buffs", .fn = ShowBuffs, .a = {"#showbuffs"}},