added responses + events

This commit is contained in:
Max-Wilhelm Bruker 2011-12-29 19:40:41 +01:00
parent 26f0f0df0e
commit ca9122b9fb
84 changed files with 815 additions and 1482 deletions

View 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;
}