mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 12:03:25 -08:00
[Server/Client/Protocol] Let moderators clear banner cards (#7546)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
b4e24f958a
commit
93309e01a2
12 changed files with 366 additions and 14 deletions
|
|
@ -20,6 +20,8 @@ message ModeratorCommand {
|
|||
GET_MODERATOR_LAST_LOGINS = 1015;
|
||||
RESET_USER_PASSWORD = 1016;
|
||||
REMOVE_USER_AVATAR = 1017;
|
||||
REMOVE_USER_BANNER = 1018;
|
||||
CLEAR_BLACKLISTED_BANNERS = 1019;
|
||||
REPORT_LIST = 1200;
|
||||
REPORT_ASSIGN = 1201;
|
||||
REPORT_RESOLVE = 1202;
|
||||
|
|
@ -179,3 +181,16 @@ message Command_RemoveUserAvatar {
|
|||
}
|
||||
optional string user_name = 1;
|
||||
}
|
||||
|
||||
message Command_RemoveUserBanner {
|
||||
extend ModeratorCommand {
|
||||
optional Command_RemoveUserBanner ext = 1018;
|
||||
}
|
||||
optional string user_name = 1;
|
||||
}
|
||||
|
||||
message Command_ClearBlacklistedBanners {
|
||||
extend ModeratorCommand {
|
||||
optional Command_ClearBlacklistedBanners ext = 1019;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue