syntax = "proto2";

package HongBaoRainCmd;

//option optimize_for = LITE_RUNTIME;

option java_package = "com.miaole.live.protocol.request";
option java_outer_classname = "HongBaoRainCmd";


//房间红包雨信息 返回:HongBaoRainResult.RoomHongBaoRainInfo
message getRoomHongBaoRainInfo {
	optional string roomId = 1;//房间id
}

//红包雨开奖结果排行榜 返回:HongBaoRainResult.HongBaoRainResultRank
message getHongBaoRainRank {
    required string hongbaoId = 1;// 红包id
}

// 查询有红包雨房间id列表 返回:CommonResult.StringArrayResult
message getHongBaoRainRoomIds {
}

// 红包雨开奖结果，返回:HongBaoRainResult.HongBaoOpenInfo
message getHongBaoOpenInfo {
	required string hongbaoId = 1;// 红包id
}

// 查询有红包雨房间列表，返回:HongBaoRainResult.HongBaoRainRooms
message getHongBaoRainRooms {
}

// 查询用户红包等级，返回:HongBaoRainResult.UserHongBaoLevelInfo
message getUserHongBaoLevelInfo {
	required string userId = 1;// 用户id
}

// 查询房间准备触发红包雨列表，返回:HongBaoRainResult.RoomHongBaoList
message getRoomHongBaoList {
	required string roomId = 1;// 房间id
	optional int32 before = 2;// 取前几条
}

// 红包雨开奖结果，返回:HongBaoRainResult.HongBaoOpenInfo
message getHongBaoRainResultInfo {
	required string hongbaoId = 1;// 红包id
}

//用户活动礼物累计详情，返回:HongBaoRainResult.UserHongBaoLevelInfo
message getUserHongbaoTaskDetail{
	required string userId = 1;// 送礼对象用户id
}

//查询用户的红包雨信息， 返回HongBaoRainResult.RoomCornerRainInfo
message getRoomRainInfo {
	required string roomId = 1; //房间id
}

//查询大厅有红包雨的房间, 返回HongBaoRainResult.HallRoomLevelInfo
message getHallRoomLevelInfo {

}