// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: battle/battle_struct.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = 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 //无法行动 EffectTipsType_Purification EffectTipsType = 7 //净化 EffectTipsType_Disperse EffectTipsType = 8 //驱散 EffectTipsType_Gain_round EffectTipsType = 9 //获得回合 EffectTipsType_Add_Operate EffectTipsType = 10 //增加行动值 EffectTipsType_Sub_Operate EffectTipsType = 11 //减少行动值 EffectTipsType_Standoff EffectTipsType = 12 //对峙 EffectTipsType_Undead EffectTipsType = 13 //不死 EffectTipsType_Poisoned EffectTipsType = 14 //中毒 EffectTipsType_Bleed EffectTipsType = 15 //流血 EffectTipsType_Recovery EffectTipsType = 16 //复苏 EffectTipsType_BeatBack EffectTipsType = 17 //反击 EffectTipsType_Diseased EffectTipsType = 18 //禁疗 EffectTipsType_LostHold EffectTipsType = 19 //失手 EffectTipsType_UnderStand EffectTipsType = 20 //会心 ) // 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", 7: "Purification", 8: "Disperse", 9: "Gain_round", 10: "Add_Operate", 11: "Sub_Operate", 12: "Standoff", 13: "Undead", 14: "Poisoned", 15: "Bleed", 16: "Recovery", 17: "BeatBack", 18: "Diseased", 19: "LostHold", 20: "UnderStand", } EffectTipsType_value = map[string]int32{ "Eff_Success": 0, "Not_Success": 1, "Immunity": 2, "Resist": 3, "Not_Gain": 4, "Not_Control": 5, "Not_Action": 6, "Purification": 7, "Disperse": 8, "Gain_round": 9, "Add_Operate": 10, "Sub_Operate": 11, "Standoff": 12, "Undead": 13, "Poisoned": 14, "Bleed": 15, "Recovery": 16, "BeatBack": 17, "Diseased": 18, "LostHold": 19, "UnderStand": 20, } ) 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 { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields To int32 `protobuf:"varint,1,opt,name=to,proto3" json:"to"` Nv float32 `protobuf:"fixed32,2,opt,name=nv,proto3" json:"nv"` //行动值 Reset_ bool `protobuf:"varint,3,opt,name=reset,proto3" json:"reset"` //是否是清零 } func (x *ComModifyOperate) Reset() { *x = ComModifyOperate{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComModifyOperate) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComModifyOperate) ProtoMessage() {} func (x *ComModifyOperate) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[0] 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 ComModifyOperate.ProtoReflect.Descriptor instead. func (*ComModifyOperate) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{0} } func (x *ComModifyOperate) GetTo() int32 { if x != nil { return x.To } return 0 } func (x *ComModifyOperate) GetNv() float32 { if x != nil { return x.Nv } return 0 } func (x *ComModifyOperate) GetReset_() bool { if x != nil { return x.Reset_ } return false } //战斗开始 type ComStartFight struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Reserve int32 `protobuf:"varint,1,opt,name=reserve,proto3" json:"reserve"` } func (x *ComStartFight) Reset() { *x = ComStartFight{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComStartFight) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComStartFight) ProtoMessage() {} func (x *ComStartFight) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[1] 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 ComStartFight.ProtoReflect.Descriptor instead. func (*ComStartFight) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{1} } func (x *ComStartFight) GetReserve() int32 { if x != nil { return x.Reserve } return 0 } //初始化战斗角色 type ComInitFight struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields CurWave int32 `protobuf:"varint,1,opt,name=curWave,proto3" json:"curWave"` //波次 RedEntryRid int32 `protobuf:"varint,2,opt,name=redEntryRid,proto3" json:"redEntryRid"` // side=1 BuleEntryRid int32 `protobuf:"varint,3,opt,name=buleEntryRid,proto3" json:"buleEntryRid"` // side = 2; PlayType int32 `protobuf:"varint,4,opt,name=playType,proto3" json:"playType"` //玩法类型 Roles []*BattleRole `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles"` //角色列表 } func (x *ComInitFight) Reset() { *x = ComInitFight{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComInitFight) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComInitFight) ProtoMessage() {} func (x *ComInitFight) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[2] 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 ComInitFight.ProtoReflect.Descriptor instead. func (*ComInitFight) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{2} } func (x *ComInitFight) GetCurWave() int32 { if x != nil { return x.CurWave } return 0 } func (x *ComInitFight) GetRedEntryRid() int32 { if x != nil { return x.RedEntryRid } return 0 } func (x *ComInitFight) GetBuleEntryRid() int32 { if x != nil { return x.BuleEntryRid } return 0 } func (x *ComInitFight) GetPlayType() int32 { if x != nil { return x.PlayType } return 0 } func (x *ComInitFight) GetRoles() []*BattleRole { if x != nil { return x.Roles } return nil } // 删除角色 type ComDeleteRole struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields To int32 `protobuf:"varint,1,opt,name=to,proto3" json:"to"` } func (x *ComDeleteRole) Reset() { *x = ComDeleteRole{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComDeleteRole) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComDeleteRole) ProtoMessage() {} func (x *ComDeleteRole) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[3] 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 ComDeleteRole.ProtoReflect.Descriptor instead. func (*ComDeleteRole) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{3} } func (x *ComDeleteRole) GetTo() int32 { if x != nil { return x.To } return 0 } //战斗结束指令 type ComEndFight struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields FightId string `protobuf:"bytes,1,opt,name=fightId,proto3" json:"fightId"` WinSide int32 `protobuf:"varint,2,opt,name=winSide,proto3" json:"winSide"` TotalRound int32 `protobuf:"varint,3,opt,name=totalRound,proto3" json:"totalRound"` //经历回合 RedDeath int32 `protobuf:"varint,4,opt,name=RedDeath,proto3" json:"RedDeath"` //红方死亡统计 BuleDeath int32 `protobuf:"varint,5,opt,name=buleDeath,proto3" json:"buleDeath"` //蓝方死亡统计 } func (x *ComEndFight) Reset() { *x = ComEndFight{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComEndFight) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComEndFight) ProtoMessage() {} func (x *ComEndFight) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[4] 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 ComEndFight.ProtoReflect.Descriptor instead. func (*ComEndFight) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{4} } func (x *ComEndFight) GetFightId() string { if x != nil { return x.FightId } return "" } func (x *ComEndFight) GetWinSide() int32 { if x != nil { return x.WinSide } return 0 } func (x *ComEndFight) GetTotalRound() int32 { if x != nil { return x.TotalRound } return 0 } func (x *ComEndFight) GetRedDeath() int32 { if x != nil { return x.RedDeath } return 0 } func (x *ComEndFight) GetBuleDeath() int32 { if x != nil { return x.BuleDeath } return 0 } //技能信息 type ComSkillInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SkillId int32 `protobuf:"varint,1,opt,name=skillId,proto3" json:"skillId"` Lv int32 `protobuf:"varint,2,opt,name=lv,proto3" json:"lv"` MaxCd int32 `protobuf:"varint,3,opt,name=maxCd,proto3" json:"maxCd"` Cd int32 `protobuf:"varint,4,opt,name=cd,proto3" json:"cd"` ShowEffect bool `protobuf:"varint,5,opt,name=showEffect,proto3" json:"showEffect"` //是否显示CD恢复特效 CanEmit bool `protobuf:"varint,6,opt,name=CanEmit,proto3" json:"CanEmit"` //能否释放 } func (x *ComSkillInfo) Reset() { *x = ComSkillInfo{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComSkillInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComSkillInfo) ProtoMessage() {} func (x *ComSkillInfo) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[5] 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 ComSkillInfo.ProtoReflect.Descriptor instead. func (*ComSkillInfo) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{5} } func (x *ComSkillInfo) GetSkillId() int32 { if x != nil { return x.SkillId } return 0 } func (x *ComSkillInfo) GetLv() int32 { if x != nil { return x.Lv } return 0 } func (x *ComSkillInfo) GetMaxCd() int32 { if x != nil { return x.MaxCd } return 0 } func (x *ComSkillInfo) GetCd() int32 { if x != nil { return x.Cd } return 0 } func (x *ComSkillInfo) GetShowEffect() bool { if x != nil { return x.ShowEffect } return false } func (x *ComSkillInfo) GetCanEmit() bool { if x != nil { return x.CanEmit } return false } //回合开始 type ComStartAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields From int32 `protobuf:"varint,1,opt,name=from,proto3" json:"from"` //当前出手角色 Target int32 `protobuf:"varint,2,opt,name=target,proto3" json:"target"` //预选攻击目标 CurRound int32 `protobuf:"varint,3,opt,name=curRound,proto3" json:"curRound"` //当前回合 CanAtk bool `protobuf:"varint,4,opt,name=canAtk,proto3" json:"canAtk"` //是否能攻击 SkillInfo []*ComSkillInfo `protobuf:"bytes,5,rep,name=skillInfo,proto3" json:"skillInfo"` //技能数据 } func (x *ComStartAction) Reset() { *x = ComStartAction{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComStartAction) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComStartAction) ProtoMessage() {} func (x *ComStartAction) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ComStartAction.ProtoReflect.Descriptor instead. func (*ComStartAction) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{6} } func (x *ComStartAction) GetFrom() int32 { if x != nil { return x.From } return 0 } func (x *ComStartAction) GetTarget() int32 { if x != nil { return x.Target } return 0 } func (x *ComStartAction) GetCurRound() int32 { if x != nil { return x.CurRound } return 0 } func (x *ComStartAction) GetCanAtk() bool { if x != nil { return x.CanAtk } return false } func (x *ComStartAction) GetSkillInfo() []*ComSkillInfo { if x != nil { return x.SkillInfo } return nil } //角色技能CD type ComSkillCDAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields From int32 `protobuf:"varint,1,opt,name=from,proto3" json:"from"` SkillInfo []*ComSkillInfo `protobuf:"bytes,2,rep,name=skillInfo,proto3" json:"skillInfo"` } func (x *ComSkillCDAction) Reset() { *x = ComSkillCDAction{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComSkillCDAction) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComSkillCDAction) ProtoMessage() {} func (x *ComSkillCDAction) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[7] 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 ComSkillCDAction.ProtoReflect.Descriptor instead. func (*ComSkillCDAction) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{7} } func (x *ComSkillCDAction) GetFrom() int32 { if x != nil { return x.From } return 0 } func (x *ComSkillCDAction) GetSkillInfo() []*ComSkillInfo { if x != nil { return x.SkillInfo } return nil } //回合结束 type ComStopAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields From int32 `protobuf:"varint,1,opt,name=from,proto3" json:"from"` //当前结束回合角色 } func (x *ComStopAction) Reset() { *x = ComStopAction{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComStopAction) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComStopAction) ProtoMessage() {} func (x *ComStopAction) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[8] 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 ComStopAction.ProtoReflect.Descriptor instead. func (*ComStopAction) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{8} } func (x *ComStopAction) GetFrom() int32 { if x != nil { return x.From } return 0 } //等待输入技能 type ComWaitInputSkill struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Auto bool `protobuf:"varint,1,opt,name=auto,proto3" json:"auto"` Side int32 `protobuf:"varint,2,opt,name=side,proto3" json:"side"` SkillId int32 `protobuf:"varint,3,opt,name=skillId,proto3" json:"skillId"` Target int32 `protobuf:"varint,4,opt,name=target,proto3" json:"target"` CurRound int32 `protobuf:"varint,5,opt,name=curRound,proto3" json:"curRound"` } func (x *ComWaitInputSkill) Reset() { *x = ComWaitInputSkill{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComWaitInputSkill) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComWaitInputSkill) ProtoMessage() {} func (x *ComWaitInputSkill) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[9] 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 ComWaitInputSkill.ProtoReflect.Descriptor instead. func (*ComWaitInputSkill) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{9} } func (x *ComWaitInputSkill) GetAuto() bool { if x != nil { return x.Auto } return false } func (x *ComWaitInputSkill) GetSide() int32 { if x != nil { return x.Side } return 0 } func (x *ComWaitInputSkill) GetSkillId() int32 { if x != nil { return x.SkillId } return 0 } func (x *ComWaitInputSkill) GetTarget() int32 { if x != nil { return x.Target } return 0 } func (x *ComWaitInputSkill) GetCurRound() int32 { if x != nil { return x.CurRound } return 0 } //主技能命令 type ComSkillAtk struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields From int32 `protobuf:"varint,1,opt,name=from,proto3" json:"from"` Skillid int32 `protobuf:"varint,2,opt,name=skillid,proto3" json:"skillid"` Lv int32 `protobuf:"varint,3,opt,name=lv,proto3" json:"lv"` Param int32 `protobuf:"varint,4,opt,name=param,proto3" json:"param"` Target int32 `protobuf:"varint,5,opt,name=target,proto3" json:"target"` //释放目标 ComList []*ComSkillAfterAtk `protobuf:"bytes,6,rep,name=comList,proto3" json:"comList"` AniName string `protobuf:"bytes,7,opt,name=aniName,proto3" json:"aniName"` //预览使用 } func (x *ComSkillAtk) Reset() { *x = ComSkillAtk{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComSkillAtk) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComSkillAtk) ProtoMessage() {} func (x *ComSkillAtk) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[10] 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 ComSkillAtk.ProtoReflect.Descriptor instead. func (*ComSkillAtk) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{10} } func (x *ComSkillAtk) GetFrom() int32 { if x != nil { return x.From } return 0 } func (x *ComSkillAtk) GetSkillid() int32 { if x != nil { return x.Skillid } return 0 } func (x *ComSkillAtk) GetLv() int32 { if x != nil { return x.Lv } return 0 } func (x *ComSkillAtk) GetParam() int32 { if x != nil { return x.Param } return 0 } func (x *ComSkillAtk) GetTarget() int32 { if x != nil { return x.Target } return 0 } func (x *ComSkillAtk) GetComList() []*ComSkillAfterAtk { if x != nil { return x.ComList } return nil } func (x *ComSkillAtk) GetAniName() string { if x != nil { return x.AniName } return "" } //子技能 type ComSkillAfterAtk struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Skillid int32 `protobuf:"varint,1,opt,name=skillid,proto3" json:"skillid"` From int32 `protobuf:"varint,2,opt,name=from,proto3" json:"from"` Target []int32 `protobuf:"varint,4,rep,packed,name=target,proto3" json:"target"` //子技能目标(弹道类技能会用到) ComList []*BattleCmd `protobuf:"bytes,5,rep,name=comList,proto3" json:"comList"` } func (x *ComSkillAfterAtk) Reset() { *x = ComSkillAfterAtk{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComSkillAfterAtk) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComSkillAfterAtk) ProtoMessage() {} func (x *ComSkillAfterAtk) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[11] 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 ComSkillAfterAtk.ProtoReflect.Descriptor instead. func (*ComSkillAfterAtk) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{11} } func (x *ComSkillAfterAtk) GetSkillid() int32 { if x != nil { return x.Skillid } return 0 } func (x *ComSkillAfterAtk) GetFrom() int32 { if x != nil { return x.From } return 0 } func (x *ComSkillAfterAtk) GetTarget() []int32 { if x != nil { return x.Target } return nil } func (x *ComSkillAfterAtk) GetComList() []*BattleCmd { if x != nil { return x.ComList } return nil } //buff type ComMondifyBuff struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields To int32 `protobuf:"varint,1,opt,name=to,proto3" json:"to"` Gid int64 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid"` //唯一实体id BuffId int32 `protobuf:"varint,3,opt,name=buffId,proto3" json:"buffId"` //配置id OverlapNum int32 `protobuf:"varint,4,opt,name=overlapNum,proto3" json:"overlapNum"` //叠加层数 Param float32 `protobuf:"fixed32,5,opt,name=param,proto3" json:"param"` //参数 - 护盾量 Operate int32 `protobuf:"varint,6,opt,name=operate,proto3" json:"operate"` // 0 移除 1 添加 2 修改 } func (x *ComMondifyBuff) Reset() { *x = ComMondifyBuff{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComMondifyBuff) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComMondifyBuff) ProtoMessage() {} func (x *ComMondifyBuff) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[12] 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 ComMondifyBuff.ProtoReflect.Descriptor instead. func (*ComMondifyBuff) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{12} } func (x *ComMondifyBuff) GetTo() int32 { if x != nil { return x.To } return 0 } func (x *ComMondifyBuff) GetGid() int64 { if x != nil { return x.Gid } return 0 } func (x *ComMondifyBuff) GetBuffId() int32 { if x != nil { return x.BuffId } return 0 } func (x *ComMondifyBuff) GetOverlapNum() int32 { if x != nil { return x.OverlapNum } return 0 } func (x *ComMondifyBuff) GetParam() float32 { if x != nil { return x.Param } return 0 } func (x *ComMondifyBuff) GetOperate() int32 { if x != nil { return x.Operate } return 0 } //复活 type ComRebirth struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields To int32 `protobuf:"varint,1,opt,name=to,proto3" json:"to"` Nhp int32 `protobuf:"varint,2,opt,name=nhp,proto3" json:"nhp"` Mhp int32 `protobuf:"varint,3,opt,name=mhp,proto3" json:"mhp"` } func (x *ComRebirth) Reset() { *x = ComRebirth{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComRebirth) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComRebirth) ProtoMessage() {} func (x *ComRebirth) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[13] 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 ComRebirth.ProtoReflect.Descriptor instead. func (*ComRebirth) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{13} } func (x *ComRebirth) GetTo() int32 { if x != nil { return x.To } return 0 } func (x *ComRebirth) GetNhp() int32 { if x != nil { return x.Nhp } return 0 } func (x *ComRebirth) GetMhp() int32 { if x != nil { return x.Mhp } return 0 } //血量变化 type ComModifyHealth struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields To int32 `protobuf:"varint,1,opt,name=to,proto3" json:"to"` From int32 `protobuf:"varint,2,opt,name=from,proto3" json:"from"` Baoji bool `protobuf:"varint,3,opt,name=baoji,proto3" json:"baoji"` HideDmg bool `protobuf:"varint,4,opt,name=hideDmg,proto3" json:"hideDmg"` ModifyType int32 `protobuf:"varint,5,opt,name=modifyType,proto3" json:"modifyType"` Num float32 `protobuf:"fixed32,6,opt,name=num,proto3" json:"num"` Nhp int32 `protobuf:"varint,7,opt,name=nhp,proto3" json:"nhp"` Mhp int32 `protobuf:"varint,8,opt,name=mhp,proto3" json:"mhp"` SealHp int32 `protobuf:"varint,9,opt,name=sealHp,proto3" json:"sealHp"` //被封印的血量 Dmg bool `protobuf:"varint,10,opt,name=dmg,proto3" json:"dmg"` //会出现 -0的情况 Tips EffectTipsType `protobuf:"varint,11,opt,name=tips,proto3,enum=EffectTipsType" json:"tips"` //飘字前面的标识 } func (x *ComModifyHealth) Reset() { *x = ComModifyHealth{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComModifyHealth) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComModifyHealth) ProtoMessage() {} func (x *ComModifyHealth) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_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 ComModifyHealth.ProtoReflect.Descriptor instead. func (*ComModifyHealth) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{14} } func (x *ComModifyHealth) GetTo() int32 { if x != nil { return x.To } return 0 } func (x *ComModifyHealth) GetFrom() int32 { if x != nil { return x.From } return 0 } func (x *ComModifyHealth) GetBaoji() bool { if x != nil { return x.Baoji } return false } func (x *ComModifyHealth) GetHideDmg() bool { if x != nil { return x.HideDmg } return false } func (x *ComModifyHealth) GetModifyType() int32 { if x != nil { return x.ModifyType } return 0 } func (x *ComModifyHealth) GetNum() float32 { if x != nil { return x.Num } return 0 } func (x *ComModifyHealth) GetNhp() int32 { if x != nil { return x.Nhp } return 0 } func (x *ComModifyHealth) GetMhp() int32 { if x != nil { return x.Mhp } return 0 } func (x *ComModifyHealth) GetSealHp() int32 { if x != nil { return x.SealHp } return 0 } func (x *ComModifyHealth) GetDmg() bool { if x != nil { return x.Dmg } return false } func (x *ComModifyHealth) GetTips() EffectTipsType { if x != nil { return x.Tips } return EffectTipsType_Eff_Success } //教学任务更新 type ComTeachTask struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count"` } func (x *ComTeachTask) Reset() { *x = ComTeachTask{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComTeachTask) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComTeachTask) ProtoMessage() {} func (x *ComTeachTask) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_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 ComTeachTask.ProtoReflect.Descriptor instead. func (*ComTeachTask) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{15} } func (x *ComTeachTask) GetId() int32 { if x != nil { return x.Id } return 0 } func (x *ComTeachTask) GetCount() int32 { if x != nil { return x.Count } return 0 } //剧情 type ComStory struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` StoryId int32 `protobuf:"varint,2,opt,name=storyId,proto3" json:"storyId"` } func (x *ComStory) Reset() { *x = ComStory{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComStory) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComStory) ProtoMessage() {} func (x *ComStory) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[16] 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 ComStory.ProtoReflect.Descriptor instead. func (*ComStory) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{16} } func (x *ComStory) GetId() int32 { if x != nil { return x.Id } return 0 } func (x *ComStory) GetStoryId() int32 { if x != nil { return x.StoryId } return 0 } //剧情 type ComGuide struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` GuideId int32 `protobuf:"varint,2,opt,name=guideId,proto3" json:"guideId"` } func (x *ComGuide) Reset() { *x = ComGuide{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComGuide) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComGuide) ProtoMessage() {} func (x *ComGuide) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[17] 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 ComGuide.ProtoReflect.Descriptor instead. func (*ComGuide) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{17} } func (x *ComGuide) GetId() int32 { if x != nil { return x.Id } return 0 } func (x *ComGuide) GetGuideId() int32 { if x != nil { return x.GuideId } return 0 } //中途创建角色 type ComCreateRoles struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Side int32 `protobuf:"varint,1,opt,name=side,proto3" json:"side"` EntryRid int32 `protobuf:"varint,2,opt,name=entryRid,proto3" json:"entryRid"` PlayType int32 `protobuf:"varint,3,opt,name=playType,proto3" json:"playType"` Roles []*BattleRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles"` } func (x *ComCreateRoles) Reset() { *x = ComCreateRoles{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComCreateRoles) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComCreateRoles) ProtoMessage() {} func (x *ComCreateRoles) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[18] 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 ComCreateRoles.ProtoReflect.Descriptor instead. func (*ComCreateRoles) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{18} } func (x *ComCreateRoles) GetSide() int32 { if x != nil { return x.Side } return 0 } func (x *ComCreateRoles) GetEntryRid() int32 { if x != nil { return x.EntryRid } return 0 } func (x *ComCreateRoles) GetPlayType() int32 { if x != nil { return x.PlayType } return 0 } func (x *ComCreateRoles) GetRoles() []*BattleRole { if x != nil { return x.Roles } return nil } //播放特效 type ComPlayEffect struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields EffectName string `protobuf:"bytes,1,opt,name=effectName,proto3" json:"effectName"` Side int32 `protobuf:"varint,2,opt,name=side,proto3" json:"side"` } func (x *ComPlayEffect) Reset() { *x = ComPlayEffect{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComPlayEffect) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComPlayEffect) ProtoMessage() {} func (x *ComPlayEffect) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[19] 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 ComPlayEffect.ProtoReflect.Descriptor instead. func (*ComPlayEffect) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{19} } func (x *ComPlayEffect) GetEffectName() string { if x != nil { return x.EffectName } return "" } func (x *ComPlayEffect) GetSide() int32 { if x != nil { return x.Side } return 0 } //出手倒计时 type ComEmitCountdown struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Reserve int32 `protobuf:"varint,1,opt,name=reserve,proto3" json:"reserve"` } func (x *ComEmitCountdown) Reset() { *x = ComEmitCountdown{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComEmitCountdown) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComEmitCountdown) ProtoMessage() {} func (x *ComEmitCountdown) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[20] 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 ComEmitCountdown.ProtoReflect.Descriptor instead. func (*ComEmitCountdown) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{20} } func (x *ComEmitCountdown) GetReserve() int32 { if x != nil { return x.Reserve } 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 } //链接特效 type ComChainEffect struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Roles []int32 `protobuf:"varint,1,rep,packed,name=roles,proto3" json:"roles"` } func (x *ComChainEffect) Reset() { *x = ComChainEffect{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComChainEffect) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComChainEffect) ProtoMessage() {} func (x *ComChainEffect) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[22] 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 ComChainEffect.ProtoReflect.Descriptor instead. func (*ComChainEffect) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{22} } func (x *ComChainEffect) GetRoles() []int32 { if x != nil { return x.Roles } return nil } //护盾 type ComShieldInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid"` //角色id Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value"` //本次扣除的护盾值 CurValue int32 `protobuf:"varint,3,opt,name=curValue,proto3" json:"curValue"` //当前剩余护盾值 } func (x *ComShieldInfo) Reset() { *x = ComShieldInfo{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComShieldInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComShieldInfo) ProtoMessage() {} func (x *ComShieldInfo) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[23] 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 ComShieldInfo.ProtoReflect.Descriptor instead. func (*ComShieldInfo) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{23} } func (x *ComShieldInfo) GetRid() int32 { if x != nil { return x.Rid } return 0 } func (x *ComShieldInfo) GetValue() int32 { if x != nil { return x.Value } return 0 } func (x *ComShieldInfo) GetCurValue() int32 { if x != nil { return x.CurValue } return 0 } type ComSwitchScene struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Scene string `protobuf:"bytes,1,opt,name=scene,proto3" json:"scene"` //切换的战斗场景 } func (x *ComSwitchScene) Reset() { *x = ComSwitchScene{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComSwitchScene) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComSwitchScene) ProtoMessage() {} func (x *ComSwitchScene) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[24] 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 ComSwitchScene.ProtoReflect.Descriptor instead. func (*ComSwitchScene) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{24} } func (x *ComSwitchScene) GetScene() string { if x != nil { return x.Scene } return "" } type ComReplaceSkill struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields To int32 `protobuf:"varint,1,opt,name=to,proto3" json:"to"` //角色 SkillInfo []*ComSkillInfo `protobuf:"bytes,2,rep,name=skillInfo,proto3" json:"skillInfo"` //技能数据 } func (x *ComReplaceSkill) Reset() { *x = ComReplaceSkill{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_struct_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ComReplaceSkill) String() string { return protoimpl.X.MessageStringOf(x) } func (*ComReplaceSkill) ProtoMessage() {} func (x *ComReplaceSkill) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_struct_proto_msgTypes[25] 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 ComReplaceSkill.ProtoReflect.Descriptor instead. func (*ComReplaceSkill) Descriptor() ([]byte, []int) { return file_battle_battle_struct_proto_rawDescGZIP(), []int{25} } func (x *ComReplaceSkill) GetTo() int32 { if x != nil { return x.To } return 0 } func (x *ComReplaceSkill) GetSkillInfo() []*ComSkillInfo { if x != nil { return x.SkillInfo } return nil } var File_battle_battle_struct_proto protoreflect.FileDescriptor var file_battle_battle_struct_proto_rawDesc = []byte{ 0x0a, 0x1a, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x02, 0x6e, 0x76, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x22, 0x29, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x46, 0x69, 0x67, 0x68, 0x74, 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, 0x65, 0x22, 0xad, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x69, 0x67, 0x68, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x57, 0x61, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x75, 0x72, 0x57, 0x61, 0x76, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x75, 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x75, 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x1f, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x45, 0x6e, 0x64, 0x46, 0x69, 0x67, 0x68, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x67, 0x68, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x67, 0x68, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x69, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x77, 0x69, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x64, 0x44, 0x65, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x52, 0x65, 0x64, 0x44, 0x65, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x61, 0x74, 0x68, 0x22, 0x98, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x78, 0x43, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x61, 0x78, 0x43, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x63, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x63, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x61, 0x6e, 0x45, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x43, 0x61, 0x6e, 0x45, 0x6d, 0x69, 0x74, 0x22, 0x9d, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x75, 0x72, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x6e, 0x41, 0x74, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x61, 0x6e, 0x41, 0x74, 0x6b, 0x12, 0x2b, 0x0a, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6d, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x53, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x43, 0x44, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x2b, 0x0a, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6d, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x23, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x22, 0x89, 0x01, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x57, 0x61, 0x69, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x75, 0x72, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x22, 0xc0, 0x01, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x41, 0x74, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x43, 0x6f, 0x6d, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x41, 0x66, 0x74, 0x65, 0x72, 0x41, 0x74, 0x6b, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x6e, 0x69, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x6e, 0x69, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x7e, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x41, 0x66, 0x74, 0x65, 0x72, 0x41, 0x74, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x24, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x4d, 0x6f, 0x6e, 0x64, 0x69, 0x66, 0x79, 0x42, 0x75, 0x66, 0x66, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x66, 0x66, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x75, 0x66, 0x66, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x61, 0x70, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x61, 0x70, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x22, 0x40, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x52, 0x65, 0x62, 0x69, 0x72, 0x74, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x68, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x68, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x68, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6d, 0x68, 0x70, 0x22, 0x8a, 0x02, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x61, 0x6f, 0x6a, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x62, 0x61, 0x6f, 0x6a, 0x69, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x69, 0x64, 0x65, 0x44, 0x6d, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x69, 0x64, 0x65, 0x44, 0x6d, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x68, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x68, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x68, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6d, 0x68, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x61, 0x6c, 0x48, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x65, 0x61, 0x6c, 0x48, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x6d, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x64, 0x6d, 0x67, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x69, 0x70, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x69, 0x70, 0x73, 0x22, 0x34, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x54, 0x65, 0x61, 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x34, 0x0a, 0x08, 0x43, 0x6f, 0x6d, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, 0x34, 0x0a, 0x08, 0x43, 0x6f, 0x6d, 0x47, 0x75, 0x69, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x75, 0x69, 0x64, 0x65, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x43, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 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, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x44, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69, 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, 0x22, 0x26, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x72, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x26, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x53, 0x63, 0x65, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x22, 0x4e, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x2b, 0x0a, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6d, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x2a, 0xc8, 0x02, 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, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x75, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x07, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x10, 0x08, 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x61, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0x09, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x5f, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x10, 0x0a, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x75, 0x62, 0x5f, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x10, 0x0b, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x6f, 0x66, 0x66, 0x10, 0x0c, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x6e, 0x64, 0x65, 0x61, 0x64, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x6f, 0x69, 0x73, 0x6f, 0x6e, 0x65, 0x64, 0x10, 0x0e, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x6c, 0x65, 0x65, 0x64, 0x10, 0x0f, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x10, 0x10, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x65, 0x61, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x10, 0x11, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x69, 0x73, 0x65, 0x61, 0x73, 0x65, 0x64, 0x10, 0x12, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x6f, 0x73, 0x74, 0x48, 0x6f, 0x6c, 0x64, 0x10, 0x13, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x10, 0x14, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_battle_battle_struct_proto_rawDescOnce sync.Once file_battle_battle_struct_proto_rawDescData = file_battle_battle_struct_proto_rawDesc ) func file_battle_battle_struct_proto_rawDescGZIP() []byte { file_battle_battle_struct_proto_rawDescOnce.Do(func() { file_battle_battle_struct_proto_rawDescData = protoimpl.X.CompressGZIP(file_battle_battle_struct_proto_rawDescData) }) return file_battle_battle_struct_proto_rawDescData } var file_battle_battle_struct_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_battle_battle_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 26) var file_battle_battle_struct_proto_goTypes = []interface{}{ (EffectTipsType)(0), // 0: EffectTipsType (*ComModifyOperate)(nil), // 1: ComModifyOperate (*ComStartFight)(nil), // 2: ComStartFight (*ComInitFight)(nil), // 3: ComInitFight (*ComDeleteRole)(nil), // 4: ComDeleteRole (*ComEndFight)(nil), // 5: ComEndFight (*ComSkillInfo)(nil), // 6: ComSkillInfo (*ComStartAction)(nil), // 7: ComStartAction (*ComSkillCDAction)(nil), // 8: ComSkillCDAction (*ComStopAction)(nil), // 9: ComStopAction (*ComWaitInputSkill)(nil), // 10: ComWaitInputSkill (*ComSkillAtk)(nil), // 11: ComSkillAtk (*ComSkillAfterAtk)(nil), // 12: ComSkillAfterAtk (*ComMondifyBuff)(nil), // 13: ComMondifyBuff (*ComRebirth)(nil), // 14: ComRebirth (*ComModifyHealth)(nil), // 15: ComModifyHealth (*ComTeachTask)(nil), // 16: ComTeachTask (*ComStory)(nil), // 17: ComStory (*ComGuide)(nil), // 18: ComGuide (*ComCreateRoles)(nil), // 19: ComCreateRoles (*ComPlayEffect)(nil), // 20: ComPlayEffect (*ComEmitCountdown)(nil), // 21: ComEmitCountdown (*ComEffectTips)(nil), // 22: ComEffectTips (*ComChainEffect)(nil), // 23: ComChainEffect (*ComShieldInfo)(nil), // 24: ComShieldInfo (*ComSwitchScene)(nil), // 25: ComSwitchScene (*ComReplaceSkill)(nil), // 26: ComReplaceSkill (*BattleRole)(nil), // 27: BattleRole (*BattleCmd)(nil), // 28: BattleCmd } var file_battle_battle_struct_proto_depIdxs = []int32{ 27, // 0: ComInitFight.roles:type_name -> BattleRole 6, // 1: ComStartAction.skillInfo:type_name -> ComSkillInfo 6, // 2: ComSkillCDAction.skillInfo:type_name -> ComSkillInfo 12, // 3: ComSkillAtk.comList:type_name -> ComSkillAfterAtk 28, // 4: ComSkillAfterAtk.comList:type_name -> BattleCmd 0, // 5: ComModifyHealth.tips:type_name -> EffectTipsType 27, // 6: ComCreateRoles.roles:type_name -> BattleRole 0, // 7: ComEffectTips.type:type_name -> EffectTipsType 6, // 8: ComReplaceSkill.skillInfo:type_name -> ComSkillInfo 9, // [9:9] is the sub-list for method output_type 9, // [9:9] is the sub-list for method input_type 9, // [9:9] is the sub-list for extension 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_battle_battle_struct_proto_init() } func file_battle_battle_struct_proto_init() { if File_battle_battle_struct_proto != nil { return } file_battle_battle_db_proto_init() file_battle_battle_msg_proto_init() if !protoimpl.UnsafeEnabled { file_battle_battle_struct_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComModifyOperate); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComStartFight); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComInitFight); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComDeleteRole); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComEndFight); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComSkillInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComStartAction); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComSkillCDAction); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComStopAction); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComWaitInputSkill); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComSkillAtk); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComSkillAfterAtk); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComMondifyBuff); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComRebirth); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComModifyHealth); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComTeachTask); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComStory); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComGuide); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComCreateRoles); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComPlayEffect); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComEmitCountdown); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: 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 } } file_battle_battle_struct_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComChainEffect); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComShieldInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComSwitchScene); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_struct_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ComReplaceSkill); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_battle_battle_struct_proto_rawDesc, NumEnums: 1, NumMessages: 26, NumExtensions: 0, NumServices: 0, }, GoTypes: file_battle_battle_struct_proto_goTypes, DependencyIndexes: file_battle_battle_struct_proto_depIdxs, EnumInfos: file_battle_battle_struct_proto_enumTypes, MessageInfos: file_battle_battle_struct_proto_msgTypes, }.Build() File_battle_battle_struct_proto = out.File file_battle_battle_struct_proto_rawDesc = nil file_battle_battle_struct_proto_goTypes = nil file_battle_battle_struct_proto_depIdxs = nil }