bilibili-API-collect/grpc_api/bilibili/app/playerunite/ugcanymodel/ugcanymodel.proto
2023-10-04 12:06:32 +08:00

40 lines
658 B
Protocol Buffer

syntax = "proto3";
package bilibili.app.playerunite.ugcanymodel;
//
message ButtonStyle {
string text = 1;
string text_color = 2;
string bg_color = 3;
string jump_link = 4;
}
// 播放限制
enum PlayLimitCode {
//
PLC_UNKNOWN = 0;
// 未付费
PLC_NOTPAYED = 1;
//
PLC_ChargingPlusNotPass = 2;
//
PLC_ChargingPlusUpgrade = 3;
//
PLC_ChargingPlusReject = 4;
}
//
message PlayLimit {
PlayLimitCode code = 1;
string message = 2;
string sub_message = 3;
ButtonStyle button = 4;
}
//
message UGCAnyModel {
PlayLimit play_limit = 1;
}