157 lines
6.0 KiB
Go
157 lines
6.0 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.27.1-devel
|
|
// protoc v3.19.4
|
|
// source: srvlibpacketid.proto
|
|
|
|
package protocol
|
|
|
|
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 SrvlibPacketID int32
|
|
|
|
const (
|
|
SrvlibPacketID_PACKET_SRVLIB_UNKNOW SrvlibPacketID = 0
|
|
SrvlibPacketID_PACKET_SS_REGISTE SrvlibPacketID = -2000
|
|
SrvlibPacketID_PACKET_SS_MULTICAST SrvlibPacketID = -2001
|
|
SrvlibPacketID_PACKET_SS_BROADCAST SrvlibPacketID = -2002 // 消息广播;给一个
|
|
SrvlibPacketID_PACKET_SS_SERVICE_REGISTE SrvlibPacketID = -2003
|
|
SrvlibPacketID_PACKET_SS_SERVICE_INFO SrvlibPacketID = -2004
|
|
SrvlibPacketID_PACKET_SS_SERVICE_SHUT SrvlibPacketID = -2005
|
|
)
|
|
|
|
// Enum value maps for SrvlibPacketID.
|
|
var (
|
|
SrvlibPacketID_name = map[int32]string{
|
|
0: "PACKET_SRVLIB_UNKNOW",
|
|
-2000: "PACKET_SS_REGISTE",
|
|
-2001: "PACKET_SS_MULTICAST",
|
|
-2002: "PACKET_SS_BROADCAST",
|
|
-2003: "PACKET_SS_SERVICE_REGISTE",
|
|
-2004: "PACKET_SS_SERVICE_INFO",
|
|
-2005: "PACKET_SS_SERVICE_SHUT",
|
|
}
|
|
SrvlibPacketID_value = map[string]int32{
|
|
"PACKET_SRVLIB_UNKNOW": 0,
|
|
"PACKET_SS_REGISTE": -2000,
|
|
"PACKET_SS_MULTICAST": -2001,
|
|
"PACKET_SS_BROADCAST": -2002,
|
|
"PACKET_SS_SERVICE_REGISTE": -2003,
|
|
"PACKET_SS_SERVICE_INFO": -2004,
|
|
"PACKET_SS_SERVICE_SHUT": -2005,
|
|
}
|
|
)
|
|
|
|
func (x SrvlibPacketID) Enum() *SrvlibPacketID {
|
|
p := new(SrvlibPacketID)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x SrvlibPacketID) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (SrvlibPacketID) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_srvlibpacketid_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (SrvlibPacketID) Type() protoreflect.EnumType {
|
|
return &file_srvlibpacketid_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x SrvlibPacketID) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use SrvlibPacketID.Descriptor instead.
|
|
func (SrvlibPacketID) EnumDescriptor() ([]byte, []int) {
|
|
return file_srvlibpacketid_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
var File_srvlibpacketid_proto protoreflect.FileDescriptor
|
|
|
|
var file_srvlibpacketid_proto_rawDesc = []byte{
|
|
0x0a, 0x14, 0x73, 0x72, 0x76, 0x6c, 0x69, 0x62, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x69, 0x64,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
|
|
0x2a, 0x80, 0x02, 0x0a, 0x0e, 0x53, 0x72, 0x76, 0x6c, 0x69, 0x62, 0x50, 0x61, 0x63, 0x6b, 0x65,
|
|
0x74, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x52,
|
|
0x56, 0x4c, 0x49, 0x42, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x10, 0x00, 0x12, 0x1e, 0x0a,
|
|
0x11, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x53, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53,
|
|
0x54, 0x45, 0x10, 0xb0, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x12, 0x20, 0x0a,
|
|
0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x53, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49,
|
|
0x43, 0x41, 0x53, 0x54, 0x10, 0xaf, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x12,
|
|
0x20, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x53, 0x5f, 0x42, 0x52, 0x4f,
|
|
0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x10, 0xae, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
|
0x01, 0x12, 0x26, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x53, 0x5f, 0x53,
|
|
0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x10, 0xad,
|
|
0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x12, 0x23, 0x0a, 0x16, 0x50, 0x41, 0x43,
|
|
0x4b, 0x45, 0x54, 0x5f, 0x53, 0x53, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x49,
|
|
0x4e, 0x46, 0x4f, 0x10, 0xac, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x12, 0x23,
|
|
0x0a, 0x16, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x53, 0x5f, 0x53, 0x45, 0x52, 0x56,
|
|
0x49, 0x43, 0x45, 0x5f, 0x53, 0x48, 0x55, 0x54, 0x10, 0xab, 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff,
|
|
0xff, 0xff, 0x01, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
|
|
0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_srvlibpacketid_proto_rawDescOnce sync.Once
|
|
file_srvlibpacketid_proto_rawDescData = file_srvlibpacketid_proto_rawDesc
|
|
)
|
|
|
|
func file_srvlibpacketid_proto_rawDescGZIP() []byte {
|
|
file_srvlibpacketid_proto_rawDescOnce.Do(func() {
|
|
file_srvlibpacketid_proto_rawDescData = protoimpl.X.CompressGZIP(file_srvlibpacketid_proto_rawDescData)
|
|
})
|
|
return file_srvlibpacketid_proto_rawDescData
|
|
}
|
|
|
|
var file_srvlibpacketid_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_srvlibpacketid_proto_goTypes = []interface{}{
|
|
(SrvlibPacketID)(0), // 0: protocol.SrvlibPacketID
|
|
}
|
|
var file_srvlibpacketid_proto_depIdxs = []int32{
|
|
0, // [0:0] is the sub-list for method output_type
|
|
0, // [0:0] is the sub-list for method input_type
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
0, // [0:0] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_srvlibpacketid_proto_init() }
|
|
func file_srvlibpacketid_proto_init() {
|
|
if File_srvlibpacketid_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_srvlibpacketid_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 0,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_srvlibpacketid_proto_goTypes,
|
|
DependencyIndexes: file_srvlibpacketid_proto_depIdxs,
|
|
EnumInfos: file_srvlibpacketid_proto_enumTypes,
|
|
}.Build()
|
|
File_srvlibpacketid_proto = out.File
|
|
file_srvlibpacketid_proto_rawDesc = nil
|
|
file_srvlibpacketid_proto_goTypes = nil
|
|
file_srvlibpacketid_proto_depIdxs = nil
|
|
}
|