-
Notifications
You must be signed in to change notification settings - Fork 0
/
msgid.pb.go
75 lines (62 loc) · 2.5 KB
/
msgid.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: msgid.proto
package pb
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type MsgID int32
const (
MsgID_UNKNOW_MessageID MsgID = 0
MsgID_C2S_FETCH_CONFIG MsgID = 100
MsgID_C2S_PLAYER_LOGIN MsgID = 101
MsgID_C2S_PLAYER_PLAYING MsgID = 102
MsgID_C2S_PLAYER_LOGOUT MsgID = 103
)
var MsgID_name = map[int32]string{
0: "UNKNOW_MessageID",
100: "C2S_FETCH_CONFIG",
101: "C2S_PLAYER_LOGIN",
102: "C2S_PLAYER_PLAYING",
103: "C2S_PLAYER_LOGOUT",
}
var MsgID_value = map[string]int32{
"UNKNOW_MessageID": 0,
"C2S_FETCH_CONFIG": 100,
"C2S_PLAYER_LOGIN": 101,
"C2S_PLAYER_PLAYING": 102,
"C2S_PLAYER_LOGOUT": 103,
}
func (x MsgID) String() string {
return proto.EnumName(MsgID_name, int32(x))
}
func (MsgID) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_966e8594ae8b5087, []int{0}
}
func init() {
proto.RegisterEnum("pb.MsgID", MsgID_name, MsgID_value)
}
func init() { proto.RegisterFile("msgid.proto", fileDescriptor_966e8594ae8b5087) }
var fileDescriptor_966e8594ae8b5087 = []byte{
// 156 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xce, 0x2d, 0x4e, 0xcf,
0x4c, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2a, 0x48, 0xd2, 0xaa, 0xe0, 0x62, 0xf5,
0x2d, 0x4e, 0xf7, 0x74, 0x11, 0x12, 0xe1, 0x12, 0x08, 0xf5, 0xf3, 0xf6, 0xf3, 0x0f, 0x8f, 0xf7,
0x4d, 0x2d, 0x2e, 0x4e, 0x4c, 0x4f, 0xf5, 0x74, 0x11, 0x60, 0x00, 0x89, 0x3a, 0x1b, 0x05, 0xc7,
0xbb, 0xb9, 0x86, 0x38, 0x7b, 0xc4, 0x3b, 0xfb, 0xfb, 0xb9, 0x79, 0xba, 0x0b, 0xa4, 0xc0, 0x44,
0x03, 0x7c, 0x1c, 0x23, 0x5d, 0x83, 0xe2, 0x7d, 0xfc, 0xdd, 0x3d, 0xfd, 0x04, 0x52, 0x85, 0xc4,
0xb8, 0x84, 0x90, 0x44, 0x41, 0x94, 0xa7, 0x9f, 0xbb, 0x40, 0x9a, 0x90, 0x28, 0x97, 0x20, 0xaa,
0x6a, 0xff, 0xd0, 0x10, 0x81, 0x74, 0x27, 0x81, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63,
0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc6, 0x63, 0x39, 0x86, 0x24, 0x36, 0xb0, 0xb3, 0x8c, 0x01, 0x01,
0x00, 0x00, 0xff, 0xff, 0x38, 0x22, 0x32, 0x42, 0xa5, 0x00, 0x00, 0x00,
}