mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 06:52:15 -07:00
Add a wrapper.
Took 35 minutes
This commit is contained in:
parent
e5f23f1906
commit
1d1de904e0
164 changed files with 25 additions and 34 deletions
31
libs/protocol/pb/serverinfo_user.proto
Normal file
31
libs/protocol/pb/serverinfo_user.proto
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
syntax = "proto2";
|
||||
message ServerInfo_User {
|
||||
enum UserLevelFlag {
|
||||
IsNothing = 0;
|
||||
IsUser = 1;
|
||||
IsRegistered = 2;
|
||||
IsModerator = 4;
|
||||
IsAdmin = 8;
|
||||
IsJudge = 16;
|
||||
};
|
||||
message PawnColorsOverride {
|
||||
optional string left_side = 1;
|
||||
optional string right_side = 2;
|
||||
};
|
||||
|
||||
optional string name = 1;
|
||||
optional uint32 user_level = 2;
|
||||
optional string address = 3;
|
||||
optional string real_name = 4;
|
||||
// gender = 5; // obsolete
|
||||
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;
|
||||
optional PawnColorsOverride pawn_colors = 15;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue