| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264 |
- // message结构的属性名请使用 驼峰小写字母开始
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.8
- // protoc v6.31.1
- // source: marquee.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 MarqueeList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Marquees []*Marquee `protobuf:"bytes,1,rep,name=marquees,proto3" json:"marquees,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *MarqueeList) Reset() {
- *x = MarqueeList{}
- mi := &file_marquee_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *MarqueeList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MarqueeList) ProtoMessage() {}
- func (x *MarqueeList) ProtoReflect() protoreflect.Message {
- mi := &file_marquee_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 MarqueeList.ProtoReflect.Descriptor instead.
- func (*MarqueeList) Descriptor() ([]byte, []int) {
- return file_marquee_proto_rawDescGZIP(), []int{0}
- }
- func (x *MarqueeList) GetMarquees() []*Marquee {
- if x != nil {
- return x.Marquees
- }
- return nil
- }
- // 跑马灯 后台发送
- type Marquee struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 跑马灯唯一ID
- UID int32 `protobuf:"varint,1,opt,name=UID,proto3" json:"UID,omitempty"`
- // 跑马灯ID P-跑马灯表跑马灯ID
- MarqueeID int32 `protobuf:"varint,2,opt,name=marqueeID,proto3" json:"marqueeID,omitempty"`
- // 跑马灯参数
- Params []string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"`
- // 跑马灯结束时间 单位秒 0表示只显示一次
- EndTime int64 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Marquee) Reset() {
- *x = Marquee{}
- mi := &file_marquee_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Marquee) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Marquee) ProtoMessage() {}
- func (x *Marquee) ProtoReflect() protoreflect.Message {
- mi := &file_marquee_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 Marquee.ProtoReflect.Descriptor instead.
- func (*Marquee) Descriptor() ([]byte, []int) {
- return file_marquee_proto_rawDescGZIP(), []int{1}
- }
- func (x *Marquee) GetUID() int32 {
- if x != nil {
- return x.UID
- }
- return 0
- }
- func (x *Marquee) GetMarqueeID() int32 {
- if x != nil {
- return x.MarqueeID
- }
- return 0
- }
- func (x *Marquee) GetParams() []string {
- if x != nil {
- return x.Params
- }
- return nil
- }
- func (x *Marquee) GetEndTime() int64 {
- if x != nil {
- return x.EndTime
- }
- return 0
- }
- // 游戏跑马灯 游戏内产生
- type GameMarquee struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 跑马灯ID P-跑马灯表跑马灯ID
- MarqueeID int32 `protobuf:"varint,1,opt,name=marqueeID,proto3" json:"marqueeID,omitempty"`
- // 跑马灯参数
- Params []string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GameMarquee) Reset() {
- *x = GameMarquee{}
- mi := &file_marquee_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GameMarquee) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GameMarquee) ProtoMessage() {}
- func (x *GameMarquee) ProtoReflect() protoreflect.Message {
- mi := &file_marquee_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 GameMarquee.ProtoReflect.Descriptor instead.
- func (*GameMarquee) Descriptor() ([]byte, []int) {
- return file_marquee_proto_rawDescGZIP(), []int{2}
- }
- func (x *GameMarquee) GetMarqueeID() int32 {
- if x != nil {
- return x.MarqueeID
- }
- return 0
- }
- func (x *GameMarquee) GetParams() []string {
- if x != nil {
- return x.Params
- }
- return nil
- }
- var File_marquee_proto protoreflect.FileDescriptor
- const file_marquee_proto_rawDesc = "" +
- "\n" +
- "\rmarquee.proto\x12\x02pb\"6\n" +
- "\vMarqueeList\x12'\n" +
- "\bmarquees\x18\x01 \x03(\v2\v.pb.MarqueeR\bmarquees\"k\n" +
- "\aMarquee\x12\x10\n" +
- "\x03UID\x18\x01 \x01(\x05R\x03UID\x12\x1c\n" +
- "\tmarqueeID\x18\x02 \x01(\x05R\tmarqueeID\x12\x16\n" +
- "\x06params\x18\x03 \x03(\tR\x06params\x12\x18\n" +
- "\aendTime\x18\x04 \x01(\x03R\aendTime\"C\n" +
- "\vGameMarquee\x12\x1c\n" +
- "\tmarqueeID\x18\x01 \x01(\x05R\tmarqueeID\x12\x16\n" +
- "\x06params\x18\x02 \x03(\tR\x06paramsB\x05Z\x03/pbb\x06proto3"
- var (
- file_marquee_proto_rawDescOnce sync.Once
- file_marquee_proto_rawDescData []byte
- )
- func file_marquee_proto_rawDescGZIP() []byte {
- file_marquee_proto_rawDescOnce.Do(func() {
- file_marquee_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_marquee_proto_rawDesc), len(file_marquee_proto_rawDesc)))
- })
- return file_marquee_proto_rawDescData
- }
- var file_marquee_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
- var file_marquee_proto_goTypes = []any{
- (*MarqueeList)(nil), // 0: pb.MarqueeList
- (*Marquee)(nil), // 1: pb.Marquee
- (*GameMarquee)(nil), // 2: pb.GameMarquee
- }
- var file_marquee_proto_depIdxs = []int32{
- 1, // 0: pb.MarqueeList.marquees:type_name -> pb.Marquee
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
- }
- func init() { file_marquee_proto_init() }
- func file_marquee_proto_init() {
- if File_marquee_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_marquee_proto_rawDesc), len(file_marquee_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 3,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_marquee_proto_goTypes,
- DependencyIndexes: file_marquee_proto_depIdxs,
- MessageInfos: file_marquee_proto_msgTypes,
- }.Build()
- File_marquee_proto = out.File
- file_marquee_proto_goTypes = nil
- file_marquee_proto_depIdxs = nil
- }
|