syntax = "proto2";

//抢头条
package HeadLineCmd;

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

//查询直播间组件， 返回HeadLineResult.HeadLineRoomComponent
message getRoomComponent {
  optional string roomId = 1; // 房间id
}

// 查询高光时刻累计进度， 返回HeadLineResult.BufferProcessData
message getBufferProcess {
  optional string roomId = 1; //房间id
  optional string giftId = 2; //礼物id
}


//查询用户的参与关注信息, 返回HeadLineResult.userParticipateData
message getUserParticipateData {
  optional string roomId = 1; //房间id
}

//关注参与，返回Result
message participate {
  optional string roomId = 1; //房间id
}

//查询参与结果信息 返回HeadLineResult.ParticipateResultInfo
message getParticipateResultInfo {
  optional string targetId = 1; // 本轮唯一id
  optional bool awarded = 2; // true-获奖查询，false-本轮结果查询
}