// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: plunder/plunder_db.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // 玩家的掠夺信息 type DBPlunder struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` // Uinfo *BaseUserInfo `protobuf:"bytes,3,opt,name=uinfo,proto3" json:"uinfo"` //用户基础 Landid string `protobuf:"bytes,4,opt,name=landid,proto3" json:"landid"` //掠夺岛 oid Line []*TransportLine `protobuf:"bytes,5,rep,name=line,proto3" json:"line"` // 运输队列 Count int32 `protobuf:"varint,6,opt,name=count,proto3" json:"count"` // 运输次数 Source []int32 `protobuf:"varint,7,rep,packed,name=source,proto3" json:"source"` // 货源列表 Setout []int32 `protobuf:"varint,8,rep,packed,name=setout,proto3" json:"setout"` // 已经出发的列表 Refresh int32 `protobuf:"varint,9,opt,name=refresh,proto3" json:"refresh"` // 刷新次数 Ctime int64 `protobuf:"varint,10,opt,name=ctime,proto3" json:"ctime"` // 刷新时间 客户端不用 Score int32 `protobuf:"varint,11,opt,name=score,proto3" json:"score"` // 当前赛季积分 Etime int64 `protobuf:"varint,12,opt,name=etime,proto3" json:"etime"` // 结束时间 Plunderexp int32 `protobuf:"varint,13,opt,name=plunderexp,proto3" json:"plunderexp"` // 积分 排行用 Develop map[int32]int32 `protobuf:"bytes,14,rep,name=develop,proto3" json:"develop" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 海航术 Pvpcount int32 `protobuf:"varint,15,opt,name=pvpcount,proto3" json:"pvpcount"` // pvp 次数 Freecount int32 `protobuf:"varint,16,opt,name=freecount,proto3" json:"freecount"` // 免费 次数 } func (x *DBPlunder) Reset() { *x = DBPlunder{} if protoimpl.UnsafeEnabled { mi := &file_plunder_plunder_db_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DBPlunder) String() string { return protoimpl.X.MessageStringOf(x) } func (*DBPlunder) ProtoMessage() {} func (x *DBPlunder) ProtoReflect() protoreflect.Message { mi := &file_plunder_plunder_db_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 DBPlunder.ProtoReflect.Descriptor instead. func (*DBPlunder) Descriptor() ([]byte, []int) { return file_plunder_plunder_db_proto_rawDescGZIP(), []int{0} } func (x *DBPlunder) GetId() string { if x != nil { return x.Id } return "" } func (x *DBPlunder) GetUid() string { if x != nil { return x.Uid } return "" } func (x *DBPlunder) GetUinfo() *BaseUserInfo { if x != nil { return x.Uinfo } return nil } func (x *DBPlunder) GetLandid() string { if x != nil { return x.Landid } return "" } func (x *DBPlunder) GetLine() []*TransportLine { if x != nil { return x.Line } return nil } func (x *DBPlunder) GetCount() int32 { if x != nil { return x.Count } return 0 } func (x *DBPlunder) GetSource() []int32 { if x != nil { return x.Source } return nil } func (x *DBPlunder) GetSetout() []int32 { if x != nil { return x.Setout } return nil } func (x *DBPlunder) GetRefresh() int32 { if x != nil { return x.Refresh } return 0 } func (x *DBPlunder) GetCtime() int64 { if x != nil { return x.Ctime } return 0 } func (x *DBPlunder) GetScore() int32 { if x != nil { return x.Score } return 0 } func (x *DBPlunder) GetEtime() int64 { if x != nil { return x.Etime } return 0 } func (x *DBPlunder) GetPlunderexp() int32 { if x != nil { return x.Plunderexp } return 0 } func (x *DBPlunder) GetDevelop() map[int32]int32 { if x != nil { return x.Develop } return nil } func (x *DBPlunder) GetPvpcount() int32 { if x != nil { return x.Pvpcount } return 0 } func (x *DBPlunder) GetFreecount() int32 { if x != nil { return x.Freecount } return 0 } type TransportLine struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid"` // 唯一id Closetime int64 `protobuf:"varint,2,opt,name=closetime,proto3" json:"closetime"` // 格子关闭时间 -1 关闭 0 开启 } func (x *TransportLine) Reset() { *x = TransportLine{} if protoimpl.UnsafeEnabled { mi := &file_plunder_plunder_db_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *TransportLine) String() string { return protoimpl.X.MessageStringOf(x) } func (*TransportLine) ProtoMessage() {} func (x *TransportLine) ProtoReflect() protoreflect.Message { mi := &file_plunder_plunder_db_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 TransportLine.ProtoReflect.Descriptor instead. func (*TransportLine) Descriptor() ([]byte, []int) { return file_plunder_plunder_db_proto_rawDescGZIP(), []int{1} } func (x *TransportLine) GetOid() string { if x != nil { return x.Oid } return "" } func (x *TransportLine) GetClosetime() int64 { if x != nil { return x.Closetime } return 0 } // 自己的船 type PlunderLine struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Itype int32 `protobuf:"varint,1,opt,name=itype,proto3" json:"itype"` // 运输品质 Etime int64 `protobuf:"varint,2,opt,name=etime,proto3" json:"etime"` // 到达时间 Cid int32 `protobuf:"varint,3,opt,name=cid,proto3" json:"cid"` // 货物配置id Oid string `protobuf:"bytes,4,opt,name=oid,proto3" json:"oid"` // 唯一id } func (x *PlunderLine) Reset() { *x = PlunderLine{} if protoimpl.UnsafeEnabled { mi := &file_plunder_plunder_db_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PlunderLine) String() string { return protoimpl.X.MessageStringOf(x) } func (*PlunderLine) ProtoMessage() {} func (x *PlunderLine) ProtoReflect() protoreflect.Message { mi := &file_plunder_plunder_db_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 PlunderLine.ProtoReflect.Descriptor instead. func (*PlunderLine) Descriptor() ([]byte, []int) { return file_plunder_plunder_db_proto_rawDescGZIP(), []int{2} } func (x *PlunderLine) GetItype() int32 { if x != nil { return x.Itype } return 0 } func (x *PlunderLine) GetEtime() int64 { if x != nil { return x.Etime } return 0 } func (x *PlunderLine) GetCid() int32 { if x != nil { return x.Cid } return 0 } func (x *PlunderLine) GetOid() string { if x != nil { return x.Oid } return "" } // 船信息 type ShipData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` Line *PlunderLine `protobuf:"bytes,2,opt,name=line,proto3" json:"line"` //map hero = 3; // 英雄信息 Index int32 `protobuf:"varint,4,opt,name=index,proto3" json:"index"` //下标 Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status"` // 状态 0 运输 1 正在被攻击 2 战败cd中 3 掠夺成功 Cd int64 `protobuf:"varint,6,opt,name=cd,proto3" json:"cd"` //cd 结束时间 Client bool `protobuf:"varint,7,opt,name=client,proto3" json:"client"` // 客户端状态 服务器不用 Defend *DBPlayerBattleFormt `protobuf:"bytes,8,opt,name=defend,proto3" json:"defend"` //防守 } func (x *ShipData) Reset() { *x = ShipData{} if protoimpl.UnsafeEnabled { mi := &file_plunder_plunder_db_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ShipData) String() string { return protoimpl.X.MessageStringOf(x) } func (*ShipData) ProtoMessage() {} func (x *ShipData) ProtoReflect() protoreflect.Message { mi := &file_plunder_plunder_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 ShipData.ProtoReflect.Descriptor instead. func (*ShipData) Descriptor() ([]byte, []int) { return file_plunder_plunder_db_proto_rawDescGZIP(), []int{3} } func (x *ShipData) GetUid() string { if x != nil { return x.Uid } return "" } func (x *ShipData) GetLine() *PlunderLine { if x != nil { return x.Line } return nil } func (x *ShipData) GetIndex() int32 { if x != nil { return x.Index } return 0 } func (x *ShipData) GetStatus() int32 { if x != nil { return x.Status } return 0 } func (x *ShipData) GetCd() int64 { if x != nil { return x.Cd } return 0 } func (x *ShipData) GetClient() bool { if x != nil { return x.Client } return false } func (x *ShipData) GetDefend() *DBPlayerBattleFormt { if x != nil { return x.Defend } return nil } // 掠夺岛 type DBPlunderLand struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID Uinfo map[int32]*BaseUserInfo `protobuf:"bytes,2,rep,name=uinfo,proto3" json:"uinfo" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 成员信息 key 岛位置 Ship map[string]*ShipData `protobuf:"bytes,3,rep,name=ship,proto3" json:"ship" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 运输的船 key 唯一id Score map[string]int32 `protobuf:"bytes,4,rep,name=score,proto3" json:"score" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 排行榜积分用 Etime int64 `protobuf:"varint,5,opt,name=etime,proto3" json:"etime"` // 结束时间 } func (x *DBPlunderLand) Reset() { *x = DBPlunderLand{} if protoimpl.UnsafeEnabled { mi := &file_plunder_plunder_db_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DBPlunderLand) String() string { return protoimpl.X.MessageStringOf(x) } func (*DBPlunderLand) ProtoMessage() {} func (x *DBPlunderLand) ProtoReflect() protoreflect.Message { mi := &file_plunder_plunder_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 DBPlunderLand.ProtoReflect.Descriptor instead. func (*DBPlunderLand) Descriptor() ([]byte, []int) { return file_plunder_plunder_db_proto_rawDescGZIP(), []int{4} } func (x *DBPlunderLand) GetId() string { if x != nil { return x.Id } return "" } func (x *DBPlunderLand) GetUinfo() map[int32]*BaseUserInfo { if x != nil { return x.Uinfo } return nil } func (x *DBPlunderLand) GetShip() map[string]*ShipData { if x != nil { return x.Ship } return nil } func (x *DBPlunderLand) GetScore() map[string]int32 { if x != nil { return x.Score } return nil } func (x *DBPlunderLand) GetEtime() int64 { if x != nil { return x.Etime } return 0 } type PlunderRecordData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Itype int32 `protobuf:"varint,1,opt,name=itype,proto3" json:"itype"` // P1 string `protobuf:"bytes,2,opt,name=p1,proto3" json:"p1"` // 玩家1 P2 string `protobuf:"bytes,3,opt,name=p2,proto3" json:"p2"` Cid int32 `protobuf:"varint,4,opt,name=cid,proto3" json:"cid"` // 配置表id Ctime int64 `protobuf:"varint,5,opt,name=ctime,proto3" json:"ctime"` //记录时间 Bid string `protobuf:"bytes,6,opt,name=bid,proto3" json:"bid"` // 战斗id (不是pvp 为空) Iswin bool `protobuf:"varint,7,opt,name=iswin,proto3" json:"iswin"` // 是否胜利 } func (x *PlunderRecordData) Reset() { *x = PlunderRecordData{} if protoimpl.UnsafeEnabled { mi := &file_plunder_plunder_db_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PlunderRecordData) String() string { return protoimpl.X.MessageStringOf(x) } func (*PlunderRecordData) ProtoMessage() {} func (x *PlunderRecordData) ProtoReflect() protoreflect.Message { mi := &file_plunder_plunder_db_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PlunderRecordData.ProtoReflect.Descriptor instead. func (*PlunderRecordData) Descriptor() ([]byte, []int) { return file_plunder_plunder_db_proto_rawDescGZIP(), []int{5} } func (x *PlunderRecordData) GetItype() int32 { if x != nil { return x.Itype } return 0 } func (x *PlunderRecordData) GetP1() string { if x != nil { return x.P1 } return "" } func (x *PlunderRecordData) GetP2() string { if x != nil { return x.P2 } return "" } func (x *PlunderRecordData) GetCid() int32 { if x != nil { return x.Cid } return 0 } func (x *PlunderRecordData) GetCtime() int64 { if x != nil { return x.Ctime } return 0 } func (x *PlunderRecordData) GetBid() string { if x != nil { return x.Bid } return "" } func (x *PlunderRecordData) GetIswin() bool { if x != nil { return x.Iswin } return false } // 掠夺记录 type DBPlunderRecord struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID Data []*PlunderRecordData `protobuf:"bytes,2,rep,name=data,proto3" json:"data"` // 记录详情 } func (x *DBPlunderRecord) Reset() { *x = DBPlunderRecord{} if protoimpl.UnsafeEnabled { mi := &file_plunder_plunder_db_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DBPlunderRecord) String() string { return protoimpl.X.MessageStringOf(x) } func (*DBPlunderRecord) ProtoMessage() {} func (x *DBPlunderRecord) ProtoReflect() protoreflect.Message { mi := &file_plunder_plunder_db_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DBPlunderRecord.ProtoReflect.Descriptor instead. func (*DBPlunderRecord) Descriptor() ([]byte, []int) { return file_plunder_plunder_db_proto_rawDescGZIP(), []int{6} } func (x *DBPlunderRecord) GetId() string { if x != nil { return x.Id } return "" } func (x *DBPlunderRecord) GetData() []*PlunderRecordData { if x != nil { return x.Data } return nil } var File_plunder_plunder_db_proto protoreflect.FileDescriptor var file_plunder_plunder_db_proto_rawDesc = []byte{ 0x0a, 0x18, 0x70, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x2f, 0x70, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf9, 0x03, 0x0a, 0x09, 0x44, 0x42, 0x50, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x05, 0x75, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x75, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x74, 0x6f, 0x75, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x73, 0x65, 0x74, 0x6f, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x78, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x65, 0x78, 0x70, 0x12, 0x31, 0x0a, 0x07, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x44, 0x42, 0x50, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x44, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x64, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x76, 0x70, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x76, 0x70, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x72, 0x65, 0x65, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x66, 0x72, 0x65, 0x65, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x3a, 0x0a, 0x0c, 0x44, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 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, 0x3f, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x5d, 0x0a, 0x0b, 0x50, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, 0xc2, 0x01, 0x0a, 0x08, 0x53, 0x68, 0x69, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x50, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x63, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x63, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x06, 0x64, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x74, 0x52, 0x06, 0x64, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x22, 0x8c, 0x03, 0x0a, 0x0d, 0x44, 0x42, 0x50, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x4c, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x05, 0x75, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44, 0x42, 0x50, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x4c, 0x61, 0x6e, 0x64, 0x2e, 0x55, 0x69, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x75, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x04, 0x73, 0x68, 0x69, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x44, 0x42, 0x50, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x4c, 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x68, 0x69, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x73, 0x68, 0x69, 0x70, 0x12, 0x2f, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44, 0x42, 0x50, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x4c, 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x47, 0x0a, 0x0a, 0x55, 0x69, 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x09, 0x53, 0x68, 0x69, 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, 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x53, 0x68, 0x69, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x63, 0x6f, 0x72, 0x65, 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, 0x99, 0x01, 0x0a, 0x11, 0x50, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x70, 0x31, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x70, 0x31, 0x12, 0x0e, 0x0a, 0x02, 0x70, 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x70, 0x32, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x62, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x77, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x77, 0x69, 0x6e, 0x22, 0x49, 0x0a, 0x0f, 0x44, 0x42, 0x50, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x50, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_plunder_plunder_db_proto_rawDescOnce sync.Once file_plunder_plunder_db_proto_rawDescData = file_plunder_plunder_db_proto_rawDesc ) func file_plunder_plunder_db_proto_rawDescGZIP() []byte { file_plunder_plunder_db_proto_rawDescOnce.Do(func() { file_plunder_plunder_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_plunder_plunder_db_proto_rawDescData) }) return file_plunder_plunder_db_proto_rawDescData } var file_plunder_plunder_db_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_plunder_plunder_db_proto_goTypes = []interface{}{ (*DBPlunder)(nil), // 0: DBPlunder (*TransportLine)(nil), // 1: TransportLine (*PlunderLine)(nil), // 2: PlunderLine (*ShipData)(nil), // 3: ShipData (*DBPlunderLand)(nil), // 4: DBPlunderLand (*PlunderRecordData)(nil), // 5: PlunderRecordData (*DBPlunderRecord)(nil), // 6: DBPlunderRecord nil, // 7: DBPlunder.DevelopEntry nil, // 8: DBPlunderLand.UinfoEntry nil, // 9: DBPlunderLand.ShipEntry nil, // 10: DBPlunderLand.ScoreEntry (*BaseUserInfo)(nil), // 11: BaseUserInfo (*DBPlayerBattleFormt)(nil), // 12: DBPlayerBattleFormt } var file_plunder_plunder_db_proto_depIdxs = []int32{ 11, // 0: DBPlunder.uinfo:type_name -> BaseUserInfo 1, // 1: DBPlunder.line:type_name -> TransportLine 7, // 2: DBPlunder.develop:type_name -> DBPlunder.DevelopEntry 2, // 3: ShipData.line:type_name -> PlunderLine 12, // 4: ShipData.defend:type_name -> DBPlayerBattleFormt 8, // 5: DBPlunderLand.uinfo:type_name -> DBPlunderLand.UinfoEntry 9, // 6: DBPlunderLand.ship:type_name -> DBPlunderLand.ShipEntry 10, // 7: DBPlunderLand.score:type_name -> DBPlunderLand.ScoreEntry 5, // 8: DBPlunderRecord.data:type_name -> PlunderRecordData 11, // 9: DBPlunderLand.UinfoEntry.value:type_name -> BaseUserInfo 3, // 10: DBPlunderLand.ShipEntry.value:type_name -> ShipData 11, // [11:11] is the sub-list for method output_type 11, // [11:11] is the sub-list for method input_type 11, // [11:11] is the sub-list for extension type_name 11, // [11:11] is the sub-list for extension extendee 0, // [0:11] is the sub-list for field type_name } func init() { file_plunder_plunder_db_proto_init() } func file_plunder_plunder_db_proto_init() { if File_plunder_plunder_db_proto != nil { return } file_battle_battle_struct_proto_init() file_comm_proto_init() if !protoimpl.UnsafeEnabled { file_plunder_plunder_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBPlunder); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plunder_plunder_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransportLine); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plunder_plunder_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PlunderLine); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plunder_plunder_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShipData); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plunder_plunder_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBPlunderLand); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plunder_plunder_db_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PlunderRecordData); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plunder_plunder_db_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBPlunderRecord); 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_plunder_plunder_db_proto_rawDesc, NumEnums: 0, NumMessages: 11, NumExtensions: 0, NumServices: 0, }, GoTypes: file_plunder_plunder_db_proto_goTypes, DependencyIndexes: file_plunder_plunder_db_proto_depIdxs, MessageInfos: file_plunder_plunder_db_proto_msgTypes, }.Build() File_plunder_plunder_db_proto = out.File file_plunder_plunder_db_proto_rawDesc = nil file_plunder_plunder_db_proto_goTypes = nil file_plunder_plunder_db_proto_depIdxs = nil }