战斗被动事件处理 新增特权
This commit is contained in:
parent
3c7cd6298d
commit
3a632f0d28
@ -3,8 +3,10 @@ package stonehenge
|
||||
import (
|
||||
"fmt"
|
||||
"go_dreamfactory/comm"
|
||||
"go_dreamfactory/modules/battle"
|
||||
"go_dreamfactory/pb"
|
||||
cfg "go_dreamfactory/sys/configure/structs"
|
||||
"math"
|
||||
)
|
||||
|
||||
//参数校验
|
||||
@ -120,19 +122,41 @@ func (this *apiComp) Battle(session comm.IUserSession, req *pb.StonehengeBattleR
|
||||
Ptype: pb.PlayType_stone,
|
||||
BattleEvents: battleConf.BattleReadyID,
|
||||
}
|
||||
// 石阵秘境战斗前准备
|
||||
// errdata, record := this.module.battle.CreatePveBattle(session, &pb.BattlePVEReq{
|
||||
// Rulesid: battleConf.BattleReadyID,
|
||||
// Ptype: pb.PlayType_mainline,
|
||||
// Title: "",
|
||||
// Format: req.Battle,
|
||||
// Mformat: battleConf.FormatList,
|
||||
// })
|
||||
|
||||
// if _, ok := stone.Rooms.Passive[EventType30]; ok {
|
||||
|
||||
// }
|
||||
// if _, ok := stone.Rooms.Passive[EventType31]; ok { // 扣我方血量
|
||||
|
||||
// }
|
||||
errdata, record := this.module.battle.CreateStoneBattle(session, stoneBattle)
|
||||
if errdata != nil {
|
||||
return
|
||||
}
|
||||
// 石阵秘境战斗前准备 主要是判断被动事件里 有没有 扣地方血量的事件
|
||||
|
||||
for k := range stone.Rooms.Passive {
|
||||
if conf, err = this.module.configure.GetStoneEventDataById(k); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ConfigNoFound,
|
||||
Title: pb.ErrorCode_ConfigNoFound.ToString(),
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
} else {
|
||||
if conf.EventType == EventType30 { //扣除每名敌方最大生命值
|
||||
for _, t := range record.Buleflist[0].Team {
|
||||
tmpHp := t.Property[battle.AttributesTransBase("hp")]
|
||||
t.Currhp -= int32(math.Floor(float64(tmpHp*conf.Value1) / 1000))
|
||||
}
|
||||
} else if conf.EventType == EventType31 {
|
||||
for _, t := range record.Redflist[0].Team {
|
||||
tmpHp := t.Property[battle.AttributesTransBase("hp")]
|
||||
t.Currhp -= int32(math.Floor(float64(tmpHp*conf.Value1) / 1000))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
update := make(map[string]interface{}, 0)
|
||||
stone.Rooms.Hero = fightHero
|
||||
update["rooms"] = stone.Rooms
|
||||
|
@ -154,6 +154,26 @@ func (this *apiComp) Event(session comm.IUserSession, req *pb.StonehengeEventReq
|
||||
stone.Hero[v.Oid].Currhp = 0
|
||||
}
|
||||
}
|
||||
for k, v := range stone.Rooms.Passive {
|
||||
if conf, err := this.module.configure.GetStoneEventDataById(k); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ConfigNoFound,
|
||||
Title: pb.ErrorCode_ConfigNoFound.ToString(),
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
} else {
|
||||
if conf.EventType == EventType30 { //扣除每名敌方最大生命值
|
||||
delete(stone.Rooms.Passive, k)
|
||||
} else if conf.EventType == EventType31 {
|
||||
v--
|
||||
if v <= 0 {
|
||||
delete(stone.Rooms.Passive, k)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stone.Rooms.Hero = []string{} // 上阵英雄清理
|
||||
update["hero"] = stone.Hero
|
||||
case EventType10: // 宝箱事件
|
||||
|
@ -91,6 +91,7 @@ func (this *apiComp) GotoRoom(session comm.IUserSession, req *pb.StonehengeGotoR
|
||||
Roomid: curRoomConf.RoomId, // 第一个房间的房间id读配置
|
||||
Box: map[int32]int32{}, // 重置宝箱事件
|
||||
Shop: map[int32]int32{}, // 商店事件
|
||||
Passive: map[int32]int32{}, // 被动事件
|
||||
}
|
||||
|
||||
if curRoomConf.EventrewardGroup != 0 { // 垃圾事件组
|
||||
|
@ -17,4 +17,6 @@ const (
|
||||
EventType26 = 26 // 所有1级buff强化至2级
|
||||
EventType28 = 28 // BOSS 战斗
|
||||
EventType29 = 29 // 商店强化
|
||||
EventType30 = 30 // 下场战斗,扣除敌方血量
|
||||
EventType31 = 31 // 持续N场战斗,战斗开始时扣除我方当前血量(千分比)
|
||||
)
|
||||
|
@ -131,6 +131,14 @@ func (this *MStonehenge) AddNewEvent(event []int32, stone *pb.DBStonehenge) {
|
||||
if _, ok := stone.Rooms.Box[newEventConf.EventId]; !ok {
|
||||
stone.Rooms.Box[newEventConf.EventId] = 0
|
||||
}
|
||||
case EventType30: // 下场战斗,扣除敌方血量
|
||||
if _, ok := stone.Rooms.Passive[newEventConf.EventId]; !ok {
|
||||
stone.Rooms.Box[newEventConf.EventId] = 1
|
||||
}
|
||||
case EventType31: // 持续N场战斗,战斗开始时扣除我方当前血量(千分比)
|
||||
if _, ok := stone.Rooms.Passive[newEventConf.EventId]; !ok {
|
||||
stone.Rooms.Box[newEventConf.EventId] = newEventConf.Value1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -74,13 +74,15 @@ type RoomData struct {
|
||||
Portal []int32 `protobuf:"varint,2,rep,packed,name=portal,proto3" json:"portal"` // 传送门id
|
||||
Selectbuff []int32 `protobuf:"varint,3,rep,packed,name=selectbuff,proto3" json:"selectbuff"` // 给前端显示的buff 组
|
||||
// map<int32,int32> group = 4; // 事件组
|
||||
Complete bool `protobuf:"varint,5,opt,name=complete,proto3" json:"complete"` // 房间是否通关
|
||||
Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index"` // 房间索引
|
||||
Roomid int32 `protobuf:"varint,7,opt,name=roomid,proto3" json:"roomid"` // 房间id
|
||||
Hero []string `protobuf:"bytes,8,rep,name=hero,proto3" json:"hero"` //上阵英雄 继承血量用
|
||||
Box map[int32]int32 `protobuf:"bytes,9,rep,name=box,proto3" json:"box" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 宝箱事件
|
||||
Story int32 `protobuf:"varint,10,opt,name=story,proto3" json:"story"` // 剧情id
|
||||
Shop map[int32]int32 `protobuf:"bytes,11,rep,name=shop,proto3" json:"shop" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 商店
|
||||
Complete bool `protobuf:"varint,5,opt,name=complete,proto3" json:"complete"` // 房间是否通关
|
||||
Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index"` // 房间索引
|
||||
Roomid int32 `protobuf:"varint,7,opt,name=roomid,proto3" json:"roomid"` // 房间id
|
||||
Hero []string `protobuf:"bytes,8,rep,name=hero,proto3" json:"hero"` //上阵英雄 继承血量用
|
||||
Box map[int32]int32 `protobuf:"bytes,9,rep,name=box,proto3" json:"box" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 宝箱事件
|
||||
Story int32 `protobuf:"varint,10,opt,name=story,proto3" json:"story"` // 剧情id
|
||||
Shop map[int32]int32 `protobuf:"bytes,11,rep,name=shop,proto3" json:"shop" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 商店
|
||||
Passive map[int32]int32 `protobuf:"bytes,12,rep,name=passive,proto3" json:"passive" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 被动事件
|
||||
Selectcount int32 `protobuf:"varint,13,opt,name=selectcount,proto3" json:"selectcount"` //三选一事件次数
|
||||
}
|
||||
|
||||
func (x *RoomData) Reset() {
|
||||
@ -185,6 +187,20 @@ func (x *RoomData) GetShop() map[int32]int32 {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *RoomData) GetPassive() map[int32]int32 {
|
||||
if x != nil {
|
||||
return x.Passive
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *RoomData) GetSelectcount() int32 {
|
||||
if x != nil {
|
||||
return x.Selectcount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type DBStonehenge struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@ -614,13 +630,77 @@ func (x *DBStonehengeBookAward) GetStage() map[int32]bool {
|
||||
return nil
|
||||
}
|
||||
|
||||
// 特权
|
||||
type DBStonehengePrivilege struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
|
||||
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"`
|
||||
Privilege map[int32]int32 `protobuf:"bytes,4,rep,name=privilege,proto3" json:"privilege" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||
}
|
||||
|
||||
func (x *DBStonehengePrivilege) Reset() {
|
||||
*x = DBStonehengePrivilege{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stonehenge_stonehenge_db_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *DBStonehengePrivilege) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DBStonehengePrivilege) ProtoMessage() {}
|
||||
|
||||
func (x *DBStonehengePrivilege) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stonehenge_stonehenge_db_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use DBStonehengePrivilege.ProtoReflect.Descriptor instead.
|
||||
func (*DBStonehengePrivilege) Descriptor() ([]byte, []int) {
|
||||
return file_stonehenge_stonehenge_db_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *DBStonehengePrivilege) GetId() string {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *DBStonehengePrivilege) GetUid() string {
|
||||
if x != nil {
|
||||
return x.Uid
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *DBStonehengePrivilege) GetPrivilege() map[int32]int32 {
|
||||
if x != nil {
|
||||
return x.Privilege
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_stonehenge_stonehenge_db_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
||||
0x0a, 0x1e, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2f, 0x73, 0x74, 0x6f,
|
||||
0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x1a, 0x16, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f,
|
||||
0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe4, 0x03, 0x0a, 0x08, 0x52, 0x6f, 0x6f,
|
||||
0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf4, 0x04, 0x0a, 0x08, 0x52, 0x6f, 0x6f,
|
||||
0x6d, 0x44, 0x61, 0x74, 0x61, 0x12, 0x30, 0x0a, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x61, 0x74,
|
||||
0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07,
|
||||
@ -640,14 +720,23 @@ var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
||||
0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x27, 0x0a, 0x04, 0x73, 0x68, 0x6f,
|
||||
0x70, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x61,
|
||||
0x74, 0x61, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x73, 0x68,
|
||||
0x6f, 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x45, 0x6e, 0x74,
|
||||
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x36,
|
||||
0x0a, 0x08, 0x42, 0x6f, 0x78, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
||||
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x37, 0x0a, 0x09, 0x53, 0x68, 0x6f, 0x70, 0x45, 0x6e,
|
||||
0x6f, 0x70, 0x12, 0x30, 0x0a, 0x07, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x18, 0x0c, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x50,
|
||||
0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x70, 0x61, 0x73,
|
||||
0x73, 0x69, 0x76, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x63, 0x6f,
|
||||
0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x65, 0x63,
|
||||
0x74, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x3a, 0x0a, 0x0c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x69,
|
||||
0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
||||
0x38, 0x01, 0x1a, 0x36, 0x0a, 0x08, 0x42, 0x6f, 0x78, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
|
||||
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
||||
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x37, 0x0a, 0x09, 0x53, 0x68,
|
||||
0x6f, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
|
||||
0x02, 0x38, 0x01, 0x1a, 0x3a, 0x0a, 0x0c, 0x50, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x45, 0x6e,
|
||||
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
|
||||
@ -769,11 +858,23 @@ var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
||||
0x0a, 0x0a, 0x53, 0x74, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
|
||||
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x33, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e,
|
||||
0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x12,
|
||||
0x1c, 0x0a, 0x18, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69,
|
||||
0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x4e, 0x6f, 0x6c, 0x6c, 0x10, 0x00, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbc, 0x01, 0x0a, 0x15, 0x44, 0x42, 0x53,
|
||||
0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
|
||||
0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
||||
0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x03, 0x75, 0x69, 0x64, 0x12, 0x43, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67,
|
||||
0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e,
|
||||
0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x2e,
|
||||
0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09,
|
||||
0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x1a, 0x3c, 0x0a, 0x0e, 0x50, 0x72, 0x69,
|
||||
0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
||||
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
|
||||
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x33, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e, 0x65,
|
||||
0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x12, 0x1c,
|
||||
0x0a, 0x18, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76,
|
||||
0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x4e, 0x6f, 0x6c, 0x6c, 0x10, 0x00, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -789,7 +890,7 @@ func file_stonehenge_stonehenge_db_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_stonehenge_stonehenge_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_stonehenge_stonehenge_db_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
||||
var file_stonehenge_stonehenge_db_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
|
||||
var file_stonehenge_stonehenge_db_proto_goTypes = []interface{}{
|
||||
(StonehengePrivilege)(0), // 0: StonehengePrivilege
|
||||
(*RoomData)(nil), // 1: RoomData
|
||||
@ -798,47 +899,52 @@ var file_stonehenge_stonehenge_db_proto_goTypes = []interface{}{
|
||||
(*DBStoneBoss)(nil), // 4: DBStoneBoss
|
||||
(*DBStonehengeBook)(nil), // 5: DBStonehengeBook
|
||||
(*DBStonehengeBookAward)(nil), // 6: DBStonehengeBookAward
|
||||
nil, // 7: RoomData.EventidEntry
|
||||
nil, // 8: RoomData.BoxEntry
|
||||
nil, // 9: RoomData.ShopEntry
|
||||
nil, // 10: DBStonehenge.UserbuffEntry
|
||||
nil, // 11: DBStonehenge.HeroEntry
|
||||
nil, // 12: DBStonehenge.RewardEntry
|
||||
nil, // 13: DBStonehenge.AddweightEntry
|
||||
nil, // 14: DBStonehenge.TalentEntry
|
||||
nil, // 15: DBStonehenge.TalentpropertyEntry
|
||||
nil, // 16: DBStonehenge.WeeklyrewardEntry
|
||||
nil, // 17: DBStonehenge.TaskEntry
|
||||
nil, // 18: DBStoneBoss.BossstageEntry
|
||||
nil, // 19: DBStonehengeBook.AwardEntry
|
||||
nil, // 20: DBStonehengeBookAward.StageEntry
|
||||
(*BattleRole)(nil), // 21: BattleRole
|
||||
(*DBStonehengePrivilege)(nil), // 7: DBStonehengePrivilege
|
||||
nil, // 8: RoomData.EventidEntry
|
||||
nil, // 9: RoomData.BoxEntry
|
||||
nil, // 10: RoomData.ShopEntry
|
||||
nil, // 11: RoomData.PassiveEntry
|
||||
nil, // 12: DBStonehenge.UserbuffEntry
|
||||
nil, // 13: DBStonehenge.HeroEntry
|
||||
nil, // 14: DBStonehenge.RewardEntry
|
||||
nil, // 15: DBStonehenge.AddweightEntry
|
||||
nil, // 16: DBStonehenge.TalentEntry
|
||||
nil, // 17: DBStonehenge.TalentpropertyEntry
|
||||
nil, // 18: DBStonehenge.WeeklyrewardEntry
|
||||
nil, // 19: DBStonehenge.TaskEntry
|
||||
nil, // 20: DBStoneBoss.BossstageEntry
|
||||
nil, // 21: DBStonehengeBook.AwardEntry
|
||||
nil, // 22: DBStonehengeBookAward.StageEntry
|
||||
nil, // 23: DBStonehengePrivilege.PrivilegeEntry
|
||||
(*BattleRole)(nil), // 24: BattleRole
|
||||
}
|
||||
var file_stonehenge_stonehenge_db_proto_depIdxs = []int32{
|
||||
7, // 0: RoomData.eventid:type_name -> RoomData.EventidEntry
|
||||
8, // 1: RoomData.box:type_name -> RoomData.BoxEntry
|
||||
9, // 2: RoomData.shop:type_name -> RoomData.ShopEntry
|
||||
1, // 3: DBStonehenge.rooms:type_name -> RoomData
|
||||
10, // 4: DBStonehenge.userbuff:type_name -> DBStonehenge.UserbuffEntry
|
||||
11, // 5: DBStonehenge.hero:type_name -> DBStonehenge.HeroEntry
|
||||
12, // 6: DBStonehenge.reward:type_name -> DBStonehenge.RewardEntry
|
||||
13, // 7: DBStonehenge.addweight:type_name -> DBStonehenge.AddweightEntry
|
||||
14, // 8: DBStonehenge.talent:type_name -> DBStonehenge.TalentEntry
|
||||
15, // 9: DBStonehenge.talentproperty:type_name -> DBStonehenge.TalentpropertyEntry
|
||||
0, // 10: DBStonehenge.privilege:type_name -> StonehengePrivilege
|
||||
16, // 11: DBStonehenge.weeklyreward:type_name -> DBStonehenge.WeeklyrewardEntry
|
||||
17, // 12: DBStonehenge.task:type_name -> DBStonehenge.TaskEntry
|
||||
18, // 13: DBStoneBoss.bossstage:type_name -> DBStoneBoss.BossstageEntry
|
||||
19, // 14: DBStonehengeBook.award:type_name -> DBStonehengeBook.AwardEntry
|
||||
20, // 15: DBStonehengeBookAward.stage:type_name -> DBStonehengeBookAward.StageEntry
|
||||
21, // 16: DBStonehenge.HeroEntry.value:type_name -> BattleRole
|
||||
3, // 17: DBStoneBoss.BossstageEntry.value:type_name -> StageData
|
||||
6, // 18: DBStonehengeBook.AwardEntry.value:type_name -> DBStonehengeBookAward
|
||||
19, // [19:19] is the sub-list for method output_type
|
||||
19, // [19:19] is the sub-list for method input_type
|
||||
19, // [19:19] is the sub-list for extension type_name
|
||||
19, // [19:19] is the sub-list for extension extendee
|
||||
0, // [0:19] is the sub-list for field type_name
|
||||
8, // 0: RoomData.eventid:type_name -> RoomData.EventidEntry
|
||||
9, // 1: RoomData.box:type_name -> RoomData.BoxEntry
|
||||
10, // 2: RoomData.shop:type_name -> RoomData.ShopEntry
|
||||
11, // 3: RoomData.passive:type_name -> RoomData.PassiveEntry
|
||||
1, // 4: DBStonehenge.rooms:type_name -> RoomData
|
||||
12, // 5: DBStonehenge.userbuff:type_name -> DBStonehenge.UserbuffEntry
|
||||
13, // 6: DBStonehenge.hero:type_name -> DBStonehenge.HeroEntry
|
||||
14, // 7: DBStonehenge.reward:type_name -> DBStonehenge.RewardEntry
|
||||
15, // 8: DBStonehenge.addweight:type_name -> DBStonehenge.AddweightEntry
|
||||
16, // 9: DBStonehenge.talent:type_name -> DBStonehenge.TalentEntry
|
||||
17, // 10: DBStonehenge.talentproperty:type_name -> DBStonehenge.TalentpropertyEntry
|
||||
0, // 11: DBStonehenge.privilege:type_name -> StonehengePrivilege
|
||||
18, // 12: DBStonehenge.weeklyreward:type_name -> DBStonehenge.WeeklyrewardEntry
|
||||
19, // 13: DBStonehenge.task:type_name -> DBStonehenge.TaskEntry
|
||||
20, // 14: DBStoneBoss.bossstage:type_name -> DBStoneBoss.BossstageEntry
|
||||
21, // 15: DBStonehengeBook.award:type_name -> DBStonehengeBook.AwardEntry
|
||||
22, // 16: DBStonehengeBookAward.stage:type_name -> DBStonehengeBookAward.StageEntry
|
||||
23, // 17: DBStonehengePrivilege.privilege:type_name -> DBStonehengePrivilege.PrivilegeEntry
|
||||
24, // 18: DBStonehenge.HeroEntry.value:type_name -> BattleRole
|
||||
3, // 19: DBStoneBoss.BossstageEntry.value:type_name -> StageData
|
||||
6, // 20: DBStonehengeBook.AwardEntry.value:type_name -> DBStonehengeBookAward
|
||||
21, // [21:21] is the sub-list for method output_type
|
||||
21, // [21:21] is the sub-list for method input_type
|
||||
21, // [21:21] is the sub-list for extension type_name
|
||||
21, // [21:21] is the sub-list for extension extendee
|
||||
0, // [0:21] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_stonehenge_stonehenge_db_proto_init() }
|
||||
@ -920,6 +1026,18 @@ func file_stonehenge_stonehenge_db_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_stonehenge_stonehenge_db_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DBStonehengePrivilege); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
@ -927,7 +1045,7 @@ func file_stonehenge_stonehenge_db_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_stonehenge_stonehenge_db_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 20,
|
||||
NumMessages: 23,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
@ -1678,6 +1678,93 @@ func (x *StonehengeTaskReceiveResp) GetAward() []*UserAssets {
|
||||
return nil
|
||||
}
|
||||
|
||||
//获取特权列表
|
||||
type StonehengePrivilegeInfoReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *StonehengePrivilegeInfoReq) Reset() {
|
||||
*x = StonehengePrivilegeInfoReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[30]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StonehengePrivilegeInfoReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StonehengePrivilegeInfoReq) ProtoMessage() {}
|
||||
|
||||
func (x *StonehengePrivilegeInfoReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[30]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use StonehengePrivilegeInfoReq.ProtoReflect.Descriptor instead.
|
||||
func (*StonehengePrivilegeInfoReq) Descriptor() ([]byte, []int) {
|
||||
return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{30}
|
||||
}
|
||||
|
||||
// 秘境特权信息
|
||||
type StonehengePrivilegeInfoResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Info *DBStonehengePrivilege `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
|
||||
}
|
||||
|
||||
func (x *StonehengePrivilegeInfoResp) Reset() {
|
||||
*x = StonehengePrivilegeInfoResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[31]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StonehengePrivilegeInfoResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StonehengePrivilegeInfoResp) ProtoMessage() {}
|
||||
|
||||
func (x *StonehengePrivilegeInfoResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[31]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use StonehengePrivilegeInfoResp.ProtoReflect.Descriptor instead.
|
||||
func (*StonehengePrivilegeInfoResp) Descriptor() ([]byte, []int) {
|
||||
return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{31}
|
||||
}
|
||||
|
||||
func (x *StonehengePrivilegeInfoResp) GetInfo() *DBStonehengePrivilege {
|
||||
if x != nil {
|
||||
return x.Info
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_stonehenge_stonehenge_msg_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{
|
||||
@ -1898,8 +1985,14 @@ var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{
|
||||
0x61, 0x73, 0x6b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
0x3a, 0x02, 0x38, 0x01, 0x22, 0x1c, 0x0a, 0x1a, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e,
|
||||
0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
||||
0x65, 0x71, 0x22, 0x49, 0x0a, 0x1b, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65,
|
||||
0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73,
|
||||
0x70, 0x12, 0x2a, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x16, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72,
|
||||
0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -1914,7 +2007,7 @@ func file_stonehenge_stonehenge_msg_proto_rawDescGZIP() []byte {
|
||||
return file_stonehenge_stonehenge_msg_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_stonehenge_stonehenge_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 39)
|
||||
var file_stonehenge_stonehenge_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 41)
|
||||
var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{
|
||||
(*StonehengeGetListReq)(nil), // 0: StonehengeGetListReq
|
||||
(*StonehengeGetListResp)(nil), // 1: StonehengeGetListResp
|
||||
@ -1946,64 +2039,68 @@ var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{
|
||||
(*StonehengeTaskInfoResp)(nil), // 27: StonehengeTaskInfoResp
|
||||
(*StonehengeTaskReceiveReq)(nil), // 28: StonehengeTaskReceiveReq
|
||||
(*StonehengeTaskReceiveResp)(nil), // 29: StonehengeTaskReceiveResp
|
||||
nil, // 30: StonehengeEnterLevelResp.HeroEntry
|
||||
nil, // 31: StonehengeEventResp.HeroEntry
|
||||
nil, // 32: StonehengeEventResp.UserbuffEntry
|
||||
nil, // 33: StonehengeStoreResp.ShopEntry
|
||||
nil, // 34: StonehengeActivateTalentResp.TalentEntry
|
||||
nil, // 35: StonehengeActivateTalentResp.TalentpropertyEntry
|
||||
nil, // 36: StonehengeWeekAwardResp.WeeklyrewardEntry
|
||||
nil, // 37: StonehengeTaskInfoResp.TaskEntry
|
||||
nil, // 38: StonehengeTaskReceiveResp.TaskEntry
|
||||
(*DBStonehenge)(nil), // 39: DBStonehenge
|
||||
(*DBStoneBoss)(nil), // 40: DBStoneBoss
|
||||
(*RoomData)(nil), // 41: RoomData
|
||||
(*BattleReport)(nil), // 42: BattleReport
|
||||
(*UserAtno)(nil), // 43: UserAtno
|
||||
(*BattleFormation)(nil), // 44: BattleFormation
|
||||
(*BattleInfo)(nil), // 45: BattleInfo
|
||||
(StonehengePrivilege)(0), // 46: StonehengePrivilege
|
||||
(*DBStonehengeBook)(nil), // 47: DBStonehengeBook
|
||||
(*UserAssets)(nil), // 48: UserAssets
|
||||
(*ConIProgress)(nil), // 49: ConIProgress
|
||||
(*BattleRole)(nil), // 50: BattleRole
|
||||
(*StonehengePrivilegeInfoReq)(nil), // 30: StonehengePrivilegeInfoReq
|
||||
(*StonehengePrivilegeInfoResp)(nil), // 31: StonehengePrivilegeInfoResp
|
||||
nil, // 32: StonehengeEnterLevelResp.HeroEntry
|
||||
nil, // 33: StonehengeEventResp.HeroEntry
|
||||
nil, // 34: StonehengeEventResp.UserbuffEntry
|
||||
nil, // 35: StonehengeStoreResp.ShopEntry
|
||||
nil, // 36: StonehengeActivateTalentResp.TalentEntry
|
||||
nil, // 37: StonehengeActivateTalentResp.TalentpropertyEntry
|
||||
nil, // 38: StonehengeWeekAwardResp.WeeklyrewardEntry
|
||||
nil, // 39: StonehengeTaskInfoResp.TaskEntry
|
||||
nil, // 40: StonehengeTaskReceiveResp.TaskEntry
|
||||
(*DBStonehenge)(nil), // 41: DBStonehenge
|
||||
(*DBStoneBoss)(nil), // 42: DBStoneBoss
|
||||
(*RoomData)(nil), // 43: RoomData
|
||||
(*BattleReport)(nil), // 44: BattleReport
|
||||
(*UserAtno)(nil), // 45: UserAtno
|
||||
(*BattleFormation)(nil), // 46: BattleFormation
|
||||
(*BattleInfo)(nil), // 47: BattleInfo
|
||||
(StonehengePrivilege)(0), // 48: StonehengePrivilege
|
||||
(*DBStonehengeBook)(nil), // 49: DBStonehengeBook
|
||||
(*UserAssets)(nil), // 50: UserAssets
|
||||
(*ConIProgress)(nil), // 51: ConIProgress
|
||||
(*DBStonehengePrivilege)(nil), // 52: DBStonehengePrivilege
|
||||
(*BattleRole)(nil), // 53: BattleRole
|
||||
}
|
||||
var file_stonehenge_stonehenge_msg_proto_depIdxs = []int32{
|
||||
39, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge
|
||||
40, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss
|
||||
30, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry
|
||||
41, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData
|
||||
41, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData
|
||||
42, // 5: StonehengeEventReq.report:type_name -> BattleReport
|
||||
41, // 6: StonehengeEventResp.room:type_name -> RoomData
|
||||
43, // 7: StonehengeEventResp.reward:type_name -> UserAtno
|
||||
31, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry
|
||||
32, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry
|
||||
41, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData
|
||||
39, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge
|
||||
43, // 12: StonehengeFinishResp.reward:type_name -> UserAtno
|
||||
44, // 13: StonehengeBattleReq.battle:type_name -> BattleFormation
|
||||
45, // 14: StonehengeBattleResp.info:type_name -> BattleInfo
|
||||
41, // 15: StonehengeStoryResp.room:type_name -> RoomData
|
||||
33, // 16: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry
|
||||
34, // 17: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry
|
||||
35, // 18: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry
|
||||
46, // 19: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege
|
||||
47, // 20: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook
|
||||
48, // 21: StonehengeBookAwardResp.award:type_name -> UserAssets
|
||||
36, // 22: StonehengeWeekAwardResp.weeklyreward:type_name -> StonehengeWeekAwardResp.WeeklyrewardEntry
|
||||
48, // 23: StonehengeWeekAwardResp.award:type_name -> UserAssets
|
||||
49, // 24: StonehengeTaskInfoResp.conlds:type_name -> ConIProgress
|
||||
37, // 25: StonehengeTaskInfoResp.task:type_name -> StonehengeTaskInfoResp.TaskEntry
|
||||
38, // 26: StonehengeTaskReceiveResp.task:type_name -> StonehengeTaskReceiveResp.TaskEntry
|
||||
48, // 27: StonehengeTaskReceiveResp.award:type_name -> UserAssets
|
||||
50, // 28: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole
|
||||
50, // 29: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole
|
||||
30, // [30:30] is the sub-list for method output_type
|
||||
30, // [30:30] is the sub-list for method input_type
|
||||
30, // [30:30] is the sub-list for extension type_name
|
||||
30, // [30:30] is the sub-list for extension extendee
|
||||
0, // [0:30] is the sub-list for field type_name
|
||||
41, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge
|
||||
42, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss
|
||||
32, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry
|
||||
43, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData
|
||||
43, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData
|
||||
44, // 5: StonehengeEventReq.report:type_name -> BattleReport
|
||||
43, // 6: StonehengeEventResp.room:type_name -> RoomData
|
||||
45, // 7: StonehengeEventResp.reward:type_name -> UserAtno
|
||||
33, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry
|
||||
34, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry
|
||||
43, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData
|
||||
41, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge
|
||||
45, // 12: StonehengeFinishResp.reward:type_name -> UserAtno
|
||||
46, // 13: StonehengeBattleReq.battle:type_name -> BattleFormation
|
||||
47, // 14: StonehengeBattleResp.info:type_name -> BattleInfo
|
||||
43, // 15: StonehengeStoryResp.room:type_name -> RoomData
|
||||
35, // 16: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry
|
||||
36, // 17: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry
|
||||
37, // 18: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry
|
||||
48, // 19: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege
|
||||
49, // 20: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook
|
||||
50, // 21: StonehengeBookAwardResp.award:type_name -> UserAssets
|
||||
38, // 22: StonehengeWeekAwardResp.weeklyreward:type_name -> StonehengeWeekAwardResp.WeeklyrewardEntry
|
||||
50, // 23: StonehengeWeekAwardResp.award:type_name -> UserAssets
|
||||
51, // 24: StonehengeTaskInfoResp.conlds:type_name -> ConIProgress
|
||||
39, // 25: StonehengeTaskInfoResp.task:type_name -> StonehengeTaskInfoResp.TaskEntry
|
||||
40, // 26: StonehengeTaskReceiveResp.task:type_name -> StonehengeTaskReceiveResp.TaskEntry
|
||||
50, // 27: StonehengeTaskReceiveResp.award:type_name -> UserAssets
|
||||
52, // 28: StonehengePrivilegeInfoResp.info:type_name -> DBStonehengePrivilege
|
||||
53, // 29: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole
|
||||
53, // 30: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole
|
||||
31, // [31:31] is the sub-list for method output_type
|
||||
31, // [31:31] is the sub-list for method input_type
|
||||
31, // [31:31] is the sub-list for extension type_name
|
||||
31, // [31:31] is the sub-list for extension extendee
|
||||
0, // [0:31] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_stonehenge_stonehenge_msg_proto_init() }
|
||||
@ -2377,6 +2474,30 @@ func file_stonehenge_stonehenge_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_stonehenge_stonehenge_msg_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StonehengePrivilegeInfoReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_stonehenge_stonehenge_msg_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StonehengePrivilegeInfoResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
@ -2384,7 +2505,7 @@ func file_stonehenge_stonehenge_msg_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_stonehenge_stonehenge_msg_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 39,
|
||||
NumMessages: 41,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user