mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 11:38:49 -07:00
Added official warning messages moderators can use to inform users
This commit is contained in:
parent
1409b97490
commit
6ad2a59367
23 changed files with 429 additions and 7 deletions
10
common/pb/serverinfo_warning.proto
Normal file
10
common/pb/serverinfo_warning.proto
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
syntax = "proto2";
|
||||
/*
|
||||
* Historical warning information stored in the warnings table
|
||||
*/
|
||||
message ServerInfo_Warning {
|
||||
optional string user_name = 1; // name of user being warned
|
||||
optional string admin_name = 2; // name of the moderator making the warning
|
||||
optional string reason = 3; // type of warning being placed
|
||||
optional string time_of = 4; // time of warning
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue