上传扫荡协议
This commit is contained in:
parent
e34714b16d
commit
e084a71cc2
@ -40,7 +40,7 @@ func (this *apiComp) Sweep(session comm.IUserSession, req *pb.HuntingSweepReq) (
|
|||||||
allconsume []*cfg.Gameatn
|
allconsume []*cfg.Gameatn
|
||||||
|
|
||||||
err error
|
err error
|
||||||
result []*pb.HuntingSweepResult
|
result []*pb.SweepResult
|
||||||
ps int32
|
ps int32
|
||||||
totalps int32
|
totalps int32
|
||||||
// 随机任务统计
|
// 随机任务统计
|
||||||
@ -151,7 +151,7 @@ func (this *apiComp) Sweep(session comm.IUserSession, req *pb.HuntingSweepReq) (
|
|||||||
if errdata, rewardatno = this.module.DispenseAtno(session, reward, true); errdata != nil {
|
if errdata, rewardatno = this.module.DispenseAtno(session, reward, true); errdata != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
result = append(result, &pb.HuntingSweepResult{
|
result = append(result, &pb.SweepResult{
|
||||||
Battleid: v.Info.Id,
|
Battleid: v.Info.Id,
|
||||||
Iswin: false,
|
Iswin: false,
|
||||||
Consume: consumeatns,
|
Consume: consumeatns,
|
||||||
@ -221,7 +221,7 @@ func (this *apiComp) Sweep(session comm.IUserSession, req *pb.HuntingSweepReq) (
|
|||||||
N: v.N,
|
N: v.N,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
result = append(result, &pb.HuntingSweepResult{
|
result = append(result, &pb.SweepResult{
|
||||||
Battleid: v.Info.Id,
|
Battleid: v.Info.Id,
|
||||||
Iswin: true,
|
Iswin: true,
|
||||||
Rounds: v.Round,
|
Rounds: v.Round,
|
||||||
|
@ -40,7 +40,7 @@ func (this *apiComp) Sweep(session comm.IUserSession, req *pb.VikingSweepReq) (e
|
|||||||
allconsume []*cfg.Gameatn
|
allconsume []*cfg.Gameatn
|
||||||
|
|
||||||
err error
|
err error
|
||||||
result []*pb.VikingSweepResult
|
result []*pb.SweepResult
|
||||||
ps int32
|
ps int32
|
||||||
totalps int32
|
totalps int32
|
||||||
// 随机任务统计
|
// 随机任务统计
|
||||||
@ -151,7 +151,7 @@ func (this *apiComp) Sweep(session comm.IUserSession, req *pb.VikingSweepReq) (e
|
|||||||
if errdata, rewardatno = this.module.DispenseAtno(session, reward, true); errdata != nil {
|
if errdata, rewardatno = this.module.DispenseAtno(session, reward, true); errdata != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
result = append(result, &pb.VikingSweepResult{
|
result = append(result, &pb.SweepResult{
|
||||||
Battleid: v.Info.Id,
|
Battleid: v.Info.Id,
|
||||||
Iswin: false,
|
Iswin: false,
|
||||||
Consume: consumeatns,
|
Consume: consumeatns,
|
||||||
@ -214,7 +214,7 @@ func (this *apiComp) Sweep(session comm.IUserSession, req *pb.VikingSweepReq) (e
|
|||||||
N: v.N,
|
N: v.N,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
result = append(result, &pb.VikingSweepResult{
|
result = append(result, &pb.SweepResult{
|
||||||
Battleid: v.Info.Id,
|
Battleid: v.Info.Id,
|
||||||
Iswin: true,
|
Iswin: true,
|
||||||
Rounds: v.Round,
|
Rounds: v.Round,
|
||||||
|
165
pb/comm.pb.go
165
pb/comm.pb.go
@ -2419,6 +2419,94 @@ func (x *DBVector3) GetZ() float32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//扫荡结果
|
||||||
|
type SweepResult struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` //战斗id
|
||||||
|
Iswin bool `protobuf:"varint,2,opt,name=iswin,proto3" json:"iswin"` //是否胜利
|
||||||
|
Rounds int32 `protobuf:"varint,4,opt,name=rounds,proto3" json:"rounds"` //回合数
|
||||||
|
Consume []*UserAssets `protobuf:"bytes,5,rep,name=consume,proto3" json:"consume"` //消耗材料
|
||||||
|
Award []*UserAtno `protobuf:"bytes,6,rep,name=award,proto3" json:"award"` //奖励字段
|
||||||
|
Heroexp map[string]int32 `protobuf:"bytes,7,rep,name=heroexp,proto3" json:"heroexp" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 英雄获得经验
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *SweepResult) Reset() {
|
||||||
|
*x = SweepResult{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_comm_proto_msgTypes[35]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *SweepResult) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*SweepResult) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *SweepResult) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_comm_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 SweepResult.ProtoReflect.Descriptor instead.
|
||||||
|
func (*SweepResult) Descriptor() ([]byte, []int) {
|
||||||
|
return file_comm_proto_rawDescGZIP(), []int{35}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *SweepResult) GetBattleid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Battleid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *SweepResult) GetIswin() bool {
|
||||||
|
if x != nil {
|
||||||
|
return x.Iswin
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *SweepResult) GetRounds() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Rounds
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *SweepResult) GetConsume() []*UserAssets {
|
||||||
|
if x != nil {
|
||||||
|
return x.Consume
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *SweepResult) GetAward() []*UserAtno {
|
||||||
|
if x != nil {
|
||||||
|
return x.Award
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *SweepResult) GetHeroexp() map[string]int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Heroexp
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
var File_comm_proto protoreflect.FileDescriptor
|
var File_comm_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_comm_proto_rawDesc = []byte{
|
var file_comm_proto_rawDesc = []byte{
|
||||||
@ -2664,12 +2752,30 @@ var file_comm_proto_rawDesc = []byte{
|
|||||||
0x62, 0x61, 0x73, 0x65, 0x22, 0x35, 0x0a, 0x09, 0x44, 0x42, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72,
|
0x62, 0x61, 0x73, 0x65, 0x22, 0x35, 0x0a, 0x09, 0x44, 0x42, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72,
|
||||||
0x33, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x78, 0x12,
|
0x33, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x78, 0x12,
|
||||||
0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x79, 0x12, 0x0c, 0x0a,
|
0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x79, 0x12, 0x0c, 0x0a,
|
||||||
0x01, 0x7a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x7a, 0x2a, 0x43, 0x0a, 0x12, 0x48,
|
0x01, 0x7a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x7a, 0x22, 0x90, 0x02, 0x0a, 0x0b,
|
||||||
0x65, 0x72, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x54, 0x79, 0x70,
|
0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x62,
|
||||||
0x65, 0x12, 0x06, 0x0a, 0x02, 0x48, 0x70, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x74, 0x6b,
|
0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62,
|
||||||
0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x65, 0x66, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x53,
|
0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x77, 0x69, 0x6e,
|
||||||
0x70, 0x65, 0x65, 0x64, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x72, 0x69, 0x74, 0x10, 0x04,
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x77, 0x69, 0x6e, 0x12, 0x16, 0x0a,
|
||||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x06, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72,
|
||||||
|
0x6f, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65,
|
||||||
|
0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73,
|
||||||
|
0x65, 0x74, 0x73, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x05,
|
||||||
|
0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73,
|
||||||
|
0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x33, 0x0a,
|
||||||
|
0x07, 0x68, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19,
|
||||||
|
0x2e, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x48, 0x65, 0x72,
|
||||||
|
0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65,
|
||||||
|
0x78, 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 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, 0x2a, 0x43,
|
||||||
|
0x0a, 0x12, 0x48, 0x65, 0x72, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
|
||||||
|
0x54, 0x79, 0x70, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x48, 0x70, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03,
|
||||||
|
0x41, 0x74, 0x6b, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x65, 0x66, 0x10, 0x02, 0x12, 0x09,
|
||||||
|
0x0a, 0x05, 0x53, 0x70, 0x65, 0x65, 0x64, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x72, 0x69,
|
||||||
|
0x74, 0x10, 0x04, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||||
|
0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -2685,7 +2791,7 @@ func file_comm_proto_rawDescGZIP() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var file_comm_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
var file_comm_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||||
var file_comm_proto_msgTypes = make([]protoimpl.MessageInfo, 35)
|
var file_comm_proto_msgTypes = make([]protoimpl.MessageInfo, 37)
|
||||||
var file_comm_proto_goTypes = []interface{}{
|
var file_comm_proto_goTypes = []interface{}{
|
||||||
(HeroAttributesType)(0), // 0: HeroAttributesType
|
(HeroAttributesType)(0), // 0: HeroAttributesType
|
||||||
(*ErrorData)(nil), // 1: ErrorData
|
(*ErrorData)(nil), // 1: ErrorData
|
||||||
@ -2723,26 +2829,31 @@ var file_comm_proto_goTypes = []interface{}{
|
|||||||
(*RPCRTaskReq)(nil), // 33: RPCRTaskReq
|
(*RPCRTaskReq)(nil), // 33: RPCRTaskReq
|
||||||
(*ServiceDBInfo)(nil), // 34: ServiceDBInfo
|
(*ServiceDBInfo)(nil), // 34: ServiceDBInfo
|
||||||
(*DBVector3)(nil), // 35: DBVector3
|
(*DBVector3)(nil), // 35: DBVector3
|
||||||
(ErrorCode)(0), // 36: ErrorCode
|
(*SweepResult)(nil), // 36: SweepResult
|
||||||
(*anypb.Any)(nil), // 37: google.protobuf.Any
|
nil, // 37: SweepResult.HeroexpEntry
|
||||||
|
(ErrorCode)(0), // 38: ErrorCode
|
||||||
|
(*anypb.Any)(nil), // 39: google.protobuf.Any
|
||||||
}
|
}
|
||||||
var file_comm_proto_depIdxs = []int32{
|
var file_comm_proto_depIdxs = []int32{
|
||||||
36, // 0: ErrorData.code:type_name -> ErrorCode
|
38, // 0: ErrorData.code:type_name -> ErrorCode
|
||||||
18, // 1: ErrorData.atn:type_name -> UserAssets
|
18, // 1: ErrorData.atn:type_name -> UserAssets
|
||||||
3, // 2: MessagePackage.messages:type_name -> UserMessage
|
3, // 2: MessagePackage.messages:type_name -> UserMessage
|
||||||
37, // 3: UserMessage.data:type_name -> google.protobuf.Any
|
39, // 3: UserMessage.data:type_name -> google.protobuf.Any
|
||||||
37, // 4: AgentMessage.Message:type_name -> google.protobuf.Any
|
39, // 4: AgentMessage.Message:type_name -> google.protobuf.Any
|
||||||
1, // 5: RPCMessageReply.ErrorData:type_name -> ErrorData
|
1, // 5: RPCMessageReply.ErrorData:type_name -> ErrorData
|
||||||
3, // 6: RPCMessageReply.Reply:type_name -> UserMessage
|
3, // 6: RPCMessageReply.Reply:type_name -> UserMessage
|
||||||
3, // 7: AgentSendMessageReq.Reply:type_name -> UserMessage
|
3, // 7: AgentSendMessageReq.Reply:type_name -> UserMessage
|
||||||
37, // 8: BatchMessageReq.Data:type_name -> google.protobuf.Any
|
39, // 8: BatchMessageReq.Data:type_name -> google.protobuf.Any
|
||||||
37, // 9: BatchUsersMessageReq.Data:type_name -> google.protobuf.Any
|
39, // 9: BatchUsersMessageReq.Data:type_name -> google.protobuf.Any
|
||||||
37, // 10: BroadCastMessageReq.Data:type_name -> google.protobuf.Any
|
39, // 10: BroadCastMessageReq.Data:type_name -> google.protobuf.Any
|
||||||
11, // [11:11] is the sub-list for method output_type
|
18, // 11: SweepResult.consume:type_name -> UserAssets
|
||||||
11, // [11:11] is the sub-list for method input_type
|
19, // 12: SweepResult.award:type_name -> UserAtno
|
||||||
11, // [11:11] is the sub-list for extension type_name
|
37, // 13: SweepResult.heroexp:type_name -> SweepResult.HeroexpEntry
|
||||||
11, // [11:11] is the sub-list for extension extendee
|
14, // [14:14] is the sub-list for method output_type
|
||||||
0, // [0:11] is the sub-list for field type_name
|
14, // [14:14] is the sub-list for method input_type
|
||||||
|
14, // [14:14] is the sub-list for extension type_name
|
||||||
|
14, // [14:14] is the sub-list for extension extendee
|
||||||
|
0, // [0:14] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_comm_proto_init() }
|
func init() { file_comm_proto_init() }
|
||||||
@ -3172,6 +3283,18 @@ func file_comm_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
file_comm_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*SweepResult); 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{
|
||||||
@ -3179,7 +3302,7 @@ func file_comm_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_comm_proto_rawDesc,
|
RawDescriptor: file_comm_proto_rawDesc,
|
||||||
NumEnums: 1,
|
NumEnums: 1,
|
||||||
NumMessages: 35,
|
NumMessages: 37,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
@ -677,107 +677,19 @@ func (x *HuntingSweepReq) GetSweepgroup() int32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
//扫荡结果
|
|
||||||
type HuntingSweepResult struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` //战斗id
|
|
||||||
Iswin bool `protobuf:"varint,2,opt,name=iswin,proto3" json:"iswin"` //是否胜利
|
|
||||||
Rounds int32 `protobuf:"varint,4,opt,name=rounds,proto3" json:"rounds"` //回合数
|
|
||||||
Consume []*UserAssets `protobuf:"bytes,5,rep,name=consume,proto3" json:"consume"` //消耗材料
|
|
||||||
Award []*UserAtno `protobuf:"bytes,6,rep,name=award,proto3" json:"award"` //奖励字段
|
|
||||||
Heroexp map[string]int32 `protobuf:"bytes,7,rep,name=heroexp,proto3" json:"heroexp" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 英雄获得经验
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HuntingSweepResult) Reset() {
|
|
||||||
*x = HuntingSweepResult{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_hunting_hunting_msg_proto_msgTypes[11]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HuntingSweepResult) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*HuntingSweepResult) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *HuntingSweepResult) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_hunting_hunting_msg_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 HuntingSweepResult.ProtoReflect.Descriptor instead.
|
|
||||||
func (*HuntingSweepResult) Descriptor() ([]byte, []int) {
|
|
||||||
return file_hunting_hunting_msg_proto_rawDescGZIP(), []int{11}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HuntingSweepResult) GetBattleid() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Battleid
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HuntingSweepResult) GetIswin() bool {
|
|
||||||
if x != nil {
|
|
||||||
return x.Iswin
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HuntingSweepResult) GetRounds() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Rounds
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HuntingSweepResult) GetConsume() []*UserAssets {
|
|
||||||
if x != nil {
|
|
||||||
return x.Consume
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HuntingSweepResult) GetAward() []*UserAtno {
|
|
||||||
if x != nil {
|
|
||||||
return x.Award
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HuntingSweepResult) GetHeroexp() map[string]int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Heroexp
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// 扫荡 回应
|
// 扫荡 回应
|
||||||
type HuntingSweepResp struct {
|
type HuntingSweepResp struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Result []*HuntingSweepResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result"`
|
Result []*SweepResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *HuntingSweepResp) Reset() {
|
func (x *HuntingSweepResp) Reset() {
|
||||||
*x = HuntingSweepResp{}
|
*x = HuntingSweepResp{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_hunting_hunting_msg_proto_msgTypes[12]
|
mi := &file_hunting_hunting_msg_proto_msgTypes[11]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -790,7 +702,7 @@ func (x *HuntingSweepResp) String() string {
|
|||||||
func (*HuntingSweepResp) ProtoMessage() {}
|
func (*HuntingSweepResp) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *HuntingSweepResp) ProtoReflect() protoreflect.Message {
|
func (x *HuntingSweepResp) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_hunting_hunting_msg_proto_msgTypes[12]
|
mi := &file_hunting_hunting_msg_proto_msgTypes[11]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -803,10 +715,10 @@ func (x *HuntingSweepResp) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use HuntingSweepResp.ProtoReflect.Descriptor instead.
|
// Deprecated: Use HuntingSweepResp.ProtoReflect.Descriptor instead.
|
||||||
func (*HuntingSweepResp) Descriptor() ([]byte, []int) {
|
func (*HuntingSweepResp) Descriptor() ([]byte, []int) {
|
||||||
return file_hunting_hunting_msg_proto_rawDescGZIP(), []int{12}
|
return file_hunting_hunting_msg_proto_rawDescGZIP(), []int{11}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *HuntingSweepResp) GetResult() []*HuntingSweepResult {
|
func (x *HuntingSweepResp) GetResult() []*SweepResult {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Result
|
return x.Result
|
||||||
}
|
}
|
||||||
@ -896,30 +808,12 @@ var file_hunting_hunting_msg_proto_rawDesc = []byte{
|
|||||||
0x73, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
|
0x73, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
|
||||||
0x69, 0x73, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x77, 0x65,
|
0x69, 0x73, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x77, 0x65,
|
||||||
0x65, 0x70, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73,
|
0x65, 0x70, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73,
|
||||||
0x77, 0x65, 0x65, 0x70, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x9e, 0x02, 0x0a, 0x12, 0x48, 0x75,
|
0x77, 0x65, 0x65, 0x70, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x38, 0x0a, 0x10, 0x48, 0x75, 0x6e,
|
||||||
0x6e, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
|
0x74, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a,
|
||||||
0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e,
|
||||||
0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
|
0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73,
|
||||||
0x69, 0x73, 0x77, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x77,
|
0x75, 0x6c, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||||
0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01,
|
0x74, 0x6f, 0x33,
|
||||||
0x28, 0x05, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x07, 0x63, 0x6f,
|
|
||||||
0x6e, 0x73, 0x75, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73,
|
|
||||||
0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d,
|
|
||||||
0x65, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b,
|
|
||||||
0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61,
|
|
||||||
0x72, 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x18, 0x07, 0x20,
|
|
||||||
0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65,
|
|
||||||
0x65, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70,
|
|
||||||
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x1a, 0x3a,
|
|
||||||
0x0a, 0x0c, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 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, 0x3f, 0x0a, 0x10, 0x48, 0x75,
|
|
||||||
0x6e, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2b,
|
|
||||||
0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13,
|
|
||||||
0x2e, 0x48, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73,
|
|
||||||
0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e,
|
|
||||||
0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -934,7 +828,7 @@ func file_hunting_hunting_msg_proto_rawDescGZIP() []byte {
|
|||||||
return file_hunting_hunting_msg_proto_rawDescData
|
return file_hunting_hunting_msg_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_hunting_hunting_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
var file_hunting_hunting_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||||
var file_hunting_hunting_msg_proto_goTypes = []interface{}{
|
var file_hunting_hunting_msg_proto_goTypes = []interface{}{
|
||||||
(*HuntingGetListReq)(nil), // 0: HuntingGetListReq
|
(*HuntingGetListReq)(nil), // 0: HuntingGetListReq
|
||||||
(*HuntingGetListResp)(nil), // 1: HuntingGetListResp
|
(*HuntingGetListResp)(nil), // 1: HuntingGetListResp
|
||||||
@ -947,39 +841,34 @@ var file_hunting_hunting_msg_proto_goTypes = []interface{}{
|
|||||||
(*HuntingRankListReq)(nil), // 8: HuntingRankListReq
|
(*HuntingRankListReq)(nil), // 8: HuntingRankListReq
|
||||||
(*HuntingRankListResp)(nil), // 9: HuntingRankListResp
|
(*HuntingRankListResp)(nil), // 9: HuntingRankListResp
|
||||||
(*HuntingSweepReq)(nil), // 10: HuntingSweepReq
|
(*HuntingSweepReq)(nil), // 10: HuntingSweepReq
|
||||||
(*HuntingSweepResult)(nil), // 11: HuntingSweepResult
|
(*HuntingSweepResp)(nil), // 11: HuntingSweepResp
|
||||||
(*HuntingSweepResp)(nil), // 12: HuntingSweepResp
|
nil, // 12: HuntingChallengeOverResp.HeroexpEntry
|
||||||
nil, // 13: HuntingChallengeOverResp.HeroexpEntry
|
(*DBHunting)(nil), // 13: DBHunting
|
||||||
nil, // 14: HuntingSweepResult.HeroexpEntry
|
(*BattleFormation)(nil), // 14: BattleFormation
|
||||||
(*DBHunting)(nil), // 15: DBHunting
|
(*BattleInfo)(nil), // 15: BattleInfo
|
||||||
(*BattleFormation)(nil), // 16: BattleFormation
|
(*BattleReport)(nil), // 16: BattleReport
|
||||||
(*BattleInfo)(nil), // 17: BattleInfo
|
(*UserAtno)(nil), // 17: UserAtno
|
||||||
(*BattleReport)(nil), // 18: BattleReport
|
(*DBHuntingRank)(nil), // 18: DBHuntingRank
|
||||||
(*UserAtno)(nil), // 19: UserAtno
|
(*SweepResult)(nil), // 19: SweepResult
|
||||||
(*DBHuntingRank)(nil), // 20: DBHuntingRank
|
|
||||||
(*UserAssets)(nil), // 21: UserAssets
|
|
||||||
}
|
}
|
||||||
var file_hunting_hunting_msg_proto_depIdxs = []int32{
|
var file_hunting_hunting_msg_proto_depIdxs = []int32{
|
||||||
15, // 0: HuntingGetListResp.data:type_name -> DBHunting
|
13, // 0: HuntingGetListResp.data:type_name -> DBHunting
|
||||||
16, // 1: HuntingChallengeReq.battle:type_name -> BattleFormation
|
14, // 1: HuntingChallengeReq.battle:type_name -> BattleFormation
|
||||||
17, // 2: HuntingChallengeResp.info:type_name -> BattleInfo
|
15, // 2: HuntingChallengeResp.info:type_name -> BattleInfo
|
||||||
18, // 3: HuntingChallengeOverReq.report:type_name -> BattleReport
|
16, // 3: HuntingChallengeOverReq.report:type_name -> BattleReport
|
||||||
15, // 4: HuntingChallengeOverResp.data:type_name -> DBHunting
|
13, // 4: HuntingChallengeOverResp.data:type_name -> DBHunting
|
||||||
19, // 5: HuntingChallengeOverResp.asset:type_name -> UserAtno
|
17, // 5: HuntingChallengeOverResp.asset:type_name -> UserAtno
|
||||||
13, // 6: HuntingChallengeOverResp.heroexp:type_name -> HuntingChallengeOverResp.HeroexpEntry
|
12, // 6: HuntingChallengeOverResp.heroexp:type_name -> HuntingChallengeOverResp.HeroexpEntry
|
||||||
15, // 7: HuntingBuyResp.data:type_name -> DBHunting
|
13, // 7: HuntingBuyResp.data:type_name -> DBHunting
|
||||||
20, // 8: HuntingRankListResp.ranks:type_name -> DBHuntingRank
|
18, // 8: HuntingRankListResp.ranks:type_name -> DBHuntingRank
|
||||||
20, // 9: HuntingRankListResp.franks:type_name -> DBHuntingRank
|
18, // 9: HuntingRankListResp.franks:type_name -> DBHuntingRank
|
||||||
16, // 10: HuntingSweepReq.battle:type_name -> BattleFormation
|
14, // 10: HuntingSweepReq.battle:type_name -> BattleFormation
|
||||||
21, // 11: HuntingSweepResult.consume:type_name -> UserAssets
|
19, // 11: HuntingSweepResp.result:type_name -> SweepResult
|
||||||
19, // 12: HuntingSweepResult.award:type_name -> UserAtno
|
12, // [12:12] is the sub-list for method output_type
|
||||||
14, // 13: HuntingSweepResult.heroexp:type_name -> HuntingSweepResult.HeroexpEntry
|
12, // [12:12] is the sub-list for method input_type
|
||||||
11, // 14: HuntingSweepResp.result:type_name -> HuntingSweepResult
|
12, // [12:12] is the sub-list for extension type_name
|
||||||
15, // [15:15] is the sub-list for method output_type
|
12, // [12:12] is the sub-list for extension extendee
|
||||||
15, // [15:15] is the sub-list for method input_type
|
0, // [0:12] is the sub-list for field type_name
|
||||||
15, // [15:15] is the sub-list for extension type_name
|
|
||||||
15, // [15:15] is the sub-list for extension extendee
|
|
||||||
0, // [0:15] is the sub-list for field type_name
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_hunting_hunting_msg_proto_init() }
|
func init() { file_hunting_hunting_msg_proto_init() }
|
||||||
@ -1124,18 +1013,6 @@ func file_hunting_hunting_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_hunting_hunting_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
file_hunting_hunting_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*HuntingSweepResult); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_hunting_hunting_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*HuntingSweepResp); i {
|
switch v := v.(*HuntingSweepResp); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@ -1154,7 +1031,7 @@ func file_hunting_hunting_msg_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_hunting_hunting_msg_proto_rawDesc,
|
RawDescriptor: file_hunting_hunting_msg_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 15,
|
NumMessages: 13,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
@ -479,107 +479,19 @@ func (x *VikingSweepReq) GetSweepgroup() int32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
//扫荡结果
|
|
||||||
type VikingSweepResult struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` //战斗id
|
|
||||||
Iswin bool `protobuf:"varint,2,opt,name=iswin,proto3" json:"iswin"` //是否胜利
|
|
||||||
Rounds int32 `protobuf:"varint,4,opt,name=rounds,proto3" json:"rounds"` //回合数
|
|
||||||
Consume []*UserAssets `protobuf:"bytes,5,rep,name=consume,proto3" json:"consume"` //消耗材料
|
|
||||||
Award []*UserAtno `protobuf:"bytes,6,rep,name=award,proto3" json:"award"` //奖励字段
|
|
||||||
Heroexp map[string]int32 `protobuf:"bytes,7,rep,name=heroexp,proto3" json:"heroexp" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 英雄获得经验
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *VikingSweepResult) Reset() {
|
|
||||||
*x = VikingSweepResult{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[7]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *VikingSweepResult) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*VikingSweepResult) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *VikingSweepResult) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_viking_viking_msg_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 VikingSweepResult.ProtoReflect.Descriptor instead.
|
|
||||||
func (*VikingSweepResult) Descriptor() ([]byte, []int) {
|
|
||||||
return file_viking_viking_msg_proto_rawDescGZIP(), []int{7}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *VikingSweepResult) GetBattleid() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Battleid
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *VikingSweepResult) GetIswin() bool {
|
|
||||||
if x != nil {
|
|
||||||
return x.Iswin
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *VikingSweepResult) GetRounds() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Rounds
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *VikingSweepResult) GetConsume() []*UserAssets {
|
|
||||||
if x != nil {
|
|
||||||
return x.Consume
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *VikingSweepResult) GetAward() []*UserAtno {
|
|
||||||
if x != nil {
|
|
||||||
return x.Award
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *VikingSweepResult) GetHeroexp() map[string]int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Heroexp
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// 扫荡 回应
|
// 扫荡 回应
|
||||||
type VikingSweepResp struct {
|
type VikingSweepResp struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Result []*VikingSweepResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result"`
|
Result []*SweepResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *VikingSweepResp) Reset() {
|
func (x *VikingSweepResp) Reset() {
|
||||||
*x = VikingSweepResp{}
|
*x = VikingSweepResp{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[8]
|
mi := &file_viking_viking_msg_proto_msgTypes[7]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -592,7 +504,7 @@ func (x *VikingSweepResp) String() string {
|
|||||||
func (*VikingSweepResp) ProtoMessage() {}
|
func (*VikingSweepResp) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *VikingSweepResp) ProtoReflect() protoreflect.Message {
|
func (x *VikingSweepResp) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[8]
|
mi := &file_viking_viking_msg_proto_msgTypes[7]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -605,10 +517,10 @@ func (x *VikingSweepResp) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use VikingSweepResp.ProtoReflect.Descriptor instead.
|
// Deprecated: Use VikingSweepResp.ProtoReflect.Descriptor instead.
|
||||||
func (*VikingSweepResp) Descriptor() ([]byte, []int) {
|
func (*VikingSweepResp) Descriptor() ([]byte, []int) {
|
||||||
return file_viking_viking_msg_proto_rawDescGZIP(), []int{8}
|
return file_viking_viking_msg_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *VikingSweepResp) GetResult() []*VikingSweepResult {
|
func (x *VikingSweepResp) GetResult() []*SweepResult {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Result
|
return x.Result
|
||||||
}
|
}
|
||||||
@ -627,7 +539,7 @@ type VikingBuyReq struct {
|
|||||||
func (x *VikingBuyReq) Reset() {
|
func (x *VikingBuyReq) Reset() {
|
||||||
*x = VikingBuyReq{}
|
*x = VikingBuyReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[9]
|
mi := &file_viking_viking_msg_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -640,7 +552,7 @@ func (x *VikingBuyReq) String() string {
|
|||||||
func (*VikingBuyReq) ProtoMessage() {}
|
func (*VikingBuyReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *VikingBuyReq) ProtoReflect() protoreflect.Message {
|
func (x *VikingBuyReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[9]
|
mi := &file_viking_viking_msg_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -653,7 +565,7 @@ func (x *VikingBuyReq) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use VikingBuyReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use VikingBuyReq.ProtoReflect.Descriptor instead.
|
||||||
func (*VikingBuyReq) Descriptor() ([]byte, []int) {
|
func (*VikingBuyReq) Descriptor() ([]byte, []int) {
|
||||||
return file_viking_viking_msg_proto_rawDescGZIP(), []int{9}
|
return file_viking_viking_msg_proto_rawDescGZIP(), []int{8}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *VikingBuyReq) GetCount() int32 {
|
func (x *VikingBuyReq) GetCount() int32 {
|
||||||
@ -674,7 +586,7 @@ type VikingBuyResp struct {
|
|||||||
func (x *VikingBuyResp) Reset() {
|
func (x *VikingBuyResp) Reset() {
|
||||||
*x = VikingBuyResp{}
|
*x = VikingBuyResp{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[10]
|
mi := &file_viking_viking_msg_proto_msgTypes[9]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -687,7 +599,7 @@ func (x *VikingBuyResp) String() string {
|
|||||||
func (*VikingBuyResp) ProtoMessage() {}
|
func (*VikingBuyResp) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *VikingBuyResp) ProtoReflect() protoreflect.Message {
|
func (x *VikingBuyResp) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[10]
|
mi := &file_viking_viking_msg_proto_msgTypes[9]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -700,7 +612,7 @@ func (x *VikingBuyResp) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use VikingBuyResp.ProtoReflect.Descriptor instead.
|
// Deprecated: Use VikingBuyResp.ProtoReflect.Descriptor instead.
|
||||||
func (*VikingBuyResp) Descriptor() ([]byte, []int) {
|
func (*VikingBuyResp) Descriptor() ([]byte, []int) {
|
||||||
return file_viking_viking_msg_proto_rawDescGZIP(), []int{10}
|
return file_viking_viking_msg_proto_rawDescGZIP(), []int{9}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *VikingBuyResp) GetData() *DBViking {
|
func (x *VikingBuyResp) GetData() *DBViking {
|
||||||
@ -722,7 +634,7 @@ type VikingRankListReq struct {
|
|||||||
func (x *VikingRankListReq) Reset() {
|
func (x *VikingRankListReq) Reset() {
|
||||||
*x = VikingRankListReq{}
|
*x = VikingRankListReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[11]
|
mi := &file_viking_viking_msg_proto_msgTypes[10]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -735,7 +647,7 @@ func (x *VikingRankListReq) String() string {
|
|||||||
func (*VikingRankListReq) ProtoMessage() {}
|
func (*VikingRankListReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *VikingRankListReq) ProtoReflect() protoreflect.Message {
|
func (x *VikingRankListReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[11]
|
mi := &file_viking_viking_msg_proto_msgTypes[10]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -748,7 +660,7 @@ func (x *VikingRankListReq) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use VikingRankListReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use VikingRankListReq.ProtoReflect.Descriptor instead.
|
||||||
func (*VikingRankListReq) Descriptor() ([]byte, []int) {
|
func (*VikingRankListReq) Descriptor() ([]byte, []int) {
|
||||||
return file_viking_viking_msg_proto_rawDescGZIP(), []int{11}
|
return file_viking_viking_msg_proto_rawDescGZIP(), []int{10}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *VikingRankListReq) GetBoosType() int32 {
|
func (x *VikingRankListReq) GetBoosType() int32 {
|
||||||
@ -770,7 +682,7 @@ type VikingRankListResp struct {
|
|||||||
func (x *VikingRankListResp) Reset() {
|
func (x *VikingRankListResp) Reset() {
|
||||||
*x = VikingRankListResp{}
|
*x = VikingRankListResp{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[12]
|
mi := &file_viking_viking_msg_proto_msgTypes[11]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -783,7 +695,7 @@ func (x *VikingRankListResp) String() string {
|
|||||||
func (*VikingRankListResp) ProtoMessage() {}
|
func (*VikingRankListResp) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *VikingRankListResp) ProtoReflect() protoreflect.Message {
|
func (x *VikingRankListResp) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[12]
|
mi := &file_viking_viking_msg_proto_msgTypes[11]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -796,7 +708,7 @@ func (x *VikingRankListResp) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use VikingRankListResp.ProtoReflect.Descriptor instead.
|
// Deprecated: Use VikingRankListResp.ProtoReflect.Descriptor instead.
|
||||||
func (*VikingRankListResp) Descriptor() ([]byte, []int) {
|
func (*VikingRankListResp) Descriptor() ([]byte, []int) {
|
||||||
return file_viking_viking_msg_proto_rawDescGZIP(), []int{12}
|
return file_viking_viking_msg_proto_rawDescGZIP(), []int{11}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *VikingRankListResp) GetRanks() []*DBVikingRank {
|
func (x *VikingRankListResp) GetRanks() []*DBVikingRank {
|
||||||
@ -825,7 +737,7 @@ type VikingSeasonRankReq struct {
|
|||||||
func (x *VikingSeasonRankReq) Reset() {
|
func (x *VikingSeasonRankReq) Reset() {
|
||||||
*x = VikingSeasonRankReq{}
|
*x = VikingSeasonRankReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[13]
|
mi := &file_viking_viking_msg_proto_msgTypes[12]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -838,7 +750,7 @@ func (x *VikingSeasonRankReq) String() string {
|
|||||||
func (*VikingSeasonRankReq) ProtoMessage() {}
|
func (*VikingSeasonRankReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *VikingSeasonRankReq) ProtoReflect() protoreflect.Message {
|
func (x *VikingSeasonRankReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[13]
|
mi := &file_viking_viking_msg_proto_msgTypes[12]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -851,7 +763,7 @@ func (x *VikingSeasonRankReq) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use VikingSeasonRankReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use VikingSeasonRankReq.ProtoReflect.Descriptor instead.
|
||||||
func (*VikingSeasonRankReq) Descriptor() ([]byte, []int) {
|
func (*VikingSeasonRankReq) Descriptor() ([]byte, []int) {
|
||||||
return file_viking_viking_msg_proto_rawDescGZIP(), []int{13}
|
return file_viking_viking_msg_proto_rawDescGZIP(), []int{12}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *VikingSeasonRankReq) GetBoosType() int32 {
|
func (x *VikingSeasonRankReq) GetBoosType() int32 {
|
||||||
@ -873,7 +785,7 @@ type VikingSeasonRankResp struct {
|
|||||||
func (x *VikingSeasonRankResp) Reset() {
|
func (x *VikingSeasonRankResp) Reset() {
|
||||||
*x = VikingSeasonRankResp{}
|
*x = VikingSeasonRankResp{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[14]
|
mi := &file_viking_viking_msg_proto_msgTypes[13]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -886,7 +798,7 @@ func (x *VikingSeasonRankResp) String() string {
|
|||||||
func (*VikingSeasonRankResp) ProtoMessage() {}
|
func (*VikingSeasonRankResp) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *VikingSeasonRankResp) ProtoReflect() protoreflect.Message {
|
func (x *VikingSeasonRankResp) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_viking_viking_msg_proto_msgTypes[14]
|
mi := &file_viking_viking_msg_proto_msgTypes[13]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -899,7 +811,7 @@ func (x *VikingSeasonRankResp) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use VikingSeasonRankResp.ProtoReflect.Descriptor instead.
|
// Deprecated: Use VikingSeasonRankResp.ProtoReflect.Descriptor instead.
|
||||||
func (*VikingSeasonRankResp) Descriptor() ([]byte, []int) {
|
func (*VikingSeasonRankResp) Descriptor() ([]byte, []int) {
|
||||||
return file_viking_viking_msg_proto_rawDescGZIP(), []int{14}
|
return file_viking_viking_msg_proto_rawDescGZIP(), []int{13}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *VikingSeasonRankResp) GetRanks() []*DBVikingSRank {
|
func (x *VikingSeasonRankResp) GetRanks() []*DBVikingSRank {
|
||||||
@ -983,52 +895,34 @@ var file_viking_viking_msg_proto_rawDesc = []byte{
|
|||||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x6e, 0x64, 0x12,
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x6e, 0x64, 0x12,
|
||||||
0x1e, 0x0a, 0x0a, 0x73, 0x77, 0x65, 0x65, 0x70, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x06, 0x20,
|
0x1e, 0x0a, 0x0a, 0x73, 0x77, 0x65, 0x65, 0x70, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x06, 0x20,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x77, 0x65, 0x65, 0x70, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22,
|
0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x77, 0x65, 0x65, 0x70, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22,
|
||||||
0x9c, 0x02, 0x0a, 0x11, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52,
|
0x37, 0x0a, 0x0f, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x65,
|
||||||
0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69,
|
0x73, 0x70, 0x12, 0x24, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x03,
|
||||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69,
|
0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
|
||||||
0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x77, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
|
0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x24, 0x0a, 0x0c, 0x56, 0x69, 0x6b, 0x69,
|
||||||
0x52, 0x05, 0x69, 0x73, 0x77, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x6e, 0x64,
|
0x6e, 0x67, 0x42, 0x75, 0x79, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e,
|
||||||
0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x12,
|
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x2e,
|
||||||
0x25, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,
|
0x0a, 0x0d, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x42, 0x75, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12,
|
||||||
0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x07, 0x63,
|
0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e,
|
||||||
0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18,
|
0x44, 0x42, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2f,
|
||||||
0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f,
|
0x0a, 0x11, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x6e, 0x6b, 0x4c, 0x69, 0x73, 0x74,
|
||||||
0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x39, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65,
|
0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x6f, 0x6f, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18,
|
||||||
0x78, 0x70, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x56, 0x69, 0x6b, 0x69, 0x6e,
|
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x6f, 0x6f, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22,
|
||||||
0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x48, 0x65, 0x72,
|
0x60, 0x0a, 0x12, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x6e, 0x6b, 0x4c, 0x69, 0x73,
|
||||||
0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65,
|
0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x18, 0x01,
|
||||||
0x78, 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74,
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x52,
|
||||||
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
0x61, 0x6e, 0x6b, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x12, 0x25, 0x0a, 0x06, 0x66, 0x72,
|
||||||
0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
0x61, 0x6e, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x56,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3d,
|
0x69, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x06, 0x66, 0x72, 0x61, 0x6e, 0x6b,
|
||||||
0x0a, 0x0f, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x65, 0x73,
|
0x73, 0x22, 0x31, 0x0a, 0x13, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x61, 0x73, 0x6f,
|
||||||
0x70, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28,
|
0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x6f, 0x6f, 0x73,
|
||||||
0x0b, 0x32, 0x12, 0x2e, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52,
|
|
||||||
0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x24, 0x0a,
|
|
||||||
0x0c, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x42, 0x75, 0x79, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a,
|
|
||||||
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f,
|
|
||||||
0x75, 0x6e, 0x74, 0x22, 0x2e, 0x0a, 0x0d, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x42, 0x75, 0x79,
|
|
||||||
0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
|
|
||||||
0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x04, 0x64,
|
|
||||||
0x61, 0x74, 0x61, 0x22, 0x2f, 0x0a, 0x11, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x6e,
|
|
||||||
0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x6f, 0x6f, 0x73,
|
|
||||||
0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x6f, 0x6f, 0x73,
|
0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x6f, 0x6f, 0x73,
|
||||||
0x54, 0x79, 0x70, 0x65, 0x22, 0x60, 0x0a, 0x12, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x61,
|
0x54, 0x79, 0x70, 0x65, 0x22, 0x52, 0x0a, 0x14, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x65,
|
||||||
0x6e, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x05, 0x72, 0x61,
|
0x61, 0x73, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x05,
|
||||||
0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x56, 0x69,
|
0x72, 0x61, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42,
|
||||||
0x6b, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x12,
|
0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x05, 0x72, 0x61, 0x6e,
|
||||||
0x25, 0x0a, 0x06, 0x66, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
0x0d, 0x2e, 0x44, 0x42, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x06,
|
0x03, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62,
|
||||||
0x66, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x22, 0x31, 0x0a, 0x13, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67,
|
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
0x53, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a,
|
|
||||||
0x08, 0x62, 0x6f, 0x6f, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
||||||
0x08, 0x62, 0x6f, 0x6f, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22, 0x52, 0x0a, 0x14, 0x56, 0x69, 0x6b,
|
|
||||||
0x69, 0x6e, 0x67, 0x53, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x73,
|
|
||||||
0x70, 0x12, 0x24, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
|
||||||
0x32, 0x0e, 0x2e, 0x44, 0x42, 0x56, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x52, 0x61, 0x6e, 0x6b,
|
|
||||||
0x52, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65,
|
|
||||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x06, 0x5a,
|
|
||||||
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -1043,7 +937,7 @@ func file_viking_viking_msg_proto_rawDescGZIP() []byte {
|
|||||||
return file_viking_viking_msg_proto_rawDescData
|
return file_viking_viking_msg_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_viking_viking_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
var file_viking_viking_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
||||||
var file_viking_viking_msg_proto_goTypes = []interface{}{
|
var file_viking_viking_msg_proto_goTypes = []interface{}{
|
||||||
(*VikingGetListReq)(nil), // 0: VikingGetListReq
|
(*VikingGetListReq)(nil), // 0: VikingGetListReq
|
||||||
(*VikingGetListResp)(nil), // 1: VikingGetListResp
|
(*VikingGetListResp)(nil), // 1: VikingGetListResp
|
||||||
@ -1052,47 +946,42 @@ var file_viking_viking_msg_proto_goTypes = []interface{}{
|
|||||||
(*VikingChallengeOverReq)(nil), // 4: VikingChallengeOverReq
|
(*VikingChallengeOverReq)(nil), // 4: VikingChallengeOverReq
|
||||||
(*VikingChallengeOverResp)(nil), // 5: VikingChallengeOverResp
|
(*VikingChallengeOverResp)(nil), // 5: VikingChallengeOverResp
|
||||||
(*VikingSweepReq)(nil), // 6: VikingSweepReq
|
(*VikingSweepReq)(nil), // 6: VikingSweepReq
|
||||||
(*VikingSweepResult)(nil), // 7: VikingSweepResult
|
(*VikingSweepResp)(nil), // 7: VikingSweepResp
|
||||||
(*VikingSweepResp)(nil), // 8: VikingSweepResp
|
(*VikingBuyReq)(nil), // 8: VikingBuyReq
|
||||||
(*VikingBuyReq)(nil), // 9: VikingBuyReq
|
(*VikingBuyResp)(nil), // 9: VikingBuyResp
|
||||||
(*VikingBuyResp)(nil), // 10: VikingBuyResp
|
(*VikingRankListReq)(nil), // 10: VikingRankListReq
|
||||||
(*VikingRankListReq)(nil), // 11: VikingRankListReq
|
(*VikingRankListResp)(nil), // 11: VikingRankListResp
|
||||||
(*VikingRankListResp)(nil), // 12: VikingRankListResp
|
(*VikingSeasonRankReq)(nil), // 12: VikingSeasonRankReq
|
||||||
(*VikingSeasonRankReq)(nil), // 13: VikingSeasonRankReq
|
(*VikingSeasonRankResp)(nil), // 13: VikingSeasonRankResp
|
||||||
(*VikingSeasonRankResp)(nil), // 14: VikingSeasonRankResp
|
nil, // 14: VikingChallengeOverResp.HeroexpEntry
|
||||||
nil, // 15: VikingChallengeOverResp.HeroexpEntry
|
(*DBViking)(nil), // 15: DBViking
|
||||||
nil, // 16: VikingSweepResult.HeroexpEntry
|
(*BattleFormation)(nil), // 16: BattleFormation
|
||||||
(*DBViking)(nil), // 17: DBViking
|
(*BattleInfo)(nil), // 17: BattleInfo
|
||||||
(*BattleFormation)(nil), // 18: BattleFormation
|
(*BattleReport)(nil), // 18: BattleReport
|
||||||
(*BattleInfo)(nil), // 19: BattleInfo
|
(*UserAtno)(nil), // 19: UserAtno
|
||||||
(*BattleReport)(nil), // 20: BattleReport
|
(*SweepResult)(nil), // 20: SweepResult
|
||||||
(*UserAtno)(nil), // 21: UserAtno
|
(*DBVikingRank)(nil), // 21: DBVikingRank
|
||||||
(*UserAssets)(nil), // 22: UserAssets
|
(*DBVikingSRank)(nil), // 22: DBVikingSRank
|
||||||
(*DBVikingRank)(nil), // 23: DBVikingRank
|
|
||||||
(*DBVikingSRank)(nil), // 24: DBVikingSRank
|
|
||||||
}
|
}
|
||||||
var file_viking_viking_msg_proto_depIdxs = []int32{
|
var file_viking_viking_msg_proto_depIdxs = []int32{
|
||||||
17, // 0: VikingGetListResp.data:type_name -> DBViking
|
15, // 0: VikingGetListResp.data:type_name -> DBViking
|
||||||
18, // 1: VikingChallengeReq.battle:type_name -> BattleFormation
|
16, // 1: VikingChallengeReq.battle:type_name -> BattleFormation
|
||||||
19, // 2: VikingChallengeResp.info:type_name -> BattleInfo
|
17, // 2: VikingChallengeResp.info:type_name -> BattleInfo
|
||||||
20, // 3: VikingChallengeOverReq.report:type_name -> BattleReport
|
18, // 3: VikingChallengeOverReq.report:type_name -> BattleReport
|
||||||
17, // 4: VikingChallengeOverResp.data:type_name -> DBViking
|
15, // 4: VikingChallengeOverResp.data:type_name -> DBViking
|
||||||
21, // 5: VikingChallengeOverResp.asset:type_name -> UserAtno
|
19, // 5: VikingChallengeOverResp.asset:type_name -> UserAtno
|
||||||
15, // 6: VikingChallengeOverResp.heroexp:type_name -> VikingChallengeOverResp.HeroexpEntry
|
14, // 6: VikingChallengeOverResp.heroexp:type_name -> VikingChallengeOverResp.HeroexpEntry
|
||||||
18, // 7: VikingSweepReq.battle:type_name -> BattleFormation
|
16, // 7: VikingSweepReq.battle:type_name -> BattleFormation
|
||||||
22, // 8: VikingSweepResult.consume:type_name -> UserAssets
|
20, // 8: VikingSweepResp.result:type_name -> SweepResult
|
||||||
21, // 9: VikingSweepResult.award:type_name -> UserAtno
|
15, // 9: VikingBuyResp.data:type_name -> DBViking
|
||||||
16, // 10: VikingSweepResult.heroexp:type_name -> VikingSweepResult.HeroexpEntry
|
21, // 10: VikingRankListResp.ranks:type_name -> DBVikingRank
|
||||||
7, // 11: VikingSweepResp.result:type_name -> VikingSweepResult
|
21, // 11: VikingRankListResp.franks:type_name -> DBVikingRank
|
||||||
17, // 12: VikingBuyResp.data:type_name -> DBViking
|
22, // 12: VikingSeasonRankResp.ranks:type_name -> DBVikingSRank
|
||||||
23, // 13: VikingRankListResp.ranks:type_name -> DBVikingRank
|
13, // [13:13] is the sub-list for method output_type
|
||||||
23, // 14: VikingRankListResp.franks:type_name -> DBVikingRank
|
13, // [13:13] is the sub-list for method input_type
|
||||||
24, // 15: VikingSeasonRankResp.ranks:type_name -> DBVikingSRank
|
13, // [13:13] is the sub-list for extension type_name
|
||||||
16, // [16:16] is the sub-list for method output_type
|
13, // [13:13] is the sub-list for extension extendee
|
||||||
16, // [16:16] is the sub-list for method input_type
|
0, // [0:13] is the sub-list for field type_name
|
||||||
16, // [16:16] is the sub-list for extension type_name
|
|
||||||
16, // [16:16] is the sub-list for extension extendee
|
|
||||||
0, // [0:16] is the sub-list for field type_name
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_viking_viking_msg_proto_init() }
|
func init() { file_viking_viking_msg_proto_init() }
|
||||||
@ -1189,18 +1078,6 @@ func file_viking_viking_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_viking_viking_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
file_viking_viking_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*VikingSweepResult); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_viking_viking_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*VikingSweepResp); i {
|
switch v := v.(*VikingSweepResp); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@ -1212,7 +1089,7 @@ func file_viking_viking_msg_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_viking_viking_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
file_viking_viking_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*VikingBuyReq); i {
|
switch v := v.(*VikingBuyReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@ -1224,7 +1101,7 @@ func file_viking_viking_msg_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_viking_viking_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
file_viking_viking_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*VikingBuyResp); i {
|
switch v := v.(*VikingBuyResp); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@ -1236,7 +1113,7 @@ func file_viking_viking_msg_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_viking_viking_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
file_viking_viking_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*VikingRankListReq); i {
|
switch v := v.(*VikingRankListReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@ -1248,7 +1125,7 @@ func file_viking_viking_msg_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_viking_viking_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
file_viking_viking_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*VikingRankListResp); i {
|
switch v := v.(*VikingRankListResp); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@ -1260,7 +1137,7 @@ func file_viking_viking_msg_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_viking_viking_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
file_viking_viking_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*VikingSeasonRankReq); i {
|
switch v := v.(*VikingSeasonRankReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@ -1272,7 +1149,7 @@ func file_viking_viking_msg_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_viking_viking_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
file_viking_viking_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*VikingSeasonRankResp); i {
|
switch v := v.(*VikingSeasonRankResp); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@ -1291,7 +1168,7 @@ func file_viking_viking_msg_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_viking_viking_msg_proto_rawDesc,
|
RawDescriptor: file_viking_viking_msg_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 17,
|
NumMessages: 15,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user