// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1 // protoc v3.19.4 // source: stat.proto package pbStat 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) ) // 通知-PvP杀兵营(人) statistics.pvp.kill type StatPvPKill struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` // 用户ID TargetUid int64 `protobuf:"varint,2,opt,name=targetUid,proto3" json:"targetUid,omitempty"` // 目标用户 IsGeneral bool `protobuf:"varint,3,opt,name=isGeneral,proto3" json:"isGeneral,omitempty"` // targetUid是否名将 } func (x *StatPvPKill) Reset() { *x = StatPvPKill{} if protoimpl.UnsafeEnabled { mi := &file_stat_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StatPvPKill) String() string { return protoimpl.X.MessageStringOf(x) } func (*StatPvPKill) ProtoMessage() {} func (x *StatPvPKill) ProtoReflect() protoreflect.Message { mi := &file_stat_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 StatPvPKill.ProtoReflect.Descriptor instead. func (*StatPvPKill) Descriptor() ([]byte, []int) { return file_stat_proto_rawDescGZIP(), []int{0} } func (x *StatPvPKill) GetUid() int64 { if x != nil { return x.Uid } return 0 } func (x *StatPvPKill) GetTargetUid() int64 { if x != nil { return x.TargetUid } return 0 } func (x *StatPvPKill) GetIsGeneral() bool { if x != nil { return x.IsGeneral } return false } // 通知-PvP一血 statistics.pvp.first type StatPvPFirstBlood struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` // 用户ID Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // 1-拿到一血 2-被破一血 } func (x *StatPvPFirstBlood) Reset() { *x = StatPvPFirstBlood{} if protoimpl.UnsafeEnabled { mi := &file_stat_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StatPvPFirstBlood) String() string { return protoimpl.X.MessageStringOf(x) } func (*StatPvPFirstBlood) ProtoMessage() {} func (x *StatPvPFirstBlood) ProtoReflect() protoreflect.Message { mi := &file_stat_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 StatPvPFirstBlood.ProtoReflect.Descriptor instead. func (*StatPvPFirstBlood) Descriptor() ([]byte, []int) { return file_stat_proto_rawDescGZIP(), []int{1} } func (x *StatPvPFirstBlood) GetUid() int64 { if x != nil { return x.Uid } return 0 } func (x *StatPvPFirstBlood) GetType() int32 { if x != nil { return x.Type } return 0 } // 通知-PvP战报 statistics.pvp.report type StatPvPReport struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields WinCamp int32 `protobuf:"varint,1,opt,name=winCamp,proto3" json:"winCamp,omitempty"` // 获胜阵营 1-蓝 2-红 GeneralUid int64 `protobuf:"varint,2,opt,name=generalUid,proto3" json:"generalUid,omitempty"` // 名将UID WinItems []*StatPvPReport_Item `protobuf:"bytes,3,rep,name=winItems,proto3" json:"winItems,omitempty"` // 获胜方数据 LostItems []*StatPvPReport_Item `protobuf:"bytes,4,rep,name=lostItems,proto3" json:"lostItems,omitempty"` // 战败方数据 } func (x *StatPvPReport) Reset() { *x = StatPvPReport{} if protoimpl.UnsafeEnabled { mi := &file_stat_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StatPvPReport) String() string { return protoimpl.X.MessageStringOf(x) } func (*StatPvPReport) ProtoMessage() {} func (x *StatPvPReport) ProtoReflect() protoreflect.Message { mi := &file_stat_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 StatPvPReport.ProtoReflect.Descriptor instead. func (*StatPvPReport) Descriptor() ([]byte, []int) { return file_stat_proto_rawDescGZIP(), []int{2} } func (x *StatPvPReport) GetWinCamp() int32 { if x != nil { return x.WinCamp } return 0 } func (x *StatPvPReport) GetGeneralUid() int64 { if x != nil { return x.GeneralUid } return 0 } func (x *StatPvPReport) GetWinItems() []*StatPvPReport_Item { if x != nil { return x.WinItems } return nil } func (x *StatPvPReport) GetLostItems() []*StatPvPReport_Item { if x != nil { return x.LostItems } return nil } type StatPvPReport_Item struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` // 用户ID Damage int64 `protobuf:"varint,2,opt,name=damage,proto3" json:"damage,omitempty"` // 伤害量 DeDamage int64 `protobuf:"varint,3,opt,name=deDamage,proto3" json:"deDamage,omitempty"` // 承受伤害 KillUnit int64 `protobuf:"varint,4,opt,name=killUnit,proto3" json:"killUnit,omitempty"` // 击杀单位数量 DeKillUnit int64 `protobuf:"varint,5,opt,name=deKillUnit,proto3" json:"deKillUnit,omitempty"` // 被杀单位数量 } func (x *StatPvPReport_Item) Reset() { *x = StatPvPReport_Item{} if protoimpl.UnsafeEnabled { mi := &file_stat_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StatPvPReport_Item) String() string { return protoimpl.X.MessageStringOf(x) } func (*StatPvPReport_Item) ProtoMessage() {} func (x *StatPvPReport_Item) ProtoReflect() protoreflect.Message { mi := &file_stat_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 StatPvPReport_Item.ProtoReflect.Descriptor instead. func (*StatPvPReport_Item) Descriptor() ([]byte, []int) { return file_stat_proto_rawDescGZIP(), []int{2, 0} } func (x *StatPvPReport_Item) GetUid() int64 { if x != nil { return x.Uid } return 0 } func (x *StatPvPReport_Item) GetDamage() int64 { if x != nil { return x.Damage } return 0 } func (x *StatPvPReport_Item) GetDeDamage() int64 { if x != nil { return x.DeDamage } return 0 } func (x *StatPvPReport_Item) GetKillUnit() int64 { if x != nil { return x.KillUnit } return 0 } func (x *StatPvPReport_Item) GetDeKillUnit() int64 { if x != nil { return x.DeKillUnit } return 0 } var File_stat_proto protoreflect.FileDescriptor var file_stat_proto_rawDesc = []byte{ 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x62, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x22, 0x5b, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x50, 0x76, 0x50, 0x4b, 0x69, 0x6c, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x22, 0x39, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x74, 0x50, 0x76, 0x50, 0x46, 0x69, 0x72, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xca, 0x02, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x50, 0x76, 0x50, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x69, 0x6e, 0x43, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x77, 0x69, 0x6e, 0x43, 0x61, 0x6d, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x55, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x55, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x08, 0x77, 0x69, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x50, 0x76, 0x50, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x08, 0x77, 0x69, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x6c, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x50, 0x76, 0x50, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x09, 0x6c, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x88, 0x01, 0x0a, 0x04, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x69, 0x6c, 0x6c, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6b, 0x69, 0x6c, 0x6c, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x64, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x55, 0x6e, 0x69, 0x74, 0x42, 0x09, 0x5a, 0x07, 0x2f, 0x70, 0x62, 0x53, 0x74, 0x61, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_stat_proto_rawDescOnce sync.Once file_stat_proto_rawDescData = file_stat_proto_rawDesc ) func file_stat_proto_rawDescGZIP() []byte { file_stat_proto_rawDescOnce.Do(func() { file_stat_proto_rawDescData = protoimpl.X.CompressGZIP(file_stat_proto_rawDescData) }) return file_stat_proto_rawDescData } var file_stat_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_stat_proto_goTypes = []interface{}{ (*StatPvPKill)(nil), // 0: pbClient.StatPvPKill (*StatPvPFirstBlood)(nil), // 1: pbClient.StatPvPFirstBlood (*StatPvPReport)(nil), // 2: pbClient.StatPvPReport (*StatPvPReport_Item)(nil), // 3: pbClient.StatPvPReport.Item } var file_stat_proto_depIdxs = []int32{ 3, // 0: pbClient.StatPvPReport.winItems:type_name -> pbClient.StatPvPReport.Item 3, // 1: pbClient.StatPvPReport.lostItems:type_name -> pbClient.StatPvPReport.Item 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_stat_proto_init() } func file_stat_proto_init() { if File_stat_proto != nil { return } if !protoimpl.UnsafeEnabled { file_stat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StatPvPKill); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_stat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StatPvPFirstBlood); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_stat_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StatPvPReport); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_stat_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StatPvPReport_Item); 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_stat_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, GoTypes: file_stat_proto_goTypes, DependencyIndexes: file_stat_proto_depIdxs, MessageInfos: file_stat_proto_msgTypes, }.Build() File_stat_proto = out.File file_stat_proto_rawDesc = nil file_stat_proto_goTypes = nil file_stat_proto_depIdxs = nil }