syntax = "proto2";

package ResourceResult;

//option optimize_for = LITE_RUNTIME;

option java_package = "com.miaole.live.protocol.response";
option java_outer_classname = "ResourceResult";

message UploadData {
  repeated UploadInfo infos = 1;//
}

message UploadInfo {
  optional string logoType = 1;//上传参数logoType
  optional string filePath = 2;//上传资源完整路径
}

message Musics {
  repeated MusicInfo list = 1;
}

//音乐信息
message MusicInfo {
  optional string id = 1;//id
  optional string name = 2;//名称
  optional string singer = 3;//歌手
  optional string uploader = 4;//上传人id
  optional string uploaderName = 5;//上传人昵称
  optional int32 uploaderLogoTime = 6;//上传人logoTime
  optional string uploaderThirdUrl = 7;//上传人第三方头像
  optional string downloadURL = 8;//文件名，需要拼接：资源服/app/music/downloadURL
  optional double fileSize = 9;//文件名
  optional int32 musicTime = 10;//音乐时长，单位s
  optional int64 seat = 11;//序号
}

message AuthorityGiftList{
  repeated AuthorityGift list = 1;
}

message AuthorityGift {
  optional string giftId = 1; //礼物id
  optional bool isLock = 2; //是否已解锁
  optional int32 levelType = 3; //礼物类型， 1-财富等级礼物， 2-贵族等级礼物，3-守护团等级礼物 4-兄弟团 5-vip
  optional int32 levelLimit = 4; //礼物等级下限
  optional double giftRadio = 5; //送财富等级礼物增加的经验倍数
  optional int32 releaseLockNobleId = 6; //解锁财富等级需要的贵族id
  optional string  tagName = 7 ; //标签名称
  optional string desc = 8; //文案
}

message CountDownGiftInfo {
  optional int64 countdown = 1; //倒计时时间
}

message ActivityGiftList{
  repeated ActivityGift list = 1;
}

message ActivityGift {
  optional string giftId = 1; //礼物id
  optional bool isLock = 2; //是否已解锁
  optional int32 lockJumpType = 3;//锁定跳转类型 0-默认不跳/1-h5半屏
  optional string jumpParam = 4 ; //跳转配置 地址
}

//废弃
message CoinShopRechargeResult {

}

//废弃
message CoinShopRechargeInfo {

}