syntax = "proto2";
package GiftWallCmd;

option java_package = "com.miaole.live.protocol.request";
option java_outer_classname = "GiftWallCmd";

// 01 通过用户ID获取礼物墙首页信息 返回值:GiftWallResult.GiftWallIndexInfo
message getGiftWallByUserId{
  optional string userId = 1;                   // 被查看的用户ID
  optional int32 type = 2;                      // tab 0-点亮（default）；1-觉醒
}

// 02 通过礼物墙分类ID获取礼物墙信息 返回值:GiftWallResult.GiftWallInfos
message listGiftWallByCategoryId{
  optional string userId = 1;                   // 被查看的用户ID
  optional int32 categoryId = 2;                // 分类ID
  optional int32 sort = 3;                      // 排序规则 1=稀有度 2=数量 3= 价值
  optional int32 type = 4;                      // tab 0-点亮（default）；1-觉醒
}

// 03 通过礼物ID获取礼物墙卡片信息 返回值:GiftWallResult.GiftWallInfo
message getGiftWallInfo{
  optional string giftId = 1;                   // 礼物ID
}



//获取点亮的礼物数量 返回值:GiftWallResult.GiftWallDetail
message getGiftWallDetail {
  optional string userId = 1; //用户ID

}
//获取礼物宝盒列表   返回值:GiftWallResult.GiftWallInfos
message getGiftWallInfoList {
  optional int32  sortType  =1 ; //排序规则 1：稀有度 2: 数量 3: 价值
  optional string userId = 2; //userId
}