更新下proto

This commit is contained in:
Jerry Yan 2019-12-31 10:48:36 +08:00
parent 4da7e0c85d
commit a14d1361bb
3 changed files with 8610 additions and 9 deletions

View File

@ -4,9 +4,10 @@ message User {
//
message Avatar {
optional string url = 1;
optional string id = 2;
}
//
message Prefix {
message Badge {
message FanClubText {
required string text = 1;
optional string color = 2;
@ -14,23 +15,37 @@ message User {
}
repeated string url = 1;
optional string localUrl = 2;
optional int32 height = 3;
optional int32 width = 4;
// 3
// 6
// 7
optional int32 type = 6;
optional string clickTo = 7;
optional FanClubText fanClub = 8;
optional FanClubText fanClubText = 8;
}
//
message PayGrade {
required int32 level = 6;
optional int32 level = 6 [default = 0];
optional string unknownThing = 13;
optional Prefix prefix = 19;
required Badge badge = 19;
}
//
message HonorLevel {
required Prefix rpefix = 19;
required Badge badge = 19;
}
//
message Noble {
}
required int32 id = 1;
required string nickname = 3;
optional Avatar avatar = 9;
repeated Prefix prefix = 21;
required int32 gender = 4;
//
required Avatar avatarThumb = 9;
optional Avatar avatarMedium = 10;
optional Avatar avatarLarge = 11;
repeated Badge badge = 21;
required PayGrade payGrade = 23;
}
//
@ -55,9 +70,12 @@ message XiguaLiveRoom {
//
message Common {
//
message CustomDisplay {
message DisplayText {
//
message Params {
// 1
// 11
// 12
required int32 type = 1;
optional Style style = 2;
optional string string = 11;
@ -73,7 +91,7 @@ message XiguaLiveRoom {
optional int32 msg_id = 2;
optional int32 room_id = 3;
optional int32 create_time = 4;
optional CustomDisplay customDisplay = 8;
optional DisplayText displayText = 8;
}
required Common common = 1;
optional string content = 3;

2576
Demo/result4.json Normal file

File diff suppressed because it is too large Load Diff

6007
Demo/result4.txt Normal file

File diff suppressed because it is too large Load Diff