This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
forked from dotabuff/manta
/
clientmessages.pb.go
197 lines (171 loc) · 7.29 KB
/
clientmessages.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
// Code generated by protoc-gen-go.
// source: clientmessages.proto
// DO NOT EDIT!
package dota
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type EBaseClientMessages int32
const (
EBaseClientMessages_CM_CustomGameEvent EBaseClientMessages = 280
EBaseClientMessages_CM_ClientUIEvent EBaseClientMessages = 282
EBaseClientMessages_CM_MAX_BASE EBaseClientMessages = 300
)
var EBaseClientMessages_name = map[int32]string{
280: "CM_CustomGameEvent",
282: "CM_ClientUIEvent",
300: "CM_MAX_BASE",
}
var EBaseClientMessages_value = map[string]int32{
"CM_CustomGameEvent": 280,
"CM_ClientUIEvent": 282,
"CM_MAX_BASE": 300,
}
func (x EBaseClientMessages) Enum() *EBaseClientMessages {
p := new(EBaseClientMessages)
*p = x
return p
}
func (x EBaseClientMessages) String() string {
return proto.EnumName(EBaseClientMessages_name, int32(x))
}
func (x *EBaseClientMessages) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(EBaseClientMessages_value, data, "EBaseClientMessages")
if err != nil {
return err
}
*x = EBaseClientMessages(value)
return nil
}
func (EBaseClientMessages) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
type EClientUIEvent int32
const (
EClientUIEvent_EClientUIEvent_Invalid EClientUIEvent = 0
EClientUIEvent_EClientUIEvent_DialogFinished EClientUIEvent = 1
EClientUIEvent_EClientUIEvent_FireOutput EClientUIEvent = 2
)
var EClientUIEvent_name = map[int32]string{
0: "EClientUIEvent_Invalid",
1: "EClientUIEvent_DialogFinished",
2: "EClientUIEvent_FireOutput",
}
var EClientUIEvent_value = map[string]int32{
"EClientUIEvent_Invalid": 0,
"EClientUIEvent_DialogFinished": 1,
"EClientUIEvent_FireOutput": 2,
}
func (x EClientUIEvent) Enum() *EClientUIEvent {
p := new(EClientUIEvent)
*p = x
return p
}
func (x EClientUIEvent) String() string {
return proto.EnumName(EClientUIEvent_name, int32(x))
}
func (x *EClientUIEvent) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(EClientUIEvent_value, data, "EClientUIEvent")
if err != nil {
return err
}
*x = EClientUIEvent(value)
return nil
}
func (EClientUIEvent) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
type CClientMsg_CustomGameEvent struct {
EventName *string `protobuf:"bytes,1,opt,name=event_name" json:"event_name,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *CClientMsg_CustomGameEvent) Reset() { *m = CClientMsg_CustomGameEvent{} }
func (m *CClientMsg_CustomGameEvent) String() string { return proto.CompactTextString(m) }
func (*CClientMsg_CustomGameEvent) ProtoMessage() {}
func (*CClientMsg_CustomGameEvent) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (m *CClientMsg_CustomGameEvent) GetEventName() string {
if m != nil && m.EventName != nil {
return *m.EventName
}
return ""
}
func (m *CClientMsg_CustomGameEvent) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type CClientMsg_ClientUIEvent struct {
Event *EClientUIEvent `protobuf:"varint,1,opt,name=event,enum=dota.EClientUIEvent,def=0" json:"event,omitempty"`
EntEhandle *uint32 `protobuf:"varint,2,opt,name=ent_ehandle" json:"ent_ehandle,omitempty"`
ClientEhandle *uint32 `protobuf:"varint,3,opt,name=client_ehandle" json:"client_ehandle,omitempty"`
Data1 *string `protobuf:"bytes,4,opt,name=data1" json:"data1,omitempty"`
Data2 *string `protobuf:"bytes,5,opt,name=data2" json:"data2,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *CClientMsg_ClientUIEvent) Reset() { *m = CClientMsg_ClientUIEvent{} }
func (m *CClientMsg_ClientUIEvent) String() string { return proto.CompactTextString(m) }
func (*CClientMsg_ClientUIEvent) ProtoMessage() {}
func (*CClientMsg_ClientUIEvent) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
const Default_CClientMsg_ClientUIEvent_Event EClientUIEvent = EClientUIEvent_EClientUIEvent_Invalid
func (m *CClientMsg_ClientUIEvent) GetEvent() EClientUIEvent {
if m != nil && m.Event != nil {
return *m.Event
}
return Default_CClientMsg_ClientUIEvent_Event
}
func (m *CClientMsg_ClientUIEvent) GetEntEhandle() uint32 {
if m != nil && m.EntEhandle != nil {
return *m.EntEhandle
}
return 0
}
func (m *CClientMsg_ClientUIEvent) GetClientEhandle() uint32 {
if m != nil && m.ClientEhandle != nil {
return *m.ClientEhandle
}
return 0
}
func (m *CClientMsg_ClientUIEvent) GetData1() string {
if m != nil && m.Data1 != nil {
return *m.Data1
}
return ""
}
func (m *CClientMsg_ClientUIEvent) GetData2() string {
if m != nil && m.Data2 != nil {
return *m.Data2
}
return ""
}
func init() {
proto.RegisterType((*CClientMsg_CustomGameEvent)(nil), "dota.CClientMsg_CustomGameEvent")
proto.RegisterType((*CClientMsg_ClientUIEvent)(nil), "dota.CClientMsg_ClientUIEvent")
proto.RegisterEnum("dota.EBaseClientMessages", EBaseClientMessages_name, EBaseClientMessages_value)
proto.RegisterEnum("dota.EClientUIEvent", EClientUIEvent_name, EClientUIEvent_value)
}
func init() { proto.RegisterFile("clientmessages.proto", fileDescriptor2) }
var fileDescriptor2 = []byte{
// 306 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x90, 0x4f, 0x6b, 0xf2, 0x40,
0x10, 0xc6, 0xdd, 0xbc, 0xe6, 0xf0, 0x8e, 0x7f, 0x58, 0x46, 0x6b, 0x53, 0x41, 0xb0, 0x9e, 0xc4,
0x83, 0x50, 0x8f, 0x2d, 0x14, 0x34, 0x8d, 0xad, 0x87, 0xd0, 0x43, 0x29, 0xed, 0x2d, 0x2c, 0xcd,
0xa0, 0x0b, 0xc9, 0x46, 0xdc, 0xd5, 0x73, 0x3f, 0x46, 0xe9, 0xb1, 0xe7, 0x7e, 0xc8, 0xb2, 0xab,
0x14, 0x0d, 0xf4, 0x36, 0xcf, 0xcc, 0x3c, 0x3b, 0xbf, 0x67, 0xa1, 0xfd, 0x96, 0x49, 0x52, 0x26,
0x27, 0xad, 0xc5, 0x92, 0xf4, 0x78, 0xbd, 0x29, 0x4c, 0x81, 0xd5, 0xb4, 0x30, 0x62, 0x70, 0x0b,
0xdd, 0x30, 0x74, 0xe3, 0x58, 0x2f, 0x93, 0x70, 0xab, 0x4d, 0x91, 0xdf, 0x8b, 0x9c, 0xa2, 0x1d,
0x29, 0x83, 0x08, 0x40, 0xb6, 0x48, 0x94, 0xc8, 0x29, 0x60, 0x7d, 0x36, 0xfc, 0x8f, 0x75, 0xa8,
0xa6, 0xc2, 0x88, 0xc0, 0xeb, 0xb3, 0x61, 0x7d, 0xf0, 0xc5, 0x20, 0x38, 0x7e, 0xc0, 0x55, 0xcf,
0x8b, 0xbd, 0xfd, 0x06, 0x7c, 0x67, 0x77, 0xce, 0xe6, 0xa4, 0x3d, 0xb6, 0x27, 0xc7, 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