* Judge mode * Use seperate judge icon * Fix clang init ordering complaint * Create gavel.svg * Add judge level * Adjust judge permissions. * - Tag events caused by judges - Allow judges access to card right click menus. * Allow judges to change phase / turn. * Remove gavel from pawn * Make judge action text black. * Create scales * Rename scales to scales.svg * Use scales * remove gavel * - Address PR feedback - Fix sort order * Zach * add option to servatrice.ini
40 lines
885 B
Protocol Buffer
40 lines
885 B
Protocol Buffer
syntax = "proto2";
|
|
message AdminCommand {
|
|
enum AdminCommandType {
|
|
UPDATE_SERVER_MESSAGE = 1000;
|
|
SHUTDOWN_SERVER = 1001;
|
|
RELOAD_CONFIG = 1002;
|
|
ADJUST_MOD = 1003;
|
|
}
|
|
extensions 100 to max;
|
|
}
|
|
|
|
message Command_UpdateServerMessage {
|
|
extend AdminCommand {
|
|
optional Command_UpdateServerMessage ext = 1000;
|
|
}
|
|
}
|
|
|
|
message Command_ShutdownServer {
|
|
extend AdminCommand {
|
|
optional Command_ShutdownServer ext = 1001;
|
|
}
|
|
optional string reason = 1;
|
|
optional uint32 minutes = 2;
|
|
}
|
|
|
|
message Command_ReloadConfig {
|
|
extend AdminCommand {
|
|
optional Command_ReloadConfig ext = 1002;
|
|
}
|
|
}
|
|
|
|
message Command_AdjustMod {
|
|
extend AdminCommand {
|
|
optional Command_AdjustMod ext = 1003;
|
|
}
|
|
required string user_name = 1;
|
|
optional bool should_be_mod = 2;
|
|
optional bool should_be_judge = 3;
|
|
}
|
|
|