mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -07:00
added responses + events
This commit is contained in:
parent
26f0f0df0e
commit
ca9122b9fb
84 changed files with 815 additions and 1482 deletions
21
common/pb/proto/serverinfo_user.proto
Normal file
21
common/pb/proto/serverinfo_user.proto
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
message ServerInfo_User {
|
||||
enum UserLevelFlags {
|
||||
IsNothing = 0;
|
||||
IsUser = 1;
|
||||
IsRegistered = 2;
|
||||
IsModerator = 4;
|
||||
IsAdmin = 8;
|
||||
};
|
||||
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;
|
||||
optional string country = 6;
|
||||
optional bytes avatar_bmp = 7;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue