Blame view

pb/game.pb.go 15.8 KB
7f269318   zhangqijia   add 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
  // Code generated by protoc-gen-go. DO NOT EDIT.
  // versions:
  // 	protoc-gen-go v1.26.0
  // 	protoc        v3.17.3
  // source: game.proto
  
  package pb
  
  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 HeartReq struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  }
  
  func (x *HeartReq) Reset() {
  	*x = HeartReq{}
  	if protoimpl.UnsafeEnabled {
  		mi := &file_game_proto_msgTypes[0]
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *HeartReq) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*HeartReq) ProtoMessage() {}
  
  func (x *HeartReq) ProtoReflect() protoreflect.Message {
  	mi := &file_game_proto_msgTypes[0]
  	if protoimpl.UnsafeEnabled && x != nil {
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		if ms.LoadMessageInfo() == nil {
  			ms.StoreMessageInfo(mi)
  		}
  		return ms
  	}
  	return mi.MessageOf(x)
  }
  
  // Deprecated: Use HeartReq.ProtoReflect.Descriptor instead.
  func (*HeartReq) Descriptor() ([]byte, []int) {
  	return file_game_proto_rawDescGZIP(), []int{0}
  }
  
  func (x *HeartReq) GetCode() int64 {
  	if x != nil {
  		return x.Code
  	}
  	return 0
  }
  
8d983031   zhangqijia   loginReq uid -> t...
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
  type HeartRsp struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  }
  
  func (x *HeartRsp) Reset() {
  	*x = HeartRsp{}
  	if protoimpl.UnsafeEnabled {
  		mi := &file_game_proto_msgTypes[1]
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *HeartRsp) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*HeartRsp) ProtoMessage() {}
  
  func (x *HeartRsp) ProtoReflect() protoreflect.Message {
  	mi := &file_game_proto_msgTypes[1]
  	if protoimpl.UnsafeEnabled && x != nil {
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		if ms.LoadMessageInfo() == nil {
  			ms.StoreMessageInfo(mi)
  		}
  		return ms
  	}
  	return mi.MessageOf(x)
  }
  
  // Deprecated: Use HeartRsp.ProtoReflect.Descriptor instead.
  func (*HeartRsp) Descriptor() ([]byte, []int) {
  	return file_game_proto_rawDescGZIP(), []int{1}
  }
  
  func (x *HeartRsp) GetCode() int64 {
  	if x != nil {
  		return x.Code
  	}
  	return 0
  }
  
7f269318   zhangqijia   add pb.go; 添加关闭连接...
117
118
119
120
121
122
  //ResponseCmd RoleRsp
  type LoginReq struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
436e0af4   zhangqijia   reactor: dir; Ac...
123
  	Token  string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
7f269318   zhangqijia   add pb.go; 添加关闭连接...
124
125
126
127
128
129
  	Device string `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
  }
  
  func (x *LoginReq) Reset() {
  	*x = LoginReq{}
  	if protoimpl.UnsafeEnabled {
8d983031   zhangqijia   loginReq uid -> t...
130
  		mi := &file_game_proto_msgTypes[2]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
131
132
133
134
135
136
137
138
139
140
141
142
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *LoginReq) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*LoginReq) ProtoMessage() {}
  
  func (x *LoginReq) ProtoReflect() protoreflect.Message {
8d983031   zhangqijia   loginReq uid -> t...
143
  	mi := &file_game_proto_msgTypes[2]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
144
145
146
147
148
149
150
151
152
153
154
155
  	if protoimpl.UnsafeEnabled && x != nil {
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		if ms.LoadMessageInfo() == nil {
  			ms.StoreMessageInfo(mi)
  		}
  		return ms
  	}
  	return mi.MessageOf(x)
  }
  
  // Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.
  func (*LoginReq) Descriptor() ([]byte, []int) {
8d983031   zhangqijia   loginReq uid -> t...
156
  	return file_game_proto_rawDescGZIP(), []int{2}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
157
158
  }
  
436e0af4   zhangqijia   reactor: dir; Ac...
159
  func (x *LoginReq) GetToken() string {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
160
  	if x != nil {
436e0af4   zhangqijia   reactor: dir; Ac...
161
  		return x.Token
7f269318   zhangqijia   add pb.go; 添加关闭连接...
162
163
164
165
166
167
168
169
170
171
172
  	}
  	return ""
  }
  
  func (x *LoginReq) GetDevice() string {
  	if x != nil {
  		return x.Device
  	}
  	return ""
  }
  
7f269318   zhangqijia   add pb.go; 添加关闭连接...
173
174
175
176
177
  type CreateReq struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
29a163be   zhangqijia   fix: CreateReq ui...
178
  	Token  string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
7f269318   zhangqijia   add pb.go; 添加关闭连接...
179
180
181
182
183
184
  	Device string `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
  }
  
  func (x *CreateReq) Reset() {
  	*x = CreateReq{}
  	if protoimpl.UnsafeEnabled {
8d983031   zhangqijia   loginReq uid -> t...
185
  		mi := &file_game_proto_msgTypes[3]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
186
187
188
189
190
191
192
193
194
195
196
197
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *CreateReq) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*CreateReq) ProtoMessage() {}
  
  func (x *CreateReq) ProtoReflect() protoreflect.Message {
8d983031   zhangqijia   loginReq uid -> t...
198
  	mi := &file_game_proto_msgTypes[3]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
199
200
201
202
203
204
205
206
207
208
209
210
  	if protoimpl.UnsafeEnabled && x != nil {
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		if ms.LoadMessageInfo() == nil {
  			ms.StoreMessageInfo(mi)
  		}
  		return ms
  	}
  	return mi.MessageOf(x)
  }
  
  // Deprecated: Use CreateReq.ProtoReflect.Descriptor instead.
  func (*CreateReq) Descriptor() ([]byte, []int) {
8d983031   zhangqijia   loginReq uid -> t...
211
  	return file_game_proto_rawDescGZIP(), []int{3}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
212
213
  }
  
29a163be   zhangqijia   fix: CreateReq ui...
214
  func (x *CreateReq) GetToken() string {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
215
  	if x != nil {
29a163be   zhangqijia   fix: CreateReq ui...
216
  		return x.Token
7f269318   zhangqijia   add pb.go; 添加关闭连接...
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
  	}
  	return ""
  }
  
  func (x *CreateReq) GetDevice() string {
  	if x != nil {
  		return x.Device
  	}
  	return ""
  }
  
  type RoleRsp struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
8d983031   zhangqijia   loginReq uid -> t...
233
234
235
  	Role *Role   `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
  	Hero []*Hero `protobuf:"bytes,3,rep,name=hero,proto3" json:"hero,omitempty"`
  	Team []*Team `protobuf:"bytes,4,rep,name=team,proto3" json:"team,omitempty"`
7f269318   zhangqijia   add pb.go; 添加关闭连接...
236
237
238
239
240
  }
  
  func (x *RoleRsp) Reset() {
  	*x = RoleRsp{}
  	if protoimpl.UnsafeEnabled {
8d983031   zhangqijia   loginReq uid -> t...
241
  		mi := &file_game_proto_msgTypes[4]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
242
243
244
245
246
247
248
249
250
251
252
253
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *RoleRsp) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*RoleRsp) ProtoMessage() {}
  
  func (x *RoleRsp) ProtoReflect() protoreflect.Message {
8d983031   zhangqijia   loginReq uid -> t...
254
  	mi := &file_game_proto_msgTypes[4]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
255
256
257
258
259
260
261
262
263
264
265
266
  	if protoimpl.UnsafeEnabled && x != nil {
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		if ms.LoadMessageInfo() == nil {
  			ms.StoreMessageInfo(mi)
  		}
  		return ms
  	}
  	return mi.MessageOf(x)
  }
  
  // Deprecated: Use RoleRsp.ProtoReflect.Descriptor instead.
  func (*RoleRsp) Descriptor() ([]byte, []int) {
8d983031   zhangqijia   loginReq uid -> t...
267
  	return file_game_proto_rawDescGZIP(), []int{4}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
  }
  
  func (x *RoleRsp) GetRole() *Role {
  	if x != nil {
  		return x.Role
  	}
  	return nil
  }
  
  func (x *RoleRsp) GetHero() []*Hero {
  	if x != nil {
  		return x.Hero
  	}
  	return nil
  }
  
8d983031   zhangqijia   loginReq uid -> t...
284
  func (x *RoleRsp) GetTeam() []*Team {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
285
286
287
288
289
290
  	if x != nil {
  		return x.Team
  	}
  	return nil
  }
  
4255fd8e   zhangqijia   feat: 更新字段
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
  type UpdateRolePropertyRsp struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Id   []int32 `protobuf:"varint,1,rep,packed,name=id,proto3" json:"id,omitempty"`
  	Role *Role   `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
  }
  
  func (x *UpdateRolePropertyRsp) Reset() {
  	*x = UpdateRolePropertyRsp{}
  	if protoimpl.UnsafeEnabled {
  		mi := &file_game_proto_msgTypes[5]
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *UpdateRolePropertyRsp) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*UpdateRolePropertyRsp) ProtoMessage() {}
  
  func (x *UpdateRolePropertyRsp) ProtoReflect() protoreflect.Message {
  	mi := &file_game_proto_msgTypes[5]
  	if protoimpl.UnsafeEnabled && x != nil {
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		if ms.LoadMessageInfo() == nil {
  			ms.StoreMessageInfo(mi)
  		}
  		return ms
  	}
  	return mi.MessageOf(x)
  }
  
  // Deprecated: Use UpdateRolePropertyRsp.ProtoReflect.Descriptor instead.
  func (*UpdateRolePropertyRsp) Descriptor() ([]byte, []int) {
  	return file_game_proto_rawDescGZIP(), []int{5}
  }
  
  func (x *UpdateRolePropertyRsp) GetId() []int32 {
  	if x != nil {
  		return x.Id
  	}
  	return nil
  }
  
  func (x *UpdateRolePropertyRsp) GetRole() *Role {
  	if x != nil {
  		return x.Role
  	}
  	return nil
  }
  
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
  type GoIntoBattleReq struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Team []*Team `protobuf:"bytes,1,rep,name=team,proto3" json:"team,omitempty"`
  }
  
  func (x *GoIntoBattleReq) Reset() {
  	*x = GoIntoBattleReq{}
  	if protoimpl.UnsafeEnabled {
  		mi := &file_game_proto_msgTypes[6]
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *GoIntoBattleReq) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*GoIntoBattleReq) ProtoMessage() {}
  
  func (x *GoIntoBattleReq) ProtoReflect() protoreflect.Message {
  	mi := &file_game_proto_msgTypes[6]
  	if protoimpl.UnsafeEnabled && x != nil {
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		if ms.LoadMessageInfo() == nil {
  			ms.StoreMessageInfo(mi)
  		}
  		return ms
  	}
  	return mi.MessageOf(x)
  }
  
  // Deprecated: Use GoIntoBattleReq.ProtoReflect.Descriptor instead.
  func (*GoIntoBattleReq) Descriptor() ([]byte, []int) {
  	return file_game_proto_rawDescGZIP(), []int{6}
  }
  
  func (x *GoIntoBattleReq) GetTeam() []*Team {
  	if x != nil {
  		return x.Team
  	}
  	return nil
  }
  
7f269318   zhangqijia   add pb.go; 添加关闭连接...
393
394
395
396
397
398
399
  var File_game_proto protoreflect.FileDescriptor
  
  var file_game_proto_rawDesc = []byte{
  	0x0a, 0x0a, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x67, 0x61,
  	0x6d, 0x65, 0x1a, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  	0x22, 0x1e, 0x0a, 0x08, 0x48, 0x65, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04,
  	0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
8d983031   zhangqijia   loginReq uid -> t...
400
401
  	0x22, 0x1e, 0x0a, 0x08, 0x48, 0x65, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04,
  	0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
436e0af4   zhangqijia   reactor: dir; Ac...
402
403
404
  	0x22, 0x38, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05,
  	0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b,
  	0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01,
29a163be   zhangqijia   fix: CreateReq ui...
405
406
407
408
409
410
411
412
413
414
415
  	0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x39, 0x0a, 0x09, 0x43, 0x72,
  	0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a,
  	0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64,
  	0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x6f, 0x0a, 0x07, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x73, 0x70,
  	0x12, 0x20, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c,
  	0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f,
  	0x6c, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  	0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04,
  	0x68, 0x65, 0x72, 0x6f, 0x12, 0x20, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x03,
  	0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x54, 0x65, 0x61, 0x6d,
4255fd8e   zhangqijia   feat: 更新字段
416
417
418
419
420
  	0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x22, 0x49, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  	0x52, 0x6f, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x73, 0x70, 0x12,
  	0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12,
  	0x20, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e,
  	0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c,
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
421
422
423
424
425
  	0x65, 0x22, 0x33, 0x0a, 0x0f, 0x47, 0x6f, 0x49, 0x6e, 0x74, 0x6f, 0x42, 0x61, 0x74, 0x74, 0x6c,
  	0x65, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x03,
  	0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x54, 0x65, 0x61, 0x6d,
  	0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, 0x70, 0x62, 0x3b,
  	0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
7f269318   zhangqijia   add pb.go; 添加关闭连接...
426
427
428
429
430
431
432
433
434
435
436
437
438
439
  }
  
  var (
  	file_game_proto_rawDescOnce sync.Once
  	file_game_proto_rawDescData = file_game_proto_rawDesc
  )
  
  func file_game_proto_rawDescGZIP() []byte {
  	file_game_proto_rawDescOnce.Do(func() {
  		file_game_proto_rawDescData = protoimpl.X.CompressGZIP(file_game_proto_rawDescData)
  	})
  	return file_game_proto_rawDescData
  }
  
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
440
  var file_game_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
