syntax = "proto2";

package GameResult;

//option optimize_for = LITE_RUNTIME;

option java_package = "com.miaole.live.protocol.response";
option java_outer_classname = "GameResult";

//公会大牛游戏排行
message GameList {
	repeated GameVo games = 1;
}

message GameVo {
	optional string gameId = 1;//游戏ID
	optional int32 unionNum = 2;//入驻的公会数量(公会大牛列表需要返回)
}

//我的游戏列表
message MyGameList {
	repeated string gameIds = 1;//游戏数据
}

//游戏活动数据
message GameActivityList {
	repeated ActivityVo activities = 1;
	
}

message ActivityVo {
	optional string activityId = 1;//活动编号
	optional int32 userCount = 2;//游戏人数
}

//游戏榜单数据
message GameRankingList {
	repeated string gameIds = 1;//游戏ID	
}

//游戏推荐数据
message GameRecommendList {
	repeated string gameIds = 1;//游戏ID	
}

message MyPayGameInfoResult {
	repeated MyPayGameInfoVo vos = 1;
}

message MyPayGameInfoVo {
	optional string gameId  = 1;//游戏ID
	optional int32 conLoginDay  = 2;//连续登陆天次
	optional int32 giftNum = 3;//可领取的礼包数量
}

// 在玩人数列表
message GamePlayCountList {
	repeated GamePlayCount list = 1;
}

message GamePlayCount {
	optional string gameId  = 1;//游戏ID
	optional int32 count = 2;//在玩人数
}

// 游戏在玩人数与是否关注
message GamePlayData {
	optional int32 count = 1;//在玩人数
	optional bool isFocus = 2;//是否关注
}

message CommentData {
	repeated CommentVo list = 1;//评论列表
	optional int64 total = 2;//评论总数
}

message CommentVo {
	optional string id = 1;//评论ID
	optional string userId = 2;//评论的用户ID
	optional string content = 3;//评论内容
	optional int64 commentTime = 4;//评论时间（服务器时间戳）
	optional int32 likeNum = 5;//点赞次数
	optional bool like = 6;//我是否有点赞
	optional int32 replyNum = 7;//回复的条数
	repeated CommentVo replyList = 8;//回复的列表
}
