| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- // message结构的属性名请使用 驼峰小写字母开始
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.8
- // protoc v6.31.1
- // source: show.proto
- package pb
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- )
- 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 MainCityShowPush struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 当前选择主城外观ID D-地图-主城外观表主城外观ID
- MainCityShowID int32 `protobuf:"varint,1,opt,name=MainCityShowID,proto3" json:"MainCityShowID,omitempty"`
- // 已激活的主城外观列表
- List []*MainCityShow `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MainCityShowPush) Reset() {
- *x = MainCityShowPush{}
- mi := &file_show_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MainCityShowPush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MainCityShowPush) ProtoMessage() {}
- func (x *MainCityShowPush) ProtoReflect() protoreflect.Message {
- mi := &file_show_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MainCityShowPush.ProtoReflect.Descriptor instead.
- func (*MainCityShowPush) Descriptor() ([]byte, []int) {
- return file_show_proto_rawDescGZIP(), []int{0}
- }
- func (x *MainCityShowPush) GetMainCityShowID() int32 {
- if x != nil {
- return x.MainCityShowID
- }
- return 0
- }
- func (x *MainCityShowPush) GetList() []*MainCityShow {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 主城外观变更推送
- type MainCityShowChangePush struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 过期主城外观ID列表
- DelShowIDs []int32 `protobuf:"varint,1,rep,packed,name=delShowIDs,proto3" json:"delShowIDs,omitempty"`
- // 变更主城外观列表
- List []*MainCityShow `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MainCityShowChangePush) Reset() {
- *x = MainCityShowChangePush{}
- mi := &file_show_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MainCityShowChangePush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MainCityShowChangePush) ProtoMessage() {}
- func (x *MainCityShowChangePush) ProtoReflect() protoreflect.Message {
- mi := &file_show_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MainCityShowChangePush.ProtoReflect.Descriptor instead.
- func (*MainCityShowChangePush) Descriptor() ([]byte, []int) {
- return file_show_proto_rawDescGZIP(), []int{1}
- }
- func (x *MainCityShowChangePush) GetDelShowIDs() []int32 {
- if x != nil {
- return x.DelShowIDs
- }
- return nil
- }
- func (x *MainCityShowChangePush) GetList() []*MainCityShow {
- if x != nil {
- return x.List
- }
- return nil
- }
- // 主城外观
- type MainCityShow struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 主城外观ID
- ShowID int32 `protobuf:"varint,1,opt,name=showID,proto3" json:"showID,omitempty"`
- // 过期时间戳 单位秒
- ExpireTime int64 `protobuf:"varint,2,opt,name=expireTime,proto3" json:"expireTime,omitempty"`
- // 是否已查看
- IsViewed bool `protobuf:"varint,3,opt,name=isViewed,proto3" json:"isViewed,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MainCityShow) Reset() {
- *x = MainCityShow{}
- mi := &file_show_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MainCityShow) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MainCityShow) ProtoMessage() {}
- func (x *MainCityShow) ProtoReflect() protoreflect.Message {
- mi := &file_show_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MainCityShow.ProtoReflect.Descriptor instead.
- func (*MainCityShow) Descriptor() ([]byte, []int) {
- return file_show_proto_rawDescGZIP(), []int{2}
- }
- func (x *MainCityShow) GetShowID() int32 {
- if x != nil {
- return x.ShowID
- }
- return 0
- }
- func (x *MainCityShow) GetExpireTime() int64 {
- if x != nil {
- return x.ExpireTime
- }
- return 0
- }
- func (x *MainCityShow) GetIsViewed() bool {
- if x != nil {
- return x.IsViewed
- }
- return false
- }
- var File_show_proto protoreflect.FileDescriptor
- const file_show_proto_rawDesc = "" +
- "\n" +
- "\n" +
- "show.proto\x12\x02pb\"`\n" +
- "\x10MainCityShowPush\x12&\n" +
- "\x0eMainCityShowID\x18\x01 \x01(\x05R\x0eMainCityShowID\x12$\n" +
- "\x04list\x18\x02 \x03(\v2\x10.pb.MainCityShowR\x04list\"^\n" +
- "\x16MainCityShowChangePush\x12\x1e\n" +
- "\n" +
- "delShowIDs\x18\x01 \x03(\x05R\n" +
- "delShowIDs\x12$\n" +
- "\x04list\x18\x02 \x03(\v2\x10.pb.MainCityShowR\x04list\"b\n" +
- "\fMainCityShow\x12\x16\n" +
- "\x06showID\x18\x01 \x01(\x05R\x06showID\x12\x1e\n" +
- "\n" +
- "expireTime\x18\x02 \x01(\x03R\n" +
- "expireTime\x12\x1a\n" +
- "\bisViewed\x18\x03 \x01(\bR\bisViewedB\x05Z\x03/pbb\x06proto3"
- var (
- file_show_proto_rawDescOnce sync.Once
- file_show_proto_rawDescData []byte
- )
- func file_show_proto_rawDescGZIP() []byte {
- file_show_proto_rawDescOnce.Do(func() {
- file_show_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_show_proto_rawDesc), len(file_show_proto_rawDesc)))
- })
- return file_show_proto_rawDescData
- }
- var file_show_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
- var file_show_proto_goTypes = []any{
- (*MainCityShowPush)(nil), // 0: pb.MainCityShowPush
- (*MainCityShowChangePush)(nil), // 1: pb.MainCityShowChangePush
- (*MainCityShow)(nil), // 2: pb.MainCityShow
- }
- var file_show_proto_depIdxs = []int32{
- 2, // 0: pb.MainCityShowPush.list:type_name -> pb.MainCityShow
- 2, // 1: pb.MainCityShowChangePush.list:type_name -> pb.MainCityShow
- 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_show_proto_init() }
- func file_show_proto_init() {
- if File_show_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_show_proto_rawDesc), len(file_show_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 3,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_show_proto_goTypes,
- DependencyIndexes: file_show_proto_depIdxs,
- MessageInfos: file_show_proto_msgTypes,
- }.Build()
- File_show_proto = out.File
- file_show_proto_goTypes = nil
- file_show_proto_depIdxs = nil
- }
|