servatrice/common/pb/serverinfo_user.proto
Rob Blanckaert ea8201af5c Judge mode (#3531)
* 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
2019-02-21 14:00:00 -05:00

30 lines
842 B
Protocol Buffer

syntax = "proto2";
message ServerInfo_User {
enum UserLevelFlag {
IsNothing = 0;
IsUser = 1;
IsRegistered = 2;
IsModerator = 4;
IsAdmin = 8;
IsJudge = 16;
};
enum Gender {
GenderUnknown = -1;
Male = 0;
Female = 1;
};
optional string name = 1;
optional uint32 user_level = 2;
optional string address = 3;
optional string real_name = 4;
optional Gender gender = 5 [default = GenderUnknown];
optional string country = 6;
optional bytes avatar_bmp = 7;
optional sint32 id = 8 [default = -1];
optional sint32 server_id = 9 [default = -1];
optional uint64 session_id = 10;
optional uint64 accountage_secs = 11;
optional string email = 12;
optional string clientid = 13;
optional string privlevel = 14;
}