syntax = "proto3";
option go_package = ".;pb";
import "hunting/hunting_db.proto";
import "battle/battle_msg.proto";
message HuntingGetListReq {

}

message HuntingGetListResp { 
    DBHunting data = 1; 
}

// 挑战
message HuntingChallengeReq {
    int32 bossType = 1;  // boos 类型
    int32 difficulty = 2; // 难度
	BattleFormation battle = 3; 
}

message HuntingChallengeResp {
    BattleInfo info = 1;
    int32 bossType = 2;  // boos 类型
    int32 difficulty = 3; // 难度
}

message HuntingChallengeOverReq {
    int32 bossType = 1;  // boos 类型
    int32 difficulty = 2; // 难度
    BattleReport report = 3; //战报
}

// 客户端通知服务器打赢了
message HuntingChallengeOverResp {
    DBHunting data = 1; 
}

// 购买
message HuntingBuyReq {
    int32 count = 1;// 购买次数
}

message HuntingBuyResp {
    DBHunting data = 1; 
}

// 排行榜
message HuntingRankListReq{
	int32 boosType = 1; // boss 类型
	bool friend = 2; // 是否是好友榜
}

message HuntingRankListResp{
    repeated DBHuntingRank ranks = 1; // 排行数据 有序的 注意boss类型
}