上传代码
This commit is contained in:
parent
4e528ac669
commit
686ca844aa
@ -259,6 +259,10 @@ type (
|
|||||||
CreateRtPvpBattle(req *pb.BattleRTPVPReq) (code pb.ErrorCode, record *pb.DBBattleRecord)
|
CreateRtPvpBattle(req *pb.BattleRTPVPReq) (code pb.ErrorCode, record *pb.DBBattleRecord)
|
||||||
///获取战斗详情
|
///获取战斗详情
|
||||||
GetBattleInfo(req *pb.BattleGetInfoReq) (code pb.ErrorCode, resp *pb.BattleGetInfoResp)
|
GetBattleInfo(req *pb.BattleGetInfoReq) (code pb.ErrorCode, resp *pb.BattleGetInfoResp)
|
||||||
|
///创建战斗角色
|
||||||
|
CreateRolesByFormat(fid int32) (captain int32, roles []*pb.BattleRole, code pb.ErrorCode)
|
||||||
|
///创建战斗角色
|
||||||
|
CreateRolesByHeros(heros []*pb.DBHero) (roles []*pb.BattleRole, code pb.ErrorCode)
|
||||||
///创建战斗服务
|
///创建战斗服务
|
||||||
CreateBattleServer(req *pb.BattleInfo) (code pb.ErrorCode)
|
CreateBattleServer(req *pb.BattleInfo) (code pb.ErrorCode)
|
||||||
///战斗指令输入
|
///战斗指令输入
|
||||||
|
@ -222,6 +222,23 @@ func (this *Battle) CreateRtPvpBattle(req *pb.BattleRTPVPReq) (code pb.ErrorCode
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
///创建角色列表 更具Format表格
|
||||||
|
func (this *Battle) CreateRolesByFormat(fid int32) (captain int32, roles []*pb.BattleRole, code pb.ErrorCode) {
|
||||||
|
captain, roles, code = this.modelBattle.createMasterRoles(2, 0, fid)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
///创建角色列表 更具英雄列表
|
||||||
|
func (this *Battle) CreateRolesByHeros(heros []*pb.DBHero) (roles []*pb.BattleRole, code pb.ErrorCode) {
|
||||||
|
roles = make([]*pb.BattleRole, len(heros))
|
||||||
|
for i, v := range heros {
|
||||||
|
if roles[i], code = this.modelBattle.createBattleRole(v, 100+i, i); code != pb.ErrorCode_Success {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
///获取战斗详情
|
///获取战斗详情
|
||||||
func (this *Battle) GetBattleInfo(req *pb.BattleGetInfoReq) (code pb.ErrorCode, resp *pb.BattleGetInfoResp) {
|
func (this *Battle) GetBattleInfo(req *pb.BattleGetInfoReq) (code pb.ErrorCode, resp *pb.BattleGetInfoResp) {
|
||||||
this.Debug("GetBattleInfo", log.Field{Key: "req", Value: req})
|
this.Debug("GetBattleInfo", log.Field{Key: "req", Value: req})
|
||||||
|
@ -20,6 +20,67 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type EffectTipsType int32
|
||||||
|
|
||||||
|
const (
|
||||||
|
EffectTipsType_Eff_Success EffectTipsType = 0
|
||||||
|
EffectTipsType_Not_Success EffectTipsType = 1 //没有成功
|
||||||
|
EffectTipsType_Immunity EffectTipsType = 2 //免疫
|
||||||
|
EffectTipsType_Resist EffectTipsType = 3 //抵抗
|
||||||
|
EffectTipsType_Not_Gain EffectTipsType = 4 //无法获得增益
|
||||||
|
EffectTipsType_Not_Control EffectTipsType = 5 //免疫控制
|
||||||
|
EffectTipsType_Not_Action EffectTipsType = 6 //无法行动
|
||||||
|
)
|
||||||
|
|
||||||
|
// Enum value maps for EffectTipsType.
|
||||||
|
var (
|
||||||
|
EffectTipsType_name = map[int32]string{
|
||||||
|
0: "Eff_Success",
|
||||||
|
1: "Not_Success",
|
||||||
|
2: "Immunity",
|
||||||
|
3: "Resist",
|
||||||
|
4: "Not_Gain",
|
||||||
|
5: "Not_Control",
|
||||||
|
6: "Not_Action",
|
||||||
|
}
|
||||||
|
EffectTipsType_value = map[string]int32{
|
||||||
|
"Eff_Success": 0,
|
||||||
|
"Not_Success": 1,
|
||||||
|
"Immunity": 2,
|
||||||
|
"Resist": 3,
|
||||||
|
"Not_Gain": 4,
|
||||||
|
"Not_Control": 5,
|
||||||
|
"Not_Action": 6,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
func (x EffectTipsType) Enum() *EffectTipsType {
|
||||||
|
p := new(EffectTipsType)
|
||||||
|
*p = x
|
||||||
|
return p
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x EffectTipsType) String() string {
|
||||||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||||
|
}
|
||||||
|
|
||||||
|
func (EffectTipsType) Descriptor() protoreflect.EnumDescriptor {
|
||||||
|
return file_battle_battle_struct_proto_enumTypes[0].Descriptor()
|
||||||
|
}
|
||||||
|
|
||||||
|
func (EffectTipsType) Type() protoreflect.EnumType {
|
||||||
|
return &file_battle_battle_struct_proto_enumTypes[0]
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x EffectTipsType) Number() protoreflect.EnumNumber {
|
||||||
|
return protoreflect.EnumNumber(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use EffectTipsType.Descriptor instead.
|
||||||
|
func (EffectTipsType) EnumDescriptor() ([]byte, []int) {
|
||||||
|
return file_battle_battle_struct_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
//修改行动值
|
//修改行动值
|
||||||
type ComModifyOperate struct {
|
type ComModifyOperate struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@ -1428,6 +1489,62 @@ func (x *ComEmitCountdown) GetReserve() int32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//特殊效果飘字
|
||||||
|
type ComEffectTips struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Type EffectTipsType `protobuf:"varint,1,opt,name=type,proto3,enum=EffectTipsType" json:"type"`
|
||||||
|
To int32 `protobuf:"varint,2,opt,name=to,proto3" json:"to"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ComEffectTips) Reset() {
|
||||||
|
*x = ComEffectTips{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_battle_battle_struct_proto_msgTypes[21]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ComEffectTips) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*ComEffectTips) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *ComEffectTips) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_battle_battle_struct_proto_msgTypes[21]
|
||||||
|
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 ComEffectTips.ProtoReflect.Descriptor instead.
|
||||||
|
func (*ComEffectTips) Descriptor() ([]byte, []int) {
|
||||||
|
return file_battle_battle_struct_proto_rawDescGZIP(), []int{21}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ComEffectTips) GetType() EffectTipsType {
|
||||||
|
if x != nil {
|
||||||
|
return x.Type
|
||||||
|
}
|
||||||
|
return EffectTipsType_Eff_Success
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ComEffectTips) GetTo() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.To
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
var File_battle_battle_struct_proto protoreflect.FileDescriptor
|
var File_battle_battle_struct_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_battle_battle_struct_proto_rawDesc = []byte{
|
var file_battle_battle_struct_proto_rawDesc = []byte{
|
||||||
@ -1568,8 +1685,20 @@ var file_battle_battle_struct_proto_rawDesc = []byte{
|
|||||||
0x69, 0x64, 0x65, 0x22, 0x2c, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x45, 0x6d, 0x69, 0x74, 0x43, 0x6f,
|
0x69, 0x64, 0x65, 0x22, 0x2c, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x45, 0x6d, 0x69, 0x74, 0x43, 0x6f,
|
||||||
0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72,
|
0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72,
|
||||||
0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76,
|
0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76,
|
||||||
0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
0x65, 0x22, 0x44, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69,
|
||||||
0x33,
|
0x70, 0x73, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
|
||||||
|
0x32, 0x0f, 0x2e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70,
|
||||||
|
0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20,
|
||||||
|
0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x6f, 0x2a, 0x7b, 0x0a, 0x0e, 0x45, 0x66, 0x66, 0x65, 0x63,
|
||||||
|
0x74, 0x54, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x66, 0x66,
|
||||||
|
0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x6f,
|
||||||
|
0x74, 0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49,
|
||||||
|
0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x65, 0x73,
|
||||||
|
0x69, 0x73, 0x74, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x6f, 0x74, 0x5f, 0x47, 0x61, 0x69,
|
||||||
|
0x6e, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x6f, 0x74, 0x5f, 0x43, 0x6f, 0x6e, 0x74, 0x72,
|
||||||
|
0x6f, 0x6c, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x6f, 0x74, 0x5f, 0x41, 0x63, 0x74, 0x69,
|
||||||
|
0x6f, 0x6e, 0x10, 0x06, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
||||||
|
0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -1584,44 +1713,48 @@ func file_battle_battle_struct_proto_rawDescGZIP() []byte {
|
|||||||
return file_battle_battle_struct_proto_rawDescData
|
return file_battle_battle_struct_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_battle_battle_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
var file_battle_battle_struct_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||||
|
var file_battle_battle_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
|
||||||
var file_battle_battle_struct_proto_goTypes = []interface{}{
|
var file_battle_battle_struct_proto_goTypes = []interface{}{
|
||||||
(*ComModifyOperate)(nil), // 0: ComModifyOperate
|
(EffectTipsType)(0), // 0: EffectTipsType
|
||||||
(*ComStartFight)(nil), // 1: ComStartFight
|
(*ComModifyOperate)(nil), // 1: ComModifyOperate
|
||||||
(*ComInitFight)(nil), // 2: ComInitFight
|
(*ComStartFight)(nil), // 2: ComStartFight
|
||||||
(*ComDeleteRole)(nil), // 3: ComDeleteRole
|
(*ComInitFight)(nil), // 3: ComInitFight
|
||||||
(*ComEndFight)(nil), // 4: ComEndFight
|
(*ComDeleteRole)(nil), // 4: ComDeleteRole
|
||||||
(*ComSkillInfo)(nil), // 5: ComSkillInfo
|
(*ComEndFight)(nil), // 5: ComEndFight
|
||||||
(*ComStartAction)(nil), // 6: ComStartAction
|
(*ComSkillInfo)(nil), // 6: ComSkillInfo
|
||||||
(*ComSkillCDAction)(nil), // 7: ComSkillCDAction
|
(*ComStartAction)(nil), // 7: ComStartAction
|
||||||
(*ComStopAction)(nil), // 8: ComStopAction
|
(*ComSkillCDAction)(nil), // 8: ComSkillCDAction
|
||||||
(*ComWaitInputSkill)(nil), // 9: ComWaitInputSkill
|
(*ComStopAction)(nil), // 9: ComStopAction
|
||||||
(*ComSkillAtk)(nil), // 10: ComSkillAtk
|
(*ComWaitInputSkill)(nil), // 10: ComWaitInputSkill
|
||||||
(*ComSkillAfterAtk)(nil), // 11: ComSkillAfterAtk
|
(*ComSkillAtk)(nil), // 11: ComSkillAtk
|
||||||
(*ComMondifyBuff)(nil), // 12: ComMondifyBuff
|
(*ComSkillAfterAtk)(nil), // 12: ComSkillAfterAtk
|
||||||
(*ComRebirth)(nil), // 13: ComRebirth
|
(*ComMondifyBuff)(nil), // 13: ComMondifyBuff
|
||||||
(*ComModifyHealth)(nil), // 14: ComModifyHealth
|
(*ComRebirth)(nil), // 14: ComRebirth
|
||||||
(*ComTeachTask)(nil), // 15: ComTeachTask
|
(*ComModifyHealth)(nil), // 15: ComModifyHealth
|
||||||
(*ComStory)(nil), // 16: ComStory
|
(*ComTeachTask)(nil), // 16: ComTeachTask
|
||||||
(*ComGuide)(nil), // 17: ComGuide
|
(*ComStory)(nil), // 17: ComStory
|
||||||
(*ComCreateRoles)(nil), // 18: ComCreateRoles
|
(*ComGuide)(nil), // 18: ComGuide
|
||||||
(*ComPlayEffect)(nil), // 19: ComPlayEffect
|
(*ComCreateRoles)(nil), // 19: ComCreateRoles
|
||||||
(*ComEmitCountdown)(nil), // 20: ComEmitCountdown
|
(*ComPlayEffect)(nil), // 20: ComPlayEffect
|
||||||
(*BattleRole)(nil), // 21: BattleRole
|
(*ComEmitCountdown)(nil), // 21: ComEmitCountdown
|
||||||
(*BattleCmd)(nil), // 22: BattleCmd
|
(*ComEffectTips)(nil), // 22: ComEffectTips
|
||||||
|
(*BattleRole)(nil), // 23: BattleRole
|
||||||
|
(*BattleCmd)(nil), // 24: BattleCmd
|
||||||
}
|
}
|
||||||
var file_battle_battle_struct_proto_depIdxs = []int32{
|
var file_battle_battle_struct_proto_depIdxs = []int32{
|
||||||
21, // 0: ComInitFight.roles:type_name -> BattleRole
|
23, // 0: ComInitFight.roles:type_name -> BattleRole
|
||||||
5, // 1: ComStartAction.skillInfo:type_name -> ComSkillInfo
|
6, // 1: ComStartAction.skillInfo:type_name -> ComSkillInfo
|
||||||
5, // 2: ComSkillCDAction.skillInfo:type_name -> ComSkillInfo
|
6, // 2: ComSkillCDAction.skillInfo:type_name -> ComSkillInfo
|
||||||
11, // 3: ComSkillAtk.comList:type_name -> ComSkillAfterAtk
|
12, // 3: ComSkillAtk.comList:type_name -> ComSkillAfterAtk
|
||||||
22, // 4: ComSkillAfterAtk.comList:type_name -> BattleCmd
|
24, // 4: ComSkillAfterAtk.comList:type_name -> BattleCmd
|
||||||
21, // 5: ComCreateRoles.roles:type_name -> BattleRole
|
23, // 5: ComCreateRoles.roles:type_name -> BattleRole
|
||||||
6, // [6:6] is the sub-list for method output_type
|
0, // 6: ComEffectTips.type:type_name -> EffectTipsType
|
||||||
6, // [6:6] is the sub-list for method input_type
|
7, // [7:7] is the sub-list for method output_type
|
||||||
6, // [6:6] is the sub-list for extension type_name
|
7, // [7:7] is the sub-list for method input_type
|
||||||
6, // [6:6] is the sub-list for extension extendee
|
7, // [7:7] is the sub-list for extension type_name
|
||||||
0, // [0:6] is the sub-list for field type_name
|
7, // [7:7] is the sub-list for extension extendee
|
||||||
|
0, // [0:7] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_battle_battle_struct_proto_init() }
|
func init() { file_battle_battle_struct_proto_init() }
|
||||||
@ -1884,19 +2017,32 @@ func file_battle_battle_struct_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
file_battle_battle_struct_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*ComEffectTips); 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{
|
||||||
File: protoimpl.DescBuilder{
|
File: protoimpl.DescBuilder{
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_battle_battle_struct_proto_rawDesc,
|
RawDescriptor: file_battle_battle_struct_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 1,
|
||||||
NumMessages: 21,
|
NumMessages: 22,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
GoTypes: file_battle_battle_struct_proto_goTypes,
|
GoTypes: file_battle_battle_struct_proto_goTypes,
|
||||||
DependencyIndexes: file_battle_battle_struct_proto_depIdxs,
|
DependencyIndexes: file_battle_battle_struct_proto_depIdxs,
|
||||||
|
EnumInfos: file_battle_battle_struct_proto_enumTypes,
|
||||||
MessageInfos: file_battle_battle_struct_proto_msgTypes,
|
MessageInfos: file_battle_battle_struct_proto_msgTypes,
|
||||||
}.Build()
|
}.Build()
|
||||||
File_battle_battle_struct_proto = out.File
|
File_battle_battle_struct_proto = out.File
|
||||||
|
@ -286,6 +286,11 @@ type DBPracticeRoom struct {
|
|||||||
Pillar3 *DBPracticePillar `protobuf:"bytes,10,opt,name=pillar3,proto3" json:"pillar3"` //柱子3
|
Pillar3 *DBPracticePillar `protobuf:"bytes,10,opt,name=pillar3,proto3" json:"pillar3"` //柱子3
|
||||||
Pillarf *DBPracticePillar `protobuf:"bytes,11,opt,name=pillarf,proto3" json:"pillarf"` //好友柱子
|
Pillarf *DBPracticePillar `protobuf:"bytes,11,opt,name=pillarf,proto3" json:"pillarf"` //好友柱子
|
||||||
Statuers []*DBPracticeStatuer `protobuf:"bytes,12,rep,name=statuers,proto3" json:"statuers"` //武馆雕像
|
Statuers []*DBPracticeStatuer `protobuf:"bytes,12,rep,name=statuers,proto3" json:"statuers"` //武馆雕像
|
||||||
|
Currnpc int32 `protobuf:"varint,13,opt,name=currnpc,proto3" json:"currnpc"` //当前npc
|
||||||
|
Refresh int64 `protobuf:"varint,14,opt,name=refresh,proto3" json:"refresh"` //刷新时间
|
||||||
|
Battlenum int32 `protobuf:"varint,15,opt,name=battlenum,proto3" json:"battlenum"` //战斗次数
|
||||||
|
Captain int32 `protobuf:"varint,16,opt,name=captain,proto3" json:"captain"` //战斗征信队长位
|
||||||
|
Formation []*BattleRole `protobuf:"bytes,17,rep,name=formation,proto3" json:"formation"` //战斗阵型
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DBPracticeRoom) Reset() {
|
func (x *DBPracticeRoom) Reset() {
|
||||||
@ -404,6 +409,41 @@ func (x *DBPracticeRoom) GetStatuers() []*DBPracticeStatuer {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *DBPracticeRoom) GetCurrnpc() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Currnpc
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPracticeRoom) GetRefresh() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Refresh
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPracticeRoom) GetBattlenum() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Battlenum
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPracticeRoom) GetCaptain() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Captain
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBPracticeRoom) GetFormation() []*BattleRole {
|
||||||
|
if x != nil {
|
||||||
|
return x.Formation
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type DBPracticeQiecuoInvite struct {
|
type DBPracticeQiecuoInvite struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@ -551,87 +591,98 @@ var File_practice_practice_db_proto protoreflect.FileDescriptor
|
|||||||
|
|
||||||
var file_practice_practice_db_proto_rawDesc = []byte{
|
var file_practice_practice_db_proto_rawDesc = []byte{
|
||||||
0x0a, 0x1a, 0x70, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x61, 0x63, 0x74,
|
0x0a, 0x1a, 0x70, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x61, 0x63, 0x74,
|
||||||
0x69, 0x63, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x01, 0x0a,
|
0x69, 0x63, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62, 0x61,
|
||||||
0x10, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61,
|
0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70,
|
||||||
0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x01, 0x0a, 0x10, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74,
|
||||||
0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x02, 0x20,
|
0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c,
|
0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12,
|
||||||
0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c,
|
0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12,
|
||||||
0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
0x1a, 0x0a, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||||
0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x05, 0x20,
|
0x08, 0x52, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75,
|
||||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x65, 0x61,
|
0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a,
|
||||||
0x63, 0x68, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x65, 0x61, 0x63,
|
0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x65, 0x72,
|
||||||
0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x72, 0x6f, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28,
|
0x6f, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01,
|
||||||
0x09, 0x52, 0x04, 0x70, 0x72, 0x6f, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74,
|
0x28, 0x09, 0x52, 0x07, 0x74, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70,
|
||||||
0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a,
|
0x72, 0x6f, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x72, 0x6f, 0x70, 0x12,
|
||||||
0x03, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12,
|
0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
||||||
0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x65, 0x6e, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52,
|
0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01,
|
||||||
0x06, 0x65, 0x78, 0x70, 0x65, 0x6e, 0x64, 0x22, 0x4f, 0x0a, 0x11, 0x44, 0x42, 0x50, 0x72, 0x61,
|
0x28, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x65, 0x6e,
|
||||||
0x63, 0x74, 0x69, 0x63, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02,
|
0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 0x65, 0x6e, 0x64, 0x22,
|
||||||
|
0x4f, 0x0a, 0x11, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x54, 0x65, 0x61,
|
||||||
|
0x63, 0x68, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||||
|
0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
|
0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e,
|
||||||
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74,
|
||||||
|
0x22, 0x55, 0x0a, 0x11, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x53, 0x74,
|
||||||
|
0x61, 0x74, 0x75, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||||
|
0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x67, 0x75, 0x72,
|
||||||
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12,
|
||||||
|
0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
|
0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x22, 0xed, 0x05, 0x0a, 0x0e, 0x44, 0x42, 0x50, 0x72,
|
||||||
|
0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 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, 0x1c, 0x0a, 0x09,
|
||||||
|
0x67, 0x79, 0x6d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||||
|
0x09, 0x67, 0x79, 0x6d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x79,
|
||||||
|
0x6d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
|
||||||
|
0x67, 0x79, 0x6d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61,
|
||||||
|
0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
|
0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x2d, 0x0a, 0x04,
|
||||||
|
0x66, 0x75, 0x6c, 0x6c, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44, 0x42, 0x50,
|
||||||
|
0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x46, 0x75, 0x6c, 0x6c,
|
||||||
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x66, 0x75, 0x6c, 0x6c, 0x12, 0x39, 0x0a, 0x08, 0x6b,
|
||||||
|
0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e,
|
||||||
|
0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x4b,
|
||||||
|
0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6b, 0x6e,
|
||||||
|
0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72,
|
||||||
|
0x31, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63,
|
||||||
|
0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c,
|
||||||
|
0x61, 0x72, 0x31, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x32, 0x18, 0x09,
|
||||||
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63,
|
||||||
|
0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x32,
|
||||||
|
0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x33, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
||||||
|
0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69,
|
||||||
|
0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x33, 0x12, 0x2b, 0x0a,
|
||||||
|
0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
|
||||||
|
0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61,
|
||||||
|
0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x66, 0x12, 0x2e, 0x0a, 0x08, 0x73, 0x74,
|
||||||
|
0x61, 0x74, 0x75, 0x65, 0x72, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44,
|
||||||
|
0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72,
|
||||||
|
0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75,
|
||||||
|
0x72, 0x72, 0x6e, 0x70, 0x63, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x75, 0x72,
|
||||||
|
0x72, 0x6e, 0x70, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18,
|
||||||
|
0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x1c,
|
||||||
|
0x0a, 0x09, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x0f, 0x20, 0x01, 0x28,
|
||||||
|
0x05, 0x52, 0x09, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07,
|
||||||
|
0x63, 0x61, 0x70, 0x74, 0x61, 0x69, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63,
|
||||||
|
0x61, 0x70, 0x74, 0x61, 0x69, 0x6e, 0x12, 0x29, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74,
|
||||||
|
0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74,
|
||||||
|
0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
|
||||||
|
0x6e, 0x1a, 0x37, 0x0a, 0x09, 0x46, 0x75, 0x6c, 0x6c, 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, 0x3b, 0x0a, 0x0d, 0x4b, 0x6e,
|
||||||
|
0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 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, 0x22, 0x48, 0x0a, 0x16, 0x44, 0x42, 0x50, 0x72, 0x61,
|
||||||
|
0x63, 0x74, 0x69, 0x63, 0x65, 0x51, 0x69, 0x65, 0x63, 0x75, 0x6f, 0x49, 0x6e, 0x76, 0x69, 0x74,
|
||||||
|
0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
||||||
|
0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||||||
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
||||||
|
0x70, 0x22, 0xb5, 0x01, 0x0a, 0x16, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65,
|
||||||
|
0x51, 0x69, 0x65, 0x63, 0x75, 0x6f, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02,
|
||||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03,
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03,
|
||||||
0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x18,
|
0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x31,
|
||||||
0x0a, 0x07, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||||
0x07, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x22, 0x55, 0x0a, 0x11, 0x44, 0x42, 0x50, 0x72,
|
0x17, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x51, 0x69, 0x65, 0x63,
|
||||||
0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72, 0x12, 0x10, 0x0a,
|
0x75, 0x6f, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
|
||||||
0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12,
|
0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||||
0x16, 0x0a, 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x61, 0x74,
|
||||||
0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74,
|
0x74, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x69,
|
||||||
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x22,
|
0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x06, 0x20, 0x03, 0x28,
|
||||||
0xd6, 0x04, 0x0a, 0x0e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, 0x6f,
|
0x09, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
|
||||||
0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
||||||
0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x79, 0x6d, 0x61, 0x63, 0x74, 0x69, 0x6f,
|
|
||||||
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x79, 0x6d, 0x61, 0x63, 0x74, 0x69,
|
|
||||||
0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x79, 0x6d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68,
|
|
||||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x67, 0x79, 0x6d, 0x72, 0x65, 0x66, 0x72, 0x65,
|
|
||||||
0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73,
|
|
||||||
0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66,
|
|
||||||
0x72, 0x65, 0x73, 0x68, 0x12, 0x2d, 0x0a, 0x04, 0x66, 0x75, 0x6c, 0x6c, 0x18, 0x06, 0x20, 0x03,
|
|
||||||
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52,
|
|
||||||
0x6f, 0x6f, 0x6d, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x66,
|
|
||||||
0x75, 0x6c, 0x6c, 0x12, 0x39, 0x0a, 0x08, 0x6b, 0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x18,
|
|
||||||
0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69,
|
|
||||||
0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x4b, 0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x45,
|
|
||||||
0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6b, 0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x12, 0x2b,
|
|
||||||
0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x31, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
||||||
0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c,
|
|
||||||
0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x31, 0x12, 0x2b, 0x0a, 0x07, 0x70,
|
|
||||||
0x69, 0x6c, 0x6c, 0x61, 0x72, 0x32, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44,
|
|
||||||
0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52,
|
|
||||||
0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x32, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c,
|
|
||||||
0x61, 0x72, 0x33, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72,
|
|
||||||
0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69,
|
|
||||||
0x6c, 0x6c, 0x61, 0x72, 0x33, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x66,
|
|
||||||
0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74,
|
|
||||||
0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61,
|
|
||||||
0x72, 0x66, 0x12, 0x2e, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72, 0x73, 0x18, 0x0c,
|
|
||||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63,
|
|
||||||
0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x65,
|
|
||||||
0x72, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x46, 0x75, 0x6c, 0x6c, 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, 0x3b, 0x0a, 0x0d, 0x4b,
|
|
||||||
0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 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, 0x22, 0x48, 0x0a, 0x16, 0x44, 0x42, 0x50, 0x72,
|
|
||||||
0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x51, 0x69, 0x65, 0x63, 0x75, 0x6f, 0x49, 0x6e, 0x76, 0x69,
|
|
||||||
0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
||||||
0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
||||||
0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
|
||||||
0x6d, 0x70, 0x22, 0xb5, 0x01, 0x0a, 0x16, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63,
|
|
||||||
0x65, 0x51, 0x69, 0x65, 0x63, 0x75, 0x6f, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 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,
|
|
||||||
0x31, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
|
||||||
0x32, 0x17, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x51, 0x69, 0x65,
|
|
||||||
0x63, 0x75, 0x6f, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65,
|
|
||||||
0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01,
|
|
||||||
0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x61,
|
|
||||||
0x74, 0x74, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74,
|
|
||||||
0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x06, 0x20, 0x03,
|
|
||||||
0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b,
|
|
||||||
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -656,6 +707,7 @@ var file_practice_practice_db_proto_goTypes = []interface{}{
|
|||||||
(*DBPracticeQiecuoRecord)(nil), // 5: DBPracticeQiecuoRecord
|
(*DBPracticeQiecuoRecord)(nil), // 5: DBPracticeQiecuoRecord
|
||||||
nil, // 6: DBPracticeRoom.FullEntry
|
nil, // 6: DBPracticeRoom.FullEntry
|
||||||
nil, // 7: DBPracticeRoom.KnapsackEntry
|
nil, // 7: DBPracticeRoom.KnapsackEntry
|
||||||
|
(*BattleRole)(nil), // 8: BattleRole
|
||||||
}
|
}
|
||||||
var file_practice_practice_db_proto_depIdxs = []int32{
|
var file_practice_practice_db_proto_depIdxs = []int32{
|
||||||
6, // 0: DBPracticeRoom.full:type_name -> DBPracticeRoom.FullEntry
|
6, // 0: DBPracticeRoom.full:type_name -> DBPracticeRoom.FullEntry
|
||||||
@ -665,12 +717,13 @@ var file_practice_practice_db_proto_depIdxs = []int32{
|
|||||||
0, // 4: DBPracticeRoom.pillar3:type_name -> DBPracticePillar
|
0, // 4: DBPracticeRoom.pillar3:type_name -> DBPracticePillar
|
||||||
0, // 5: DBPracticeRoom.pillarf:type_name -> DBPracticePillar
|
0, // 5: DBPracticeRoom.pillarf:type_name -> DBPracticePillar
|
||||||
2, // 6: DBPracticeRoom.statuers:type_name -> DBPracticeStatuer
|
2, // 6: DBPracticeRoom.statuers:type_name -> DBPracticeStatuer
|
||||||
4, // 7: DBPracticeQiecuoRecord.targets:type_name -> DBPracticeQiecuoInvite
|
8, // 7: DBPracticeRoom.formation:type_name -> BattleRole
|
||||||
8, // [8:8] is the sub-list for method output_type
|
4, // 8: DBPracticeQiecuoRecord.targets:type_name -> DBPracticeQiecuoInvite
|
||||||
8, // [8:8] is the sub-list for method input_type
|
9, // [9:9] is the sub-list for method output_type
|
||||||
8, // [8:8] is the sub-list for extension type_name
|
9, // [9:9] is the sub-list for method input_type
|
||||||
8, // [8:8] is the sub-list for extension extendee
|
9, // [9:9] is the sub-list for extension type_name
|
||||||
0, // [0:8] is the sub-list for field type_name
|
9, // [9:9] is the sub-list for extension extendee
|
||||||
|
0, // [0:9] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_practice_practice_db_proto_init() }
|
func init() { file_practice_practice_db_proto_init() }
|
||||||
@ -678,6 +731,7 @@ func file_practice_practice_db_proto_init() {
|
|||||||
if File_practice_practice_db_proto != nil {
|
if File_practice_practice_db_proto != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
file_battle_battle_db_proto_init()
|
||||||
if !protoimpl.UnsafeEnabled {
|
if !protoimpl.UnsafeEnabled {
|
||||||
file_practice_practice_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
file_practice_practice_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*DBPracticePillar); i {
|
switch v := v.(*DBPracticePillar); i {
|
||||||
|
@ -1638,6 +1638,240 @@ func (x *PracticeQiecuonotifyPush) GetNotifyType() int32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//NPC战斗请求
|
||||||
|
type PracticeNPCBattkleReq struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PracticeNPCBattkleReq) Reset() {
|
||||||
|
*x = PracticeNPCBattkleReq{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_practice_practice_msg_proto_msgTypes[32]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PracticeNPCBattkleReq) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*PracticeNPCBattkleReq) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *PracticeNPCBattkleReq) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_practice_practice_msg_proto_msgTypes[32]
|
||||||
|
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 PracticeNPCBattkleReq.ProtoReflect.Descriptor instead.
|
||||||
|
func (*PracticeNPCBattkleReq) Descriptor() ([]byte, []int) {
|
||||||
|
return file_practice_practice_msg_proto_rawDescGZIP(), []int{32}
|
||||||
|
}
|
||||||
|
|
||||||
|
//NPC战斗请求 回应
|
||||||
|
type PracticeNPCBattkleResp struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PracticeNPCBattkleResp) Reset() {
|
||||||
|
*x = PracticeNPCBattkleResp{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_practice_practice_msg_proto_msgTypes[33]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PracticeNPCBattkleResp) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*PracticeNPCBattkleResp) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *PracticeNPCBattkleResp) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_practice_practice_msg_proto_msgTypes[33]
|
||||||
|
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 PracticeNPCBattkleResp.ProtoReflect.Descriptor instead.
|
||||||
|
func (*PracticeNPCBattkleResp) Descriptor() ([]byte, []int) {
|
||||||
|
return file_practice_practice_msg_proto_rawDescGZIP(), []int{33}
|
||||||
|
}
|
||||||
|
|
||||||
|
//NPC战斗结束请求
|
||||||
|
type PracticeNPCBattkleFinishReq struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PracticeNPCBattkleFinishReq) Reset() {
|
||||||
|
*x = PracticeNPCBattkleFinishReq{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_practice_practice_msg_proto_msgTypes[34]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PracticeNPCBattkleFinishReq) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*PracticeNPCBattkleFinishReq) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *PracticeNPCBattkleFinishReq) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_practice_practice_msg_proto_msgTypes[34]
|
||||||
|
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 PracticeNPCBattkleFinishReq.ProtoReflect.Descriptor instead.
|
||||||
|
func (*PracticeNPCBattkleFinishReq) Descriptor() ([]byte, []int) {
|
||||||
|
return file_practice_practice_msg_proto_rawDescGZIP(), []int{34}
|
||||||
|
}
|
||||||
|
|
||||||
|
//NPC战斗结束请求 回应
|
||||||
|
type PracticeNPCBattkleFinishResp struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PracticeNPCBattkleFinishResp) Reset() {
|
||||||
|
*x = PracticeNPCBattkleFinishResp{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_practice_practice_msg_proto_msgTypes[35]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PracticeNPCBattkleFinishResp) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*PracticeNPCBattkleFinishResp) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *PracticeNPCBattkleFinishResp) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_practice_practice_msg_proto_msgTypes[35]
|
||||||
|
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 PracticeNPCBattkleFinishResp.ProtoReflect.Descriptor instead.
|
||||||
|
func (*PracticeNPCBattkleFinishResp) Descriptor() ([]byte, []int) {
|
||||||
|
return file_practice_practice_msg_proto_rawDescGZIP(), []int{35}
|
||||||
|
}
|
||||||
|
|
||||||
|
//NPC对话 请求
|
||||||
|
type PracticeNPCDialogReq struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PracticeNPCDialogReq) Reset() {
|
||||||
|
*x = PracticeNPCDialogReq{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_practice_practice_msg_proto_msgTypes[36]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PracticeNPCDialogReq) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*PracticeNPCDialogReq) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *PracticeNPCDialogReq) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_practice_practice_msg_proto_msgTypes[36]
|
||||||
|
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 PracticeNPCDialogReq.ProtoReflect.Descriptor instead.
|
||||||
|
func (*PracticeNPCDialogReq) Descriptor() ([]byte, []int) {
|
||||||
|
return file_practice_practice_msg_proto_rawDescGZIP(), []int{36}
|
||||||
|
}
|
||||||
|
|
||||||
|
//NPC对话 请求
|
||||||
|
type PracticeNPCDialogResp struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PracticeNPCDialogResp) Reset() {
|
||||||
|
*x = PracticeNPCDialogResp{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_practice_practice_msg_proto_msgTypes[37]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PracticeNPCDialogResp) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*PracticeNPCDialogResp) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *PracticeNPCDialogResp) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_practice_practice_msg_proto_msgTypes[37]
|
||||||
|
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 PracticeNPCDialogResp.ProtoReflect.Descriptor instead.
|
||||||
|
func (*PracticeNPCDialogResp) Descriptor() ([]byte, []int) {
|
||||||
|
return file_practice_practice_msg_proto_rawDescGZIP(), []int{37}
|
||||||
|
}
|
||||||
|
|
||||||
var File_practice_practice_msg_proto protoreflect.FileDescriptor
|
var File_practice_practice_msg_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_practice_practice_msg_proto_rawDesc = []byte{
|
var file_practice_practice_msg_proto_rawDesc = []byte{
|
||||||
@ -1773,8 +2007,18 @@ var file_practice_practice_msg_proto_rawDesc = []byte{
|
|||||||
0x66, 0x79, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20,
|
0x66, 0x79, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||||
0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x6f, 0x74, 0x69,
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x6f, 0x74, 0x69,
|
||||||
0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6e, 0x6f,
|
0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6e, 0x6f,
|
||||||
0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62,
|
0x74, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x50, 0x72, 0x61, 0x63,
|
||||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x74, 0x69, 0x63, 0x65, 0x4e, 0x50, 0x43, 0x42, 0x61, 0x74, 0x74, 0x6b, 0x6c, 0x65, 0x52, 0x65,
|
||||||
|
0x71, 0x22, 0x18, 0x0a, 0x16, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x4e, 0x50, 0x43,
|
||||||
|
0x42, 0x61, 0x74, 0x74, 0x6b, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x1d, 0x0a, 0x1b, 0x50,
|
||||||
|
0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x4e, 0x50, 0x43, 0x42, 0x61, 0x74, 0x74, 0x6b, 0x6c,
|
||||||
|
0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x71, 0x22, 0x1e, 0x0a, 0x1c, 0x50, 0x72,
|
||||||
|
0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x4e, 0x50, 0x43, 0x42, 0x61, 0x74, 0x74, 0x6b, 0x6c, 0x65,
|
||||||
|
0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x22, 0x16, 0x0a, 0x14, 0x50, 0x72,
|
||||||
|
0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x4e, 0x50, 0x43, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x52,
|
||||||
|
0x65, 0x71, 0x22, 0x17, 0x0a, 0x15, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x4e, 0x50,
|
||||||
|
0x43, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e,
|
||||||
|
0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -1789,54 +2033,60 @@ func file_practice_practice_msg_proto_rawDescGZIP() []byte {
|
|||||||
return file_practice_practice_msg_proto_rawDescData
|
return file_practice_practice_msg_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_practice_practice_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 34)
|
var file_practice_practice_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 40)
|
||||||
var file_practice_practice_msg_proto_goTypes = []interface{}{
|
var file_practice_practice_msg_proto_goTypes = []interface{}{
|
||||||
(*PracticeInfoReq)(nil), // 0: PracticeInfoReq
|
(*PracticeInfoReq)(nil), // 0: PracticeInfoReq
|
||||||
(*PracticeInfoResp)(nil), // 1: PracticeInfoResp
|
(*PracticeInfoResp)(nil), // 1: PracticeInfoResp
|
||||||
(*PracticeFriendRommReq)(nil), // 2: PracticeFriendRommReq
|
(*PracticeFriendRommReq)(nil), // 2: PracticeFriendRommReq
|
||||||
(*PracticeFriendRommResp)(nil), // 3: PracticeFriendRommResp
|
(*PracticeFriendRommResp)(nil), // 3: PracticeFriendRommResp
|
||||||
(*PracticeUpgradeReq)(nil), // 4: PracticeUpgradeReq
|
(*PracticeUpgradeReq)(nil), // 4: PracticeUpgradeReq
|
||||||
(*PracticeUpgradeResp)(nil), // 5: PracticeUpgradeResp
|
(*PracticeUpgradeResp)(nil), // 5: PracticeUpgradeResp
|
||||||
(*PracticePracticeReq)(nil), // 6: PracticePracticeReq
|
(*PracticePracticeReq)(nil), // 6: PracticePracticeReq
|
||||||
(*PracticePracticeResp)(nil), // 7: PracticePracticeResp
|
(*PracticePracticeResp)(nil), // 7: PracticePracticeResp
|
||||||
(*PracticeLootReq)(nil), // 8: PracticeLootReq
|
(*PracticeLootReq)(nil), // 8: PracticeLootReq
|
||||||
(*PracticeLootResp)(nil), // 9: PracticeLootResp
|
(*PracticeLootResp)(nil), // 9: PracticeLootResp
|
||||||
(*PracticeExpulsionReq)(nil), // 10: PracticeExpulsionReq
|
(*PracticeExpulsionReq)(nil), // 10: PracticeExpulsionReq
|
||||||
(*PracticeExpulsionResp)(nil), // 11: PracticeExpulsionResp
|
(*PracticeExpulsionResp)(nil), // 11: PracticeExpulsionResp
|
||||||
(*PracticeReceiveReq)(nil), // 12: PracticeReceiveReq
|
(*PracticeReceiveReq)(nil), // 12: PracticeReceiveReq
|
||||||
(*PracticeReceiveResp)(nil), // 13: PracticeReceiveResp
|
(*PracticeReceiveResp)(nil), // 13: PracticeReceiveResp
|
||||||
(*PracticeEnrolledReq)(nil), // 14: PracticeEnrolledReq
|
(*PracticeEnrolledReq)(nil), // 14: PracticeEnrolledReq
|
||||||
(*PracticeEnrolledResp)(nil), // 15: PracticeEnrolledResp
|
(*PracticeEnrolledResp)(nil), // 15: PracticeEnrolledResp
|
||||||
(*PracticeJXItemPush)(nil), // 16: PracticeJXItemPush
|
(*PracticeJXItemPush)(nil), // 16: PracticeJXItemPush
|
||||||
(*PracticeGymInfoReq)(nil), // 17: PracticeGymInfoReq
|
(*PracticeGymInfoReq)(nil), // 17: PracticeGymInfoReq
|
||||||
(*PracticeGymInfoResp)(nil), // 18: PracticeGymInfoResp
|
(*PracticeGymInfoResp)(nil), // 18: PracticeGymInfoResp
|
||||||
(*PracticeGymRefreshReq)(nil), // 19: PracticeGymRefreshReq
|
(*PracticeGymRefreshReq)(nil), // 19: PracticeGymRefreshReq
|
||||||
(*PracticeGymRefreshResp)(nil), // 20: PracticeGymRefreshResp
|
(*PracticeGymRefreshResp)(nil), // 20: PracticeGymRefreshResp
|
||||||
(*PracticeGetGymBuffReq)(nil), // 21: PracticeGetGymBuffReq
|
(*PracticeGetGymBuffReq)(nil), // 21: PracticeGetGymBuffReq
|
||||||
(*PracticeGetGymBuffResp)(nil), // 22: PracticeGetGymBuffResp
|
(*PracticeGetGymBuffResp)(nil), // 22: PracticeGetGymBuffResp
|
||||||
(*PracticeGymConfirmReq)(nil), // 23: PracticeGymConfirmReq
|
(*PracticeGymConfirmReq)(nil), // 23: PracticeGymConfirmReq
|
||||||
(*PracticeGymConfirmResp)(nil), // 24: PracticeGymConfirmResp
|
(*PracticeGymConfirmResp)(nil), // 24: PracticeGymConfirmResp
|
||||||
(*PracticeQiecuoReq)(nil), // 25: PracticeQiecuoReq
|
(*PracticeQiecuoReq)(nil), // 25: PracticeQiecuoReq
|
||||||
(*PracticeQiecuoResp)(nil), // 26: PracticeQiecuoResp
|
(*PracticeQiecuoResp)(nil), // 26: PracticeQiecuoResp
|
||||||
(*PracticeAcceptReq)(nil), // 27: PracticeAcceptReq
|
(*PracticeAcceptReq)(nil), // 27: PracticeAcceptReq
|
||||||
(*PracticeAcceptResp)(nil), // 28: PracticeAcceptResp
|
(*PracticeAcceptResp)(nil), // 28: PracticeAcceptResp
|
||||||
(*PracticeRefuseReq)(nil), // 29: PracticeRefuseReq
|
(*PracticeRefuseReq)(nil), // 29: PracticeRefuseReq
|
||||||
(*PracticeRefuseResp)(nil), // 30: PracticeRefuseResp
|
(*PracticeRefuseResp)(nil), // 30: PracticeRefuseResp
|
||||||
(*PracticeQiecuonotifyPush)(nil), // 31: PracticeQiecuonotifyPush
|
(*PracticeQiecuonotifyPush)(nil), // 31: PracticeQiecuonotifyPush
|
||||||
nil, // 32: PracticeExpulsionResp.KnapsackEntry
|
(*PracticeNPCBattkleReq)(nil), // 32: PracticeNPCBattkleReq
|
||||||
nil, // 33: PracticeReceiveResp.KnapsackEntry
|
(*PracticeNPCBattkleResp)(nil), // 33: PracticeNPCBattkleResp
|
||||||
(*DBPracticeRoom)(nil), // 34: DBPracticeRoom
|
(*PracticeNPCBattkleFinishReq)(nil), // 34: PracticeNPCBattkleFinishReq
|
||||||
(*DBPracticePillar)(nil), // 35: DBPracticePillar
|
(*PracticeNPCBattkleFinishResp)(nil), // 35: PracticeNPCBattkleFinishResp
|
||||||
|
(*PracticeNPCDialogReq)(nil), // 36: PracticeNPCDialogReq
|
||||||
|
(*PracticeNPCDialogResp)(nil), // 37: PracticeNPCDialogResp
|
||||||
|
nil, // 38: PracticeExpulsionResp.KnapsackEntry
|
||||||
|
nil, // 39: PracticeReceiveResp.KnapsackEntry
|
||||||
|
(*DBPracticeRoom)(nil), // 40: DBPracticeRoom
|
||||||
|
(*DBPracticePillar)(nil), // 41: DBPracticePillar
|
||||||
}
|
}
|
||||||
var file_practice_practice_msg_proto_depIdxs = []int32{
|
var file_practice_practice_msg_proto_depIdxs = []int32{
|
||||||
34, // 0: PracticeInfoResp.info:type_name -> DBPracticeRoom
|
40, // 0: PracticeInfoResp.info:type_name -> DBPracticeRoom
|
||||||
34, // 1: PracticeFriendRommResp.info:type_name -> DBPracticeRoom
|
40, // 1: PracticeFriendRommResp.info:type_name -> DBPracticeRoom
|
||||||
35, // 2: PracticePracticeResp.pillar:type_name -> DBPracticePillar
|
41, // 2: PracticePracticeResp.pillar:type_name -> DBPracticePillar
|
||||||
35, // 3: PracticeLootResp.pillar:type_name -> DBPracticePillar
|
41, // 3: PracticeLootResp.pillar:type_name -> DBPracticePillar
|
||||||
35, // 4: PracticeExpulsionResp.pillar:type_name -> DBPracticePillar
|
41, // 4: PracticeExpulsionResp.pillar:type_name -> DBPracticePillar
|
||||||
32, // 5: PracticeExpulsionResp.knapsack:type_name -> PracticeExpulsionResp.KnapsackEntry
|
38, // 5: PracticeExpulsionResp.knapsack:type_name -> PracticeExpulsionResp.KnapsackEntry
|
||||||
35, // 6: PracticeReceiveResp.pillar:type_name -> DBPracticePillar
|
41, // 6: PracticeReceiveResp.pillar:type_name -> DBPracticePillar
|
||||||
33, // 7: PracticeReceiveResp.knapsack:type_name -> PracticeReceiveResp.KnapsackEntry
|
39, // 7: PracticeReceiveResp.knapsack:type_name -> PracticeReceiveResp.KnapsackEntry
|
||||||
8, // [8:8] is the sub-list for method output_type
|
8, // [8:8] is the sub-list for method output_type
|
||||||
8, // [8:8] is the sub-list for method input_type
|
8, // [8:8] is the sub-list for method input_type
|
||||||
8, // [8:8] is the sub-list for extension type_name
|
8, // [8:8] is the sub-list for extension type_name
|
||||||
@ -2235,6 +2485,78 @@ func file_practice_practice_msg_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
file_practice_practice_msg_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*PracticeNPCBattkleReq); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_practice_practice_msg_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*PracticeNPCBattkleResp); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_practice_practice_msg_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*PracticeNPCBattkleFinishReq); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_practice_practice_msg_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*PracticeNPCBattkleFinishResp); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_practice_practice_msg_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*PracticeNPCDialogReq); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_practice_practice_msg_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*PracticeNPCDialogResp); 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{
|
||||||
@ -2242,7 +2564,7 @@ func file_practice_practice_msg_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_practice_practice_msg_proto_rawDesc,
|
RawDescriptor: file_practice_practice_msg_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 34,
|
NumMessages: 40,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user