mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-24 18:33:03 -07:00
[UserContextMenu] Refactor: Consolidate actions (#7022)
This commit is contained in:
parent
baddbfae14
commit
430fc117b4
3 changed files with 45 additions and 89 deletions
|
|
@ -89,12 +89,14 @@ public:
|
|||
void execRemoveFromBuddy(const QString &userName);
|
||||
void execAddToIgnore(const QString &userName);
|
||||
void execRemoveFromIgnore(const QString &userName);
|
||||
void execKick(int playerId);
|
||||
void execBan(const QString &userName);
|
||||
void execWarn(const QString &userName);
|
||||
void execBanHistory(const QString &userName);
|
||||
void execWarnHistory(const QString &userName);
|
||||
void execAdminNotes(const QString &userName);
|
||||
void execAdjustMod(const QString &userName, bool shouldBeMod, bool shouldBeJudge);
|
||||
void execAdjustMod(const QString &userName, bool shouldBeMod);
|
||||
void execAdjustJudge(const QString &userName, bool shouldBeJudge);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue