上传石阵秘境
This commit is contained in:
parent
9d25b5038a
commit
3369da15e5
@ -20,6 +20,50 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// 特权枚举
|
||||||
|
type StonehengePrivilege int32
|
||||||
|
|
||||||
|
const (
|
||||||
|
StonehengePrivilege_StonehengePrivilege_Noll StonehengePrivilege = 0
|
||||||
|
)
|
||||||
|
|
||||||
|
// Enum value maps for StonehengePrivilege.
|
||||||
|
var (
|
||||||
|
StonehengePrivilege_name = map[int32]string{
|
||||||
|
0: "StonehengePrivilege_Noll",
|
||||||
|
}
|
||||||
|
StonehengePrivilege_value = map[string]int32{
|
||||||
|
"StonehengePrivilege_Noll": 0,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
func (x StonehengePrivilege) Enum() *StonehengePrivilege {
|
||||||
|
p := new(StonehengePrivilege)
|
||||||
|
*p = x
|
||||||
|
return p
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x StonehengePrivilege) String() string {
|
||||||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||||
|
}
|
||||||
|
|
||||||
|
func (StonehengePrivilege) Descriptor() protoreflect.EnumDescriptor {
|
||||||
|
return file_stonehenge_stonehenge_db_proto_enumTypes[0].Descriptor()
|
||||||
|
}
|
||||||
|
|
||||||
|
func (StonehengePrivilege) Type() protoreflect.EnumType {
|
||||||
|
return &file_stonehenge_stonehenge_db_proto_enumTypes[0]
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x StonehengePrivilege) Number() protoreflect.EnumNumber {
|
||||||
|
return protoreflect.EnumNumber(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use StonehengePrivilege.Descriptor instead.
|
||||||
|
func (StonehengePrivilege) EnumDescriptor() ([]byte, []int) {
|
||||||
|
return file_stonehenge_stonehenge_db_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
// 关卡信息
|
// 关卡信息
|
||||||
type RoomData struct {
|
type RoomData struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@ -138,18 +182,21 @@ type DBStonehenge struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
|
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"`
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"`
|
||||||
StageID int32 `protobuf:"varint,3,opt,name=stageID,proto3" json:"stageID"` // 关卡id
|
StageID int32 `protobuf:"varint,3,opt,name=stageID,proto3" json:"stageID"` // 关卡id
|
||||||
CurRoomIndes int32 `protobuf:"varint,4,opt,name=curRoomIndes,proto3" json:"curRoomIndes"` // 当前房间索引 初始 0 每通关一次+1
|
CurRoomIndes int32 `protobuf:"varint,4,opt,name=curRoomIndes,proto3" json:"curRoomIndes"` // 当前房间索引 初始 0 每通关一次+1
|
||||||
Rooms *RoomData `protobuf:"bytes,5,opt,name=rooms,proto3" json:"rooms"` // 当前房间信息
|
Rooms *RoomData `protobuf:"bytes,5,opt,name=rooms,proto3" json:"rooms"` // 当前房间信息
|
||||||
Webuff []int32 `protobuf:"varint,6,rep,packed,name=webuff,proto3" json:"webuff"` // 我方环境buff 不能被更改
|
Webuff []int32 `protobuf:"varint,6,rep,packed,name=webuff,proto3" json:"webuff"` // 我方环境buff 不能被更改
|
||||||
Enemybuff []int32 `protobuf:"varint,7,rep,packed,name=enemybuff,proto3" json:"enemybuff"` // 地方环境buff 不能被更改
|
Enemybuff []int32 `protobuf:"varint,7,rep,packed,name=enemybuff,proto3" json:"enemybuff"` // 地方环境buff 不能被更改
|
||||||
Userbuff map[int32]int32 `protobuf:"bytes,8,rep,name=userbuff,proto3" json:"userbuff" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 玩家获得的buff key:buffid value:0
|
Userbuff map[int32]int32 `protobuf:"bytes,8,rep,name=userbuff,proto3" json:"userbuff" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 玩家获得的buff key:buffid value:0
|
||||||
Hero map[string]*BattleRole `protobuf:"bytes,9,rep,name=hero,proto3" json:"hero" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 英雄信息
|
Hero map[string]*BattleRole `protobuf:"bytes,9,rep,name=hero,proto3" json:"hero" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 英雄信息
|
||||||
Reward map[int32]bool `protobuf:"bytes,10,rep,name=reward,proto3" json:"reward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 是否首通 key:stageid
|
Reward map[int32]bool `protobuf:"bytes,10,rep,name=reward,proto3" json:"reward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 是否首通 key:stageid
|
||||||
Addweight map[int32]int32 `protobuf:"bytes,11,rep,name=addweight,proto3" json:"addweight" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 选择buff权重增加 key 类型
|
Addweight map[int32]int32 `protobuf:"bytes,11,rep,name=addweight,proto3" json:"addweight" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 选择buff权重增加 key 类型
|
||||||
Etime int64 `protobuf:"varint,12,opt,name=etime,proto3" json:"etime"` // 结算时间
|
Etime int64 `protobuf:"varint,12,opt,name=etime,proto3" json:"etime"` // 结算时间
|
||||||
|
Talent map[int32]bool `protobuf:"bytes,13,rep,name=talent,proto3" json:"talent" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //天赋树
|
||||||
|
Talentproperty map[string]int32 `protobuf:"bytes,14,rep,name=talentproperty,proto3" json:"talentproperty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //天赋属性
|
||||||
|
Privilege []StonehengePrivilege `protobuf:"varint,15,rep,packed,name=privilege,proto3,enum=StonehengePrivilege" json:"privilege"` //解锁特权
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DBStonehenge) Reset() {
|
func (x *DBStonehenge) Reset() {
|
||||||
@ -268,6 +315,27 @@ func (x *DBStonehenge) GetEtime() int64 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *DBStonehenge) GetTalent() map[int32]bool {
|
||||||
|
if x != nil {
|
||||||
|
return x.Talent
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBStonehenge) GetTalentproperty() map[string]int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Talentproperty
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBStonehenge) GetPrivilege() []StonehengePrivilege {
|
||||||
|
if x != nil {
|
||||||
|
return x.Privilege
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type StageData struct {
|
type StageData struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@ -416,7 +484,7 @@ var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
|||||||
0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x36, 0x0a, 0x08, 0x42, 0x6f, 0x78, 0x45, 0x6e, 0x74, 0x72,
|
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,
|
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,
|
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, 0xac, 0x05,
|
0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xdc, 0x07,
|
||||||
0x0a, 0x0c, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x0e,
|
0x0a, 0x0c, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x0e,
|
||||||
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10,
|
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,
|
0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64,
|
||||||
@ -444,20 +512,39 @@ var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
|||||||
0x2e, 0x41, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
0x2e, 0x41, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
||||||
0x09, 0x61, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74,
|
0x09, 0x61, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74,
|
||||||
0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65,
|
0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x1a, 0x3b, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x62, 0x75, 0x66, 0x66, 0x45, 0x6e, 0x74, 0x72,
|
0x12, 0x31, 0x0a, 0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b,
|
||||||
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
|
0x32, 0x19, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2e,
|
||||||
0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
|
0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x74, 0x61, 0x6c,
|
||||||
0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a,
|
0x65, 0x6e, 0x74, 0x12, 0x49, 0x0a, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f,
|
||||||
0x09, 0x48, 0x65, 0x72, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x44, 0x42,
|
||||||
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05,
|
0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2e, 0x54, 0x61, 0x6c, 0x65, 0x6e,
|
||||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61,
|
0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e,
|
||||||
0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
|
0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x32,
|
||||||
0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74,
|
0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28,
|
||||||
|
0x0e, 0x32, 0x14, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72,
|
||||||
|
0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x52, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
|
||||||
|
0x67, 0x65, 0x1a, 0x3b, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x62, 0x75, 0x66, 0x66, 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,
|
||||||
|
0x44, 0x0a, 0x09, 0x48, 0x65, 0x72, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
|
||||||
|
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21,
|
||||||
|
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
|
||||||
|
0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||||
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x77, 0x61, 0x72, 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, 0x3c, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x45, 0x6e, 0x74,
|
||||||
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
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,
|
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, 0x3c,
|
0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39,
|
||||||
0x0a, 0x0e, 0x41, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
0x0a, 0x0b, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
||||||
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b,
|
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, 0x41, 0x0a, 0x13, 0x54, 0x61, 0x6c,
|
||||||
|
0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||||||
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
|
||||||
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
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, 0x5f, 0x0a, 0x09,
|
0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5f, 0x0a, 0x09,
|
||||||
0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x61, 0x69,
|
0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x61, 0x69,
|
||||||
@ -476,8 +563,11 @@ var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
|||||||
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b,
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b,
|
||||||
0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
0x0b, 0x32, 0x0a, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76,
|
0x0b, 0x32, 0x0a, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76,
|
||||||
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62,
|
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x33, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e,
|
||||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
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 (
|
var (
|
||||||
@ -492,37 +582,44 @@ func file_stonehenge_stonehenge_db_proto_rawDescGZIP() []byte {
|
|||||||
return file_stonehenge_stonehenge_db_proto_rawDescData
|
return file_stonehenge_stonehenge_db_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_stonehenge_stonehenge_db_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
var file_stonehenge_stonehenge_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||||
|
var file_stonehenge_stonehenge_db_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||||
var file_stonehenge_stonehenge_db_proto_goTypes = []interface{}{
|
var file_stonehenge_stonehenge_db_proto_goTypes = []interface{}{
|
||||||
(*RoomData)(nil), // 0: RoomData
|
(StonehengePrivilege)(0), // 0: StonehengePrivilege
|
||||||
(*DBStonehenge)(nil), // 1: DBStonehenge
|
(*RoomData)(nil), // 1: RoomData
|
||||||
(*StageData)(nil), // 2: StageData
|
(*DBStonehenge)(nil), // 2: DBStonehenge
|
||||||
(*DBStoneBoss)(nil), // 3: DBStoneBoss
|
(*StageData)(nil), // 3: StageData
|
||||||
nil, // 4: RoomData.EventidEntry
|
(*DBStoneBoss)(nil), // 4: DBStoneBoss
|
||||||
nil, // 5: RoomData.BoxEntry
|
nil, // 5: RoomData.EventidEntry
|
||||||
nil, // 6: DBStonehenge.UserbuffEntry
|
nil, // 6: RoomData.BoxEntry
|
||||||
nil, // 7: DBStonehenge.HeroEntry
|
nil, // 7: DBStonehenge.UserbuffEntry
|
||||||
nil, // 8: DBStonehenge.RewardEntry
|
nil, // 8: DBStonehenge.HeroEntry
|
||||||
nil, // 9: DBStonehenge.AddweightEntry
|
nil, // 9: DBStonehenge.RewardEntry
|
||||||
nil, // 10: DBStoneBoss.BossstageEntry
|
nil, // 10: DBStonehenge.AddweightEntry
|
||||||
(*BattleRole)(nil), // 11: BattleRole
|
nil, // 11: DBStonehenge.TalentEntry
|
||||||
|
nil, // 12: DBStonehenge.TalentpropertyEntry
|
||||||
|
nil, // 13: DBStoneBoss.BossstageEntry
|
||||||
|
(*BattleRole)(nil), // 14: BattleRole
|
||||||
}
|
}
|
||||||
var file_stonehenge_stonehenge_db_proto_depIdxs = []int32{
|
var file_stonehenge_stonehenge_db_proto_depIdxs = []int32{
|
||||||
4, // 0: RoomData.eventid:type_name -> RoomData.EventidEntry
|
5, // 0: RoomData.eventid:type_name -> RoomData.EventidEntry
|
||||||
5, // 1: RoomData.box:type_name -> RoomData.BoxEntry
|
6, // 1: RoomData.box:type_name -> RoomData.BoxEntry
|
||||||
0, // 2: DBStonehenge.rooms:type_name -> RoomData
|
1, // 2: DBStonehenge.rooms:type_name -> RoomData
|
||||||
6, // 3: DBStonehenge.userbuff:type_name -> DBStonehenge.UserbuffEntry
|
7, // 3: DBStonehenge.userbuff:type_name -> DBStonehenge.UserbuffEntry
|
||||||
7, // 4: DBStonehenge.hero:type_name -> DBStonehenge.HeroEntry
|
8, // 4: DBStonehenge.hero:type_name -> DBStonehenge.HeroEntry
|
||||||
8, // 5: DBStonehenge.reward:type_name -> DBStonehenge.RewardEntry
|
9, // 5: DBStonehenge.reward:type_name -> DBStonehenge.RewardEntry
|
||||||
9, // 6: DBStonehenge.addweight:type_name -> DBStonehenge.AddweightEntry
|
10, // 6: DBStonehenge.addweight:type_name -> DBStonehenge.AddweightEntry
|
||||||
10, // 7: DBStoneBoss.bossstage:type_name -> DBStoneBoss.BossstageEntry
|
11, // 7: DBStonehenge.talent:type_name -> DBStonehenge.TalentEntry
|
||||||
11, // 8: DBStonehenge.HeroEntry.value:type_name -> BattleRole
|
12, // 8: DBStonehenge.talentproperty:type_name -> DBStonehenge.TalentpropertyEntry
|
||||||
2, // 9: DBStoneBoss.BossstageEntry.value:type_name -> StageData
|
0, // 9: DBStonehenge.privilege:type_name -> StonehengePrivilege
|
||||||
10, // [10:10] is the sub-list for method output_type
|
13, // 10: DBStoneBoss.bossstage:type_name -> DBStoneBoss.BossstageEntry
|
||||||
10, // [10:10] is the sub-list for method input_type
|
14, // 11: DBStonehenge.HeroEntry.value:type_name -> BattleRole
|
||||||
10, // [10:10] is the sub-list for extension type_name
|
3, // 12: DBStoneBoss.BossstageEntry.value:type_name -> StageData
|
||||||
10, // [10:10] is the sub-list for extension extendee
|
13, // [13:13] is the sub-list for method output_type
|
||||||
0, // [0:10] is the sub-list for field type_name
|
13, // [13:13] is the sub-list for method input_type
|
||||||
|
13, // [13:13] is the sub-list for extension type_name
|
||||||
|
13, // [13:13] is the sub-list for extension extendee
|
||||||
|
0, // [0:13] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_stonehenge_stonehenge_db_proto_init() }
|
func init() { file_stonehenge_stonehenge_db_proto_init() }
|
||||||
@ -586,13 +683,14 @@ func file_stonehenge_stonehenge_db_proto_init() {
|
|||||||
File: protoimpl.DescBuilder{
|
File: protoimpl.DescBuilder{
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_stonehenge_stonehenge_db_proto_rawDesc,
|
RawDescriptor: file_stonehenge_stonehenge_db_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 1,
|
||||||
NumMessages: 11,
|
NumMessages: 13,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
GoTypes: file_stonehenge_stonehenge_db_proto_goTypes,
|
GoTypes: file_stonehenge_stonehenge_db_proto_goTypes,
|
||||||
DependencyIndexes: file_stonehenge_stonehenge_db_proto_depIdxs,
|
DependencyIndexes: file_stonehenge_stonehenge_db_proto_depIdxs,
|
||||||
|
EnumInfos: file_stonehenge_stonehenge_db_proto_enumTypes,
|
||||||
MessageInfos: file_stonehenge_stonehenge_db_proto_msgTypes,
|
MessageInfos: file_stonehenge_stonehenge_db_proto_msgTypes,
|
||||||
}.Build()
|
}.Build()
|
||||||
File_stonehenge_stonehenge_db_proto = out.File
|
File_stonehenge_stonehenge_db_proto = out.File
|
||||||
|
@ -794,6 +794,126 @@ func (x *StonehengeBattleResp) GetInfo() *BattleInfo {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//激活天赋
|
||||||
|
type StonehengeActivateTalentReq struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Node int32 `protobuf:"varint,1,opt,name=node,proto3" json:"node"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentReq) Reset() {
|
||||||
|
*x = StonehengeActivateTalentReq{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[14]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentReq) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*StonehengeActivateTalentReq) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentReq) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[14]
|
||||||
|
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 StonehengeActivateTalentReq.ProtoReflect.Descriptor instead.
|
||||||
|
func (*StonehengeActivateTalentReq) Descriptor() ([]byte, []int) {
|
||||||
|
return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{14}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentReq) GetNode() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Node
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
//激活天赋
|
||||||
|
type StonehengeActivateTalentResp struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Node int32 `protobuf:"varint,1,opt,name=node,proto3" json:"node"`
|
||||||
|
Talent map[int32]bool `protobuf:"bytes,13,rep,name=talent,proto3" json:"talent" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //天赋树
|
||||||
|
Talentproperty map[string]int32 `protobuf:"bytes,14,rep,name=talentproperty,proto3" json:"talentproperty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //天赋属性
|
||||||
|
Privilege []StonehengePrivilege `protobuf:"varint,15,rep,packed,name=privilege,proto3,enum=StonehengePrivilege" json:"privilege"` //解锁特权
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) Reset() {
|
||||||
|
*x = StonehengeActivateTalentResp{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[15]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*StonehengeActivateTalentResp) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[15]
|
||||||
|
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 StonehengeActivateTalentResp.ProtoReflect.Descriptor instead.
|
||||||
|
func (*StonehengeActivateTalentResp) Descriptor() ([]byte, []int) {
|
||||||
|
return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{15}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) GetNode() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Node
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) GetTalent() map[int32]bool {
|
||||||
|
if x != nil {
|
||||||
|
return x.Talent
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) GetTalentproperty() map[string]int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Talentproperty
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) GetPrivilege() []StonehengePrivilege {
|
||||||
|
if x != nil {
|
||||||
|
return x.Privilege
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
var File_stonehenge_stonehenge_msg_proto protoreflect.FileDescriptor
|
var File_stonehenge_stonehenge_msg_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{
|
var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{
|
||||||
@ -895,8 +1015,36 @@ var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{
|
|||||||
0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20,
|
0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x04,
|
0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x04,
|
||||||
0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74,
|
0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74,
|
||||||
0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x06, 0x5a,
|
0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x31, 0x0a,
|
||||||
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x1b, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76,
|
||||||
|
0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04,
|
||||||
|
0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65,
|
||||||
|
0x22, 0x82, 0x03, 0x0a, 0x1c, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41,
|
||||||
|
0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73,
|
||||||
|
0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||||
|
0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x18,
|
||||||
|
0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e,
|
||||||
|
0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74,
|
||||||
|
0x52, 0x65, 0x73, 0x70, 0x2e, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||||||
|
0x52, 0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x12, 0x59, 0x0a, 0x0e, 0x74, 0x61, 0x6c, 0x65,
|
||||||
|
0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b,
|
||||||
|
0x32, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74,
|
||||||
|
0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x2e,
|
||||||
|
0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x45, 0x6e,
|
||||||
|
0x74, 0x72, 0x79, 0x52, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65,
|
||||||
|
0x72, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65,
|
||||||
|
0x18, 0x0f, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65,
|
||||||
|
0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x52, 0x09, 0x70, 0x72,
|
||||||
|
0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x54, 0x61, 0x6c, 0x65, 0x6e,
|
||||||
|
0x74, 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, 0x41, 0x0a, 0x13, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70,
|
||||||
|
0x65, 0x72, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
|
||||||
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||||
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -911,56 +1059,64 @@ func file_stonehenge_stonehenge_msg_proto_rawDescGZIP() []byte {
|
|||||||
return file_stonehenge_stonehenge_msg_proto_rawDescData
|
return file_stonehenge_stonehenge_msg_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_stonehenge_stonehenge_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
var file_stonehenge_stonehenge_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
||||||
var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{
|
var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{
|
||||||
(*StonehengeGetListReq)(nil), // 0: StonehengeGetListReq
|
(*StonehengeGetListReq)(nil), // 0: StonehengeGetListReq
|
||||||
(*StonehengeGetListResp)(nil), // 1: StonehengeGetListResp
|
(*StonehengeGetListResp)(nil), // 1: StonehengeGetListResp
|
||||||
(*StonehengeEnterLevelReq)(nil), // 2: StonehengeEnterLevelReq
|
(*StonehengeEnterLevelReq)(nil), // 2: StonehengeEnterLevelReq
|
||||||
(*StonehengeEnterLevelResp)(nil), // 3: StonehengeEnterLevelResp
|
(*StonehengeEnterLevelResp)(nil), // 3: StonehengeEnterLevelResp
|
||||||
(*StonehengeGotoRoomReq)(nil), // 4: StonehengeGotoRoomReq
|
(*StonehengeGotoRoomReq)(nil), // 4: StonehengeGotoRoomReq
|
||||||
(*StonehengeGotoRoomResp)(nil), // 5: StonehengeGotoRoomResp
|
(*StonehengeGotoRoomResp)(nil), // 5: StonehengeGotoRoomResp
|
||||||
(*StonehengeEventReq)(nil), // 6: StonehengeEventReq
|
(*StonehengeEventReq)(nil), // 6: StonehengeEventReq
|
||||||
(*StonehengeEventResp)(nil), // 7: StonehengeEventResp
|
(*StonehengeEventResp)(nil), // 7: StonehengeEventResp
|
||||||
(*StonehengeGetRoomInfoReq)(nil), // 8: StonehengeGetRoomInfoReq
|
(*StonehengeGetRoomInfoReq)(nil), // 8: StonehengeGetRoomInfoReq
|
||||||
(*StonehengeGetRoomInfoResp)(nil), // 9: StonehengeGetRoomInfoResp
|
(*StonehengeGetRoomInfoResp)(nil), // 9: StonehengeGetRoomInfoResp
|
||||||
(*StonehengeFinishReq)(nil), // 10: StonehengeFinishReq
|
(*StonehengeFinishReq)(nil), // 10: StonehengeFinishReq
|
||||||
(*StonehengeFinishResp)(nil), // 11: StonehengeFinishResp
|
(*StonehengeFinishResp)(nil), // 11: StonehengeFinishResp
|
||||||
(*StonehengeBattleReq)(nil), // 12: StonehengeBattleReq
|
(*StonehengeBattleReq)(nil), // 12: StonehengeBattleReq
|
||||||
(*StonehengeBattleResp)(nil), // 13: StonehengeBattleResp
|
(*StonehengeBattleResp)(nil), // 13: StonehengeBattleResp
|
||||||
nil, // 14: StonehengeEnterLevelResp.HeroEntry
|
(*StonehengeActivateTalentReq)(nil), // 14: StonehengeActivateTalentReq
|
||||||
nil, // 15: StonehengeEventResp.HeroEntry
|
(*StonehengeActivateTalentResp)(nil), // 15: StonehengeActivateTalentResp
|
||||||
nil, // 16: StonehengeEventResp.UserbuffEntry
|
nil, // 16: StonehengeEnterLevelResp.HeroEntry
|
||||||
(*DBStonehenge)(nil), // 17: DBStonehenge
|
nil, // 17: StonehengeEventResp.HeroEntry
|
||||||
(*DBStoneBoss)(nil), // 18: DBStoneBoss
|
nil, // 18: StonehengeEventResp.UserbuffEntry
|
||||||
(*RoomData)(nil), // 19: RoomData
|
nil, // 19: StonehengeActivateTalentResp.TalentEntry
|
||||||
(*BattleReport)(nil), // 20: BattleReport
|
nil, // 20: StonehengeActivateTalentResp.TalentpropertyEntry
|
||||||
(*UserAtno)(nil), // 21: UserAtno
|
(*DBStonehenge)(nil), // 21: DBStonehenge
|
||||||
(*BattleFormation)(nil), // 22: BattleFormation
|
(*DBStoneBoss)(nil), // 22: DBStoneBoss
|
||||||
(*BattleInfo)(nil), // 23: BattleInfo
|
(*RoomData)(nil), // 23: RoomData
|
||||||
(*BattleRole)(nil), // 24: BattleRole
|
(*BattleReport)(nil), // 24: BattleReport
|
||||||
|
(*UserAtno)(nil), // 25: UserAtno
|
||||||
|
(*BattleFormation)(nil), // 26: BattleFormation
|
||||||
|
(*BattleInfo)(nil), // 27: BattleInfo
|
||||||
|
(StonehengePrivilege)(0), // 28: StonehengePrivilege
|
||||||
|
(*BattleRole)(nil), // 29: BattleRole
|
||||||
}
|
}
|
||||||
var file_stonehenge_stonehenge_msg_proto_depIdxs = []int32{
|
var file_stonehenge_stonehenge_msg_proto_depIdxs = []int32{
|
||||||
17, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge
|
21, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge
|
||||||
18, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss
|
22, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss
|
||||||
14, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry
|
16, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry
|
||||||
19, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData
|
23, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData
|
||||||
19, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData
|
23, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData
|
||||||
20, // 5: StonehengeEventReq.report:type_name -> BattleReport
|
24, // 5: StonehengeEventReq.report:type_name -> BattleReport
|
||||||
19, // 6: StonehengeEventResp.room:type_name -> RoomData
|
23, // 6: StonehengeEventResp.room:type_name -> RoomData
|
||||||
21, // 7: StonehengeEventResp.reward:type_name -> UserAtno
|
25, // 7: StonehengeEventResp.reward:type_name -> UserAtno
|
||||||
15, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry
|
17, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry
|
||||||
16, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry
|
18, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry
|
||||||
19, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData
|
23, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData
|
||||||
17, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge
|
21, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge
|
||||||
22, // 12: StonehengeBattleReq.battle:type_name -> BattleFormation
|
26, // 12: StonehengeBattleReq.battle:type_name -> BattleFormation
|
||||||
23, // 13: StonehengeBattleResp.info:type_name -> BattleInfo
|
27, // 13: StonehengeBattleResp.info:type_name -> BattleInfo
|
||||||
24, // 14: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole
|
19, // 14: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry
|
||||||
24, // 15: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole
|
20, // 15: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry
|
||||||
16, // [16:16] is the sub-list for method output_type
|
28, // 16: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege
|
||||||
16, // [16:16] is the sub-list for method input_type
|
29, // 17: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole
|
||||||
16, // [16:16] is the sub-list for extension type_name
|
29, // 18: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole
|
||||||
16, // [16:16] is the sub-list for extension extendee
|
19, // [19:19] is the sub-list for method output_type
|
||||||
0, // [0:16] is the sub-list for field type_name
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_stonehenge_stonehenge_msg_proto_init() }
|
func init() { file_stonehenge_stonehenge_msg_proto_init() }
|
||||||
@ -1141,6 +1297,30 @@ func file_stonehenge_stonehenge_msg_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
file_stonehenge_stonehenge_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*StonehengeActivateTalentReq); 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[15].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*StonehengeActivateTalentResp); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
type x struct{}
|
type x struct{}
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
@ -1148,7 +1328,7 @@ func file_stonehenge_stonehenge_msg_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_stonehenge_stonehenge_msg_proto_rawDesc,
|
RawDescriptor: file_stonehenge_stonehenge_msg_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 17,
|
NumMessages: 21,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user