syntax = "proto3";
option go_package = ".;pb";
import "martialhall/martialhall_db.proto";

///信息请求
message MartialhallInfoReq {}
///信息请求 回应
message MartialhallInfoResp { DBMartialhall info = 1; }
///练功请求
message MartialhallPracticeReq {
  int32 pillar = 1; //柱子
  string hero = 2;  //英雄
  int32 time = 3;   //修炼时长
}
///练功请求 回应
message MartialhallPracticeResp {
  bool issucc = 1; //是否成功
  DBMartialhall info = 2;
}

///领取 请求
message MartialhallReceiveReq { int32 pillar = 1; }
///领取 回应
message MartialhallReceiveResp {
  int32 pillar = 1;
}

///升级 请求
message MartialhallUpgradeReq {}

///升级 请求回应
message MartialhallUpgradeResp {
  bool issucc = 1;
  DBMartialhall info = 2;
}

///解锁 请求
message MartialhallUnLockReq {
  int32 pillar = 1; //柱子
}
///解锁 请求 回应
message MartialhallUnLockResp {
  bool issucc = 1;
  DBMartialhall info = 2;
}