diff --git a/pb/realarena_db.pb.go b/pb/realarena_db.pb.go index 134e37ab2..5303dacca 100644 --- a/pb/realarena_db.pb.go +++ b/pb/realarena_db.pb.go @@ -150,7 +150,7 @@ type DBRealArenaMember struct { Rank int32 `protobuf:"varint,2,opt,name=rank,proto3" json:"rank"` //排名 Dan int32 `protobuf:"varint,3,opt,name=dan,proto3" json:"dan"` //段位 Integral int32 `protobuf:"varint,4,opt,name=integral,proto3" json:"integral"` //积分 - Heros []*HeroBase `protobuf:"bytes,5,rep,name=heros,proto3" json:"heros"` //队伍 + Heros []string `protobuf:"bytes,5,rep,name=heros,proto3" json:"heros"` //队伍 Disable int32 `protobuf:"varint,6,opt,name=disable,proto3" json:"disable"` //禁用 Leader int32 `protobuf:"varint,7,opt,name=leader,proto3" json:"leader"` //队长 Addintegral int32 `protobuf:"varint,8,opt,name=addintegral,proto3" json:"addintegral"` //当局获得积分 @@ -217,7 +217,7 @@ func (x *DBRealArenaMember) GetIntegral() int32 { return 0 } -func (x *DBRealArenaMember) GetHeros() []*HeroBase { +func (x *DBRealArenaMember) GetHeros() []string { if x != nil { return x.Heros } @@ -324,158 +324,6 @@ func (x *DBRealArenaRace) GetBule() *DBRealArenaMember { return nil } -//全集比赛周期代码 -type DBRealArenaWhichIssue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Currwhichissue int32 `protobuf:"varint,1,opt,name=currwhichissue,proto3" json:"currwhichissue"` //当前第几期 - Curropentime int64 `protobuf:"varint,2,opt,name=curropentime,proto3" json:"curropentime"` //当前比赛开始时间 - Currendtime int64 `protobuf:"varint,3,opt,name=currendtime,proto3" json:"currendtime"` //当前比赛结束时间 -} - -func (x *DBRealArenaWhichIssue) Reset() { - *x = DBRealArenaWhichIssue{} - if protoimpl.UnsafeEnabled { - mi := &file_realarena_realarena_db_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DBRealArenaWhichIssue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DBRealArenaWhichIssue) ProtoMessage() {} - -func (x *DBRealArenaWhichIssue) ProtoReflect() protoreflect.Message { - mi := &file_realarena_realarena_db_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 DBRealArenaWhichIssue.ProtoReflect.Descriptor instead. -func (*DBRealArenaWhichIssue) Descriptor() ([]byte, []int) { - return file_realarena_realarena_db_proto_rawDescGZIP(), []int{3} -} - -func (x *DBRealArenaWhichIssue) GetCurrwhichissue() int32 { - if x != nil { - return x.Currwhichissue - } - return 0 -} - -func (x *DBRealArenaWhichIssue) GetCurropentime() int64 { - if x != nil { - return x.Curropentime - } - return 0 -} - -func (x *DBRealArenaWhichIssue) GetCurrendtime() int64 { - if x != nil { - return x.Currendtime - } - return 0 -} - -//实时竞技场战斗记录 -type DBRealArenaRecord struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` - Reduid string `protobuf:"bytes,2,opt,name=reduid,proto3" json:"reduid"` - Buleuid string `protobuf:"bytes,3,opt,name=buleuid,proto3" json:"buleuid"` - Red *DBRealArenaMember `protobuf:"bytes,4,opt,name=red,proto3" json:"red"` - Bule *DBRealArenaMember `protobuf:"bytes,5,opt,name=bule,proto3" json:"bule"` - Winside int32 `protobuf:"varint,6,opt,name=winside,proto3" json:"winside"` -} - -func (x *DBRealArenaRecord) Reset() { - *x = DBRealArenaRecord{} - if protoimpl.UnsafeEnabled { - mi := &file_realarena_realarena_db_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DBRealArenaRecord) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DBRealArenaRecord) ProtoMessage() {} - -func (x *DBRealArenaRecord) ProtoReflect() protoreflect.Message { - mi := &file_realarena_realarena_db_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 DBRealArenaRecord.ProtoReflect.Descriptor instead. -func (*DBRealArenaRecord) Descriptor() ([]byte, []int) { - return file_realarena_realarena_db_proto_rawDescGZIP(), []int{4} -} - -func (x *DBRealArenaRecord) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *DBRealArenaRecord) GetReduid() string { - if x != nil { - return x.Reduid - } - return "" -} - -func (x *DBRealArenaRecord) GetBuleuid() string { - if x != nil { - return x.Buleuid - } - return "" -} - -func (x *DBRealArenaRecord) GetRed() *DBRealArenaMember { - if x != nil { - return x.Red - } - return nil -} - -func (x *DBRealArenaRecord) GetBule() *DBRealArenaMember { - if x != nil { - return x.Bule - } - return nil -} - -func (x *DBRealArenaRecord) GetWinside() int32 { - if x != nil { - return x.Winside - } - return 0 -} - var File_realarena_realarena_db_proto protoreflect.FileDescriptor var file_realarena_realarena_db_proto_rawDesc = []byte{ @@ -503,54 +351,33 @@ var file_realarena_realarena_db_proto_rawDesc = []byte{ 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0x8e, 0x02, 0x0a, 0x11, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, + 0x38, 0x01, 0x22, 0x83, 0x02, 0x0a, 0x11, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x61, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x1f, 0x0a, - 0x05, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x48, - 0x65, 0x72, 0x6f, 0x42, 0x61, 0x73, 0x65, 0x52, 0x05, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x12, 0x18, - 0x0a, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, - 0x61, 0x6c, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, - 0x61, 0x72, 0x64, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, - 0x65, 0x6e, 0x61, 0x52, 0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x03, 0x72, 0x65, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, - 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12, - 0x26, 0x0a, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x52, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x15, 0x44, 0x42, 0x52, 0x65, - 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x57, 0x68, 0x69, 0x63, 0x68, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x77, 0x68, 0x69, 0x63, 0x68, 0x69, 0x73, - 0x73, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x77, - 0x68, 0x69, 0x63, 0x68, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x75, 0x72, - 0x72, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0c, 0x63, 0x75, 0x72, 0x72, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, - 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x22, - 0xbd, 0x01, 0x0a, 0x11, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x64, 0x75, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x64, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, - 0x07, 0x62, 0x75, 0x6c, 0x65, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x62, 0x75, 0x6c, 0x65, 0x75, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, - 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12, 0x26, 0x0a, - 0x04, 0x62, 0x75, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, + 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x14, 0x0a, + 0x05, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x68, 0x65, + 0x72, 0x6f, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x74, 0x65, + 0x67, 0x72, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x69, + 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, + 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, + 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x44, 0x42, 0x52, + 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52, 0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, + 0x0a, 0x03, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, - 0x04, 0x62, 0x75, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x69, 0x6e, 0x73, 0x69, 0x64, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x77, 0x69, 0x6e, 0x73, 0x69, 0x64, 0x65, 0x42, - 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x03, 0x72, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x42, 0x06, 0x5a, 0x04, + 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -565,33 +392,27 @@ func file_realarena_realarena_db_proto_rawDescGZIP() []byte { return file_realarena_realarena_db_proto_rawDescData } -var file_realarena_realarena_db_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_realarena_realarena_db_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_realarena_realarena_db_proto_goTypes = []interface{}{ - (*DBRealArena)(nil), // 0: DBRealArena - (*DBRealArenaMember)(nil), // 1: DBRealArenaMember - (*DBRealArenaRace)(nil), // 2: DBRealArenaRace - (*DBRealArenaWhichIssue)(nil), // 3: DBRealArenaWhichIssue - (*DBRealArenaRecord)(nil), // 4: DBRealArenaRecord - nil, // 5: DBRealArena.DanawardEntry - (*BaseUserInfo)(nil), // 6: BaseUserInfo - (*HeroBase)(nil), // 7: HeroBase - (*UserAtno)(nil), // 8: UserAtno + (*DBRealArena)(nil), // 0: DBRealArena + (*DBRealArenaMember)(nil), // 1: DBRealArenaMember + (*DBRealArenaRace)(nil), // 2: DBRealArenaRace + nil, // 3: DBRealArena.DanawardEntry + (*BaseUserInfo)(nil), // 4: BaseUserInfo + (*UserAtno)(nil), // 5: UserAtno } var file_realarena_realarena_db_proto_depIdxs = []int32{ - 6, // 0: DBRealArena.uinfo:type_name -> BaseUserInfo - 5, // 1: DBRealArena.danaward:type_name -> DBRealArena.DanawardEntry - 6, // 2: DBRealArenaMember.user:type_name -> BaseUserInfo - 7, // 3: DBRealArenaMember.heros:type_name -> HeroBase - 8, // 4: DBRealArenaMember.award:type_name -> UserAtno - 1, // 5: DBRealArenaRace.red:type_name -> DBRealArenaMember - 1, // 6: DBRealArenaRace.bule:type_name -> DBRealArenaMember - 1, // 7: DBRealArenaRecord.red:type_name -> DBRealArenaMember - 1, // 8: DBRealArenaRecord.bule:type_name -> DBRealArenaMember - 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 + 4, // 0: DBRealArena.uinfo:type_name -> BaseUserInfo + 3, // 1: DBRealArena.danaward:type_name -> DBRealArena.DanawardEntry + 4, // 2: DBRealArenaMember.user:type_name -> BaseUserInfo + 5, // 3: DBRealArenaMember.award:type_name -> UserAtno + 1, // 4: DBRealArenaRace.red:type_name -> DBRealArenaMember + 1, // 5: DBRealArenaRace.bule:type_name -> DBRealArenaMember + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name } func init() { file_realarena_realarena_db_proto_init() } @@ -637,30 +458,6 @@ func file_realarena_realarena_db_proto_init() { return nil } } - file_realarena_realarena_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DBRealArenaWhichIssue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_realarena_realarena_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DBRealArenaRecord); 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{ @@ -668,7 +465,7 @@ func file_realarena_realarena_db_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_realarena_realarena_db_proto_rawDesc, NumEnums: 0, - NumMessages: 6, + NumMessages: 4, NumExtensions: 0, NumServices: 0, },