You've already forked XiguaLiveDanmakuHelper
解析成功,待继续发掘有用数据
This commit is contained in:
35
Demo/XiguaCommon.proto
Normal file
35
Demo/XiguaCommon.proto
Normal file
@ -0,0 +1,35 @@
|
||||
syntax = "proto2";
|
||||
import "XiguaUser.proto";
|
||||
import "XiguaGift.proto";
|
||||
// 样式
|
||||
message Style {
|
||||
optional string color = 1;
|
||||
optional int32 fontWeight = 4;
|
||||
}
|
||||
// 参数
|
||||
message Params {
|
||||
// 1 字符串
|
||||
// 11 用户
|
||||
// 12 礼物
|
||||
required int32 type = 1;
|
||||
optional Style style = 2;
|
||||
optional string string = 11;
|
||||
optional User user = 21;
|
||||
optional Gift gift = 22;
|
||||
}
|
||||
// 自定义显示信息
|
||||
message DisplayText {
|
||||
// 参数
|
||||
required string method = 1;
|
||||
required string format = 2;
|
||||
optional Style bgStyle = 3;
|
||||
optional Params params = 4;
|
||||
}
|
||||
// 通用定义
|
||||
message CommonInfo {
|
||||
optional string method = 1;
|
||||
optional int32 msg_id = 2;
|
||||
optional int32 room_id = 3;
|
||||
optional int32 create_time = 4;
|
||||
optional DisplayText displayText = 8;
|
||||
}
|
Reference in New Issue
Block a user