7f269318   zhangqijia   add pb.go; 添加关闭连接...
441
  var file_game_proto_goTypes = []interface{}{
4255fd8e   zhangqijia   feat: 更新字段
442
443
444
445
446
447
  	(*HeartReq)(nil),              // 0: game.HeartReq
  	(*HeartRsp)(nil),              // 1: game.HeartRsp
  	(*LoginReq)(nil),              // 2: game.LoginReq
  	(*CreateReq)(nil),             // 3: game.CreateReq
  	(*RoleRsp)(nil),               // 4: game.RoleRsp
  	(*UpdateRolePropertyRsp)(nil), // 5: game.UpdateRolePropertyRsp
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
448
449
450
451
  	(*GoIntoBattleReq)(nil),       // 6: game.GoIntoBattleReq
  	(*Role)(nil),                  // 7: models.Role
  	(*Hero)(nil),                  // 8: models.Hero
  	(*Team)(nil),                  // 9: models.Team
7f269318   zhangqijia   add pb.go; 添加关闭连接...
452
453
  }
  var file_game_proto_depIdxs = []int32{
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
454
455
456
457
458
459
460
461
462
463
  	7, // 0: game.RoleRsp.role:type_name -> models.Role
  	8, // 1: game.RoleRsp.hero:type_name -> models.Hero
  	9, // 2: game.RoleRsp.team:type_name -> models.Team
  	7, // 3: game.UpdateRolePropertyRsp.role:type_name -> models.Role
  	9, // 4: game.GoIntoBattleReq.team:type_name -> models.Team
  	5, // [5:5] is the sub-list for method output_type
  	5, // [5:5] is the sub-list for method input_type
  	5, // [5:5] is the sub-list for extension type_name
  	5, // [5:5] is the sub-list for extension extendee
  	0, // [0:5] is the sub-list for field type_name
7f269318   zhangqijia   add pb.go; 添加关闭连接...
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
  }
  
  func init() { file_game_proto_init() }
  func file_game_proto_init() {
  	if File_game_proto != nil {
  		return
  	}
  	file_models_proto_init()
  	if !protoimpl.UnsafeEnabled {
  		file_game_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  			switch v := v.(*HeartReq); i {
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_game_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
8d983031   zhangqijia   loginReq uid -> t...
486
  			switch v := v.(*HeartRsp); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
487
488
489
490
491
492
493
494
495
496
497
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_game_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
8d983031   zhangqijia   loginReq uid -> t...
498
  			switch v := v.(*LoginReq); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
499
500
501
502
503
504
505
506
507
508
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
436e0af4   zhangqijia   reactor: dir; Ac...
509
  		file_game_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
8d983031   zhangqijia   loginReq uid -> t...
510
511
512
513
514
515
516
517
518
519
520
521
  			switch v := v.(*CreateReq); i {
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_game_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
522
523
524
525
526
527
528
529
530
531
532
  			switch v := v.(*RoleRsp); i {
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
4255fd8e   zhangqijia   feat: 更新字段
533
534
535
536
537
538
539
540
541
542
543
544
  		file_game_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  			switch v := v.(*UpdateRolePropertyRsp); i {
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
545
546
547
548
549
550
551
552
553
554
555
556
  		file_game_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  			switch v := v.(*GoIntoBattleReq); i {
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
557
558
559
560
561
562
563
  	}
  	type x struct{}
  	out := protoimpl.TypeBuilder{
  		File: protoimpl.DescBuilder{
  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  			RawDescriptor: file_game_proto_rawDesc,
  			NumEnums:      0,
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
564
  			NumMessages:   7,
7f269318   zhangqijia   add pb.go; 添加关闭连接...
565
566
567
568
569
570
571
572
573
574
575
576
  			NumExtensions: 0,
  			NumServices:   0,
  		},
  		GoTypes:           file_game_proto_goTypes,
  		DependencyIndexes: file_game_proto_depIdxs,
  		MessageInfos:      file_game_proto_msgTypes,
  	}.Build()
  	File_game_proto = out.File
  	file_game_proto_rawDesc = nil
  	file_game_proto_goTypes = nil
  	file_game_proto_depIdxs = nil
  }