Blame view

pb/game.pb.go 42.2 KB
7f269318   zhangqijia   add pb.go; 添加关闭连接...
1
2
  // Code generated by protoc-gen-go. DO NOT EDIT.
  // versions:
f74e34e3   zhangqijia   fix: 批量删除装备
3
4
  // 	protoc-gen-go v1.28.0
  // 	protoc        v3.8.0
7f269318   zhangqijia   add pb.go; 添加关闭连接...
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  // 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)
  )
  
a24dea4c   zhangqijia   fix: id自增做了写更新。阵容...
23
  //ResponseCmd HeartRsp
7f269318   zhangqijia   add pb.go; 添加关闭连接...
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
  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...
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
  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; 添加关闭连接...
118
119
120
121
122
123
  //ResponseCmd RoleRsp
  type LoginReq struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
436e0af4   zhangqijia   reactor: dir; Ac...
124
  	Token  string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
7f269318   zhangqijia   add pb.go; 添加关闭连接...
125
126
127
128
129
130
  	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...
131
  		mi := &file_game_proto_msgTypes[2]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
132
133
134
135
136
137
138
139
140
141
142
143
  		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...
144
  	mi := &file_game_proto_msgTypes[2]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
145
146
147
148
149
150
151
152
153
154
155
156
  	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...
157
  	return file_game_proto_rawDescGZIP(), []int{2}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
158
159
  }
  
436e0af4   zhangqijia   reactor: dir; Ac...
160
  func (x *LoginReq) GetToken() string {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
161
  	if x != nil {
436e0af4   zhangqijia   reactor: dir; Ac...
162
  		return x.Token
7f269318   zhangqijia   add pb.go; 添加关闭连接...
163
164
165
166
167
168
169
170
171
172
173
  	}
  	return ""
  }
  
  func (x *LoginReq) GetDevice() string {
  	if x != nil {
  		return x.Device
  	}
  	return ""
  }
  
a24dea4c   zhangqijia   fix: id自增做了写更新。阵容...
174
  //ResponseCmd CreateReq
7f269318   zhangqijia   add pb.go; 添加关闭连接...
175
176
177
178
179
  type CreateReq struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
29a163be   zhangqijia   fix: CreateReq ui...
180
  	Token  string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
7f269318   zhangqijia   add pb.go; 添加关闭连接...
181
182
183
184
185
186
  	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...
187
  		mi := &file_game_proto_msgTypes[3]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
188
189
190
191
192
193
194
195
196
197
198
199
  		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...
200
  	mi := &file_game_proto_msgTypes[3]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
201
202
203
204
205
206
207
208
209
210
211
212
  	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...
213
  	return file_game_proto_rawDescGZIP(), []int{3}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
214
215
  }
  
29a163be   zhangqijia   fix: CreateReq ui...
216
  func (x *CreateReq) GetToken() string {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
217
  	if x != nil {
29a163be   zhangqijia   fix: CreateReq ui...
218
  		return x.Token
7f269318   zhangqijia   add pb.go; 添加关闭连接...
219
220
221
222
223
224
225
226
227
228
229
  	}
  	return ""
  }
  
  func (x *CreateReq) GetDevice() string {
  	if x != nil {
  		return x.Device
  	}
  	return ""
  }
  
495e9142   zhangqijia   fix: 增加DisConnect...
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
  type DisConnectRsp struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  }
  
  func (x *DisConnectRsp) Reset() {
  	*x = DisConnectRsp{}
  	if protoimpl.UnsafeEnabled {
  		mi := &file_game_proto_msgTypes[4]
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *DisConnectRsp) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*DisConnectRsp) ProtoMessage() {}
  
  func (x *DisConnectRsp) ProtoReflect() protoreflect.Message {
  	mi := &file_game_proto_msgTypes[4]
  	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 DisConnectRsp.ProtoReflect.Descriptor instead.
  func (*DisConnectRsp) Descriptor() ([]byte, []int) {
  	return file_game_proto_rawDescGZIP(), []int{4}
  }
  
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
268
  //ResponseCmd ChangeTeamReq
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
269
  type ChangeTeamReq struct {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
270
271
272
273
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
274
  	Team []*Team `protobuf:"bytes,1,rep,name=team,proto3" json:"team,omitempty"`
7f269318   zhangqijia   add pb.go; 添加关闭连接...
275
276
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
277
278
  func (x *ChangeTeamReq) Reset() {
  	*x = ChangeTeamReq{}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
279
  	if protoimpl.UnsafeEnabled {
495e9142   zhangqijia   fix: 增加DisConnect...
280
  		mi := &file_game_proto_msgTypes[5]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
281
282
283
284
285
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
286
  func (x *ChangeTeamReq) String() string {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
287
288
289
  	return protoimpl.X.MessageStringOf(x)
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
290
  func (*ChangeTeamReq) ProtoMessage() {}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
291
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
292
  func (x *ChangeTeamReq) ProtoReflect() protoreflect.Message {
495e9142   zhangqijia   fix: 增加DisConnect...
293
  	mi := &file_game_proto_msgTypes[5]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
294
295
296
297
298
299
300
301
302
303
  	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)
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
304
305
  // Deprecated: Use ChangeTeamReq.ProtoReflect.Descriptor instead.
  func (*ChangeTeamReq) Descriptor() ([]byte, []int) {
495e9142   zhangqijia   fix: 增加DisConnect...
306
  	return file_game_proto_rawDescGZIP(), []int{5}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
307
308
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
309
  func (x *ChangeTeamReq) GetTeam() []*Team {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
310
311
312
313
314
315
  	if x != nil {
  		return x.Team
  	}
  	return nil
  }
  
4e75670c   zhangqijia   fix: 首次通关记录到数据库
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
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
  type EquipInfo struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	EquipId string `protobuf:"bytes,1,opt,name=equipId,proto3" json:"equipId,omitempty"`
  	Pos     int32  `protobuf:"varint,2,opt,name=pos,proto3" json:"pos,omitempty"`
  }
  
  func (x *EquipInfo) Reset() {
  	*x = EquipInfo{}
  	if protoimpl.UnsafeEnabled {
  		mi := &file_game_proto_msgTypes[6]
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *EquipInfo) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*EquipInfo) ProtoMessage() {}
  
  func (x *EquipInfo) 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 EquipInfo.ProtoReflect.Descriptor instead.
  func (*EquipInfo) Descriptor() ([]byte, []int) {
  	return file_game_proto_rawDescGZIP(), []int{6}
  }
  
  func (x *EquipInfo) GetEquipId() string {
  	if x != nil {
  		return x.EquipId
  	}
  	return ""
  }
  
  func (x *EquipInfo) GetPos() int32 {
  	if x != nil {
  		return x.Pos
  	}
  	return 0
  }
  
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
371
372
373
374
375
376
  //ResponseCmd HeroEquipReferReq
  type HeroEquipReferReq struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
4e75670c   zhangqijia   fix: 首次通关记录到数据库
377
378
379
  	EquipIds []*EquipInfo `protobuf:"bytes,1,rep,name=equipIds,proto3" json:"equipIds,omitempty"`
  	HeroId   string       `protobuf:"bytes,2,opt,name=hero_id,json=heroId,proto3" json:"hero_id,omitempty"`
  	Refer    bool         `protobuf:"varint,3,opt,name=refer,proto3" json:"refer,omitempty"` //true 穿戴, false 脱下
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
380
381
382
383
384
  }
  
  func (x *HeroEquipReferReq) Reset() {
  	*x = HeroEquipReferReq{}
  	if protoimpl.UnsafeEnabled {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
385
  		mi := &file_game_proto_msgTypes[7]
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
386
387
388
389
390
391
392
393
394
395
396
397
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *HeroEquipReferReq) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*HeroEquipReferReq) ProtoMessage() {}
  
  func (x *HeroEquipReferReq) ProtoReflect() protoreflect.Message {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
398
  	mi := &file_game_proto_msgTypes[7]
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
399
400
401
402
403
404
405
406
407
408
409
410
  	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 HeroEquipReferReq.ProtoReflect.Descriptor instead.
  func (*HeroEquipReferReq) Descriptor() ([]byte, []int) {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
411
  	return file_game_proto_rawDescGZIP(), []int{7}
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
412
413
  }
  
4e75670c   zhangqijia   fix: 首次通关记录到数据库
414
  func (x *HeroEquipReferReq) GetEquipIds() []*EquipInfo {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
415
  	if x != nil {
98cfa13a   zhangqijia   fix: 批量穿戴裝備
416
  		return x.EquipIds
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
417
  	}
98cfa13a   zhangqijia   fix: 批量穿戴裝備
418
  	return nil
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
  }
  
  func (x *HeroEquipReferReq) GetHeroId() string {
  	if x != nil {
  		return x.HeroId
  	}
  	return ""
  }
  
  func (x *HeroEquipReferReq) GetRefer() bool {
  	if x != nil {
  		return x.Refer
  	}
  	return false
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
435
  type RoleRsp struct {
4255fd8e   zhangqijia   feat: 更新字段
436
437
438
439
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
440
441
442
443
  	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"`
  	Equipments []*Equipment `protobuf:"bytes,5,rep,name=equipments,proto3" json:"equipments,omitempty"`
4255fd8e   zhangqijia   feat: 更新字段
444
445
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
446
447
  func (x *RoleRsp) Reset() {
  	*x = RoleRsp{}
4255fd8e   zhangqijia   feat: 更新字段
448
  	if protoimpl.UnsafeEnabled {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
449
  		mi := &file_game_proto_msgTypes[8]
4255fd8e   zhangqijia   feat: 更新字段
450
451
452
453
454
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
455
  func (x *RoleRsp) String() string {
4255fd8e   zhangqijia   feat: 更新字段
456
457
458
  	return protoimpl.X.MessageStringOf(x)
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
459
  func (*RoleRsp) ProtoMessage() {}
4255fd8e   zhangqijia   feat: 更新字段
460
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
461
  func (x *RoleRsp) ProtoReflect() protoreflect.Message {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
462
  	mi := &file_game_proto_msgTypes[8]
4255fd8e   zhangqijia   feat: 更新字段
463
464
465
466
467
468
469
470
471
472
  	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)
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
473
474
  // Deprecated: Use RoleRsp.ProtoReflect.Descriptor instead.
  func (*RoleRsp) Descriptor() ([]byte, []int) {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
475
  	return file_game_proto_rawDescGZIP(), []int{8}
4255fd8e   zhangqijia   feat: 更新字段
476
477
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
478
  func (x *RoleRsp) GetRole() *Role {
4255fd8e   zhangqijia   feat: 更新字段
479
  	if x != nil {
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
480
  		return x.Role
4255fd8e   zhangqijia   feat: 更新字段
481
482
483
484
  	}
  	return nil
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
485
  func (x *RoleRsp) GetHero() []*Hero {
4255fd8e   zhangqijia   feat: 更新字段
486
  	if x != nil {
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
487
  		return x.Hero
4255fd8e   zhangqijia   feat: 更新字段
488
489
490
491
  	}
  	return nil
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
492
493
494
495
496
497
498
  func (x *RoleRsp) GetTeam() []*Team {
  	if x != nil {
  		return x.Team
  	}
  	return nil
  }
  
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
499
500
501
502
503
504
505
  func (x *RoleRsp) GetEquipments() []*Equipment {
  	if x != nil {
  		return x.Equipments
  	}
  	return nil
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
506
507
  //ResponseCmd RoleUpdatePropertyRsp
  type RoleUpdatePropertyRsp struct {
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
508
509
510
511
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
512
513
  	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"`
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
514
515
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
516
517
  func (x *RoleUpdatePropertyRsp) Reset() {
  	*x = RoleUpdatePropertyRsp{}
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
518
  	if protoimpl.UnsafeEnabled {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
519
  		mi := &file_game_proto_msgTypes[9]
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
520
521
522
523
524
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
525
  func (x *RoleUpdatePropertyRsp) String() string {
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
526
527
528
  	return protoimpl.X.MessageStringOf(x)
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
529
  func (*RoleUpdatePropertyRsp) ProtoMessage() {}
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
530
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
531
  func (x *RoleUpdatePropertyRsp) ProtoReflect() protoreflect.Message {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
532
  	mi := &file_game_proto_msgTypes[9]
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
533
534
535
536
537
538
539
540
541
542
  	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)
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
543
544
  // Deprecated: Use RoleUpdatePropertyRsp.ProtoReflect.Descriptor instead.
  func (*RoleUpdatePropertyRsp) Descriptor() ([]byte, []int) {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
545
  	return file_game_proto_rawDescGZIP(), []int{9}
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
546
547
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
548
  func (x *RoleUpdatePropertyRsp) GetId() []int32 {
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
549
  	if x != nil {
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
550
551
552
553
554
555
556
557
  		return x.Id
  	}
  	return nil
  }
  
  func (x *RoleUpdatePropertyRsp) GetRole() *Role {
  	if x != nil {
  		return x.Role
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
558
559
560
561
  	}
  	return nil
  }
  
30e6d227   zhangqijia   fix: add nty
562
563
  //ResponseCmd RoleUpdateItemsNty
  type RoleUpdateItemsNty struct {
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
564
565
566
567
568
569
570
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Items string `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"`
  }
  
30e6d227   zhangqijia   fix: add nty
571
572
  func (x *RoleUpdateItemsNty) Reset() {
  	*x = RoleUpdateItemsNty{}
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
573
  	if protoimpl.UnsafeEnabled {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
574
  		mi := &file_game_proto_msgTypes[10]
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
575
576
577
578
579
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
30e6d227   zhangqijia   fix: add nty
580
  func (x *RoleUpdateItemsNty) String() string {
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
581
582
583
  	return protoimpl.X.MessageStringOf(x)
  }
  
30e6d227   zhangqijia   fix: add nty
584
  func (*RoleUpdateItemsNty) ProtoMessage() {}
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
585
  
30e6d227   zhangqijia   fix: add nty
586
  func (x *RoleUpdateItemsNty) ProtoReflect() protoreflect.Message {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
587
  	mi := &file_game_proto_msgTypes[10]
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
588
589
590
591
592
593
594
595
596
597
  	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)
  }
  
30e6d227   zhangqijia   fix: add nty
598
599
  // Deprecated: Use RoleUpdateItemsNty.ProtoReflect.Descriptor instead.
  func (*RoleUpdateItemsNty) Descriptor() ([]byte, []int) {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
600
  	return file_game_proto_rawDescGZIP(), []int{10}
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
601
602
  }
  
30e6d227   zhangqijia   fix: add nty
603
  func (x *RoleUpdateItemsNty) GetItems() string {
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
604
605
606
607
608
609
  	if x != nil {
  		return x.Items
  	}
  	return ""
  }
  
4a502dd5   zhangqijia   fix: game,account...
610
  //ResponseCmd RoleClearItemsReq
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
611
  type RoleClearItemsReq struct {
c8509ef6   zhangqijia   fix: notify equip...
612
613
614
615
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
c99d59cc   zhangqijia   fix: 批量删除物品
616
  	Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
c8509ef6   zhangqijia   fix: notify equip...
617
618
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
619
620
  func (x *RoleClearItemsReq) Reset() {
  	*x = RoleClearItemsReq{}
c8509ef6   zhangqijia   fix: notify equip...
621
  	if protoimpl.UnsafeEnabled {
18cbcf53   zhangqijia   feat: 英雄升级
622
  		mi := &file_game_proto_msgTypes[11]
c8509ef6   zhangqijia   fix: notify equip...
623
624
625
626
627
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
628
  func (x *RoleClearItemsReq) String() string {
c8509ef6   zhangqijia   fix: notify equip...
629
630
631
  	return protoimpl.X.MessageStringOf(x)
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
632
  func (*RoleClearItemsReq) ProtoMessage() {}
c8509ef6   zhangqijia   fix: notify equip...
633
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
634
  func (x *RoleClearItemsReq) ProtoReflect() protoreflect.Message {
18cbcf53   zhangqijia   feat: 英雄升级
635
  	mi := &file_game_proto_msgTypes[11]
c8509ef6   zhangqijia   fix: notify equip...
636
637
638
639
640
641
642
643
644
645
  	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)
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
646
647
  // Deprecated: Use RoleClearItemsReq.ProtoReflect.Descriptor instead.
  func (*RoleClearItemsReq) Descriptor() ([]byte, []int) {
18cbcf53   zhangqijia   feat: 英雄升级
648
  	return file_game_proto_rawDescGZIP(), []int{11}
c8509ef6   zhangqijia   fix: notify equip...
649
650
  }
  
c99d59cc   zhangqijia   fix: 批量删除物品
651
  func (x *RoleClearItemsReq) GetItems() []string {
c8509ef6   zhangqijia   fix: notify equip...
652
  	if x != nil {
c99d59cc   zhangqijia   fix: 批量删除物品
653
  		return x.Items
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
654
  	}
c99d59cc   zhangqijia   fix: 批量删除物品
655
  	return nil
c8509ef6   zhangqijia   fix: notify equip...
656
657
  }
  
ddc88bac   zhangqijia   fix: 记录战斗
658
659
660
661
662
663
664
665
666
667
668
669
  type RoleStartBattleReq struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	ChapterId int32 `protobuf:"varint,1,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"`
  	CarbonId  int32 `protobuf:"varint,2,opt,name=carbon_id,json=carbonId,proto3" json:"carbon_id,omitempty"`
  }
  
  func (x *RoleStartBattleReq) Reset() {
  	*x = RoleStartBattleReq{}
  	if protoimpl.UnsafeEnabled {
18cbcf53   zhangqijia   feat: 英雄升级
670
  		mi := &file_game_proto_msgTypes[12]
ddc88bac   zhangqijia   fix: 记录战斗
671
672
673
674
675
676
677
678
679
680
681
682
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *RoleStartBattleReq) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*RoleStartBattleReq) ProtoMessage() {}
  
  func (x *RoleStartBattleReq) ProtoReflect() protoreflect.Message {
18cbcf53   zhangqijia   feat: 英雄升级
683
  	mi := &file_game_proto_msgTypes[12]
ddc88bac   zhangqijia   fix: 记录战斗
684
685
686
687
688
689
690
691
692
693
694
695
  	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 RoleStartBattleReq.ProtoReflect.Descriptor instead.
  func (*RoleStartBattleReq) Descriptor() ([]byte, []int) {
18cbcf53   zhangqijia   feat: 英雄升级
696
  	return file_game_proto_rawDescGZIP(), []int{12}
ddc88bac   zhangqijia   fix: 记录战斗
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
  }
  
  func (x *RoleStartBattleReq) GetChapterId() int32 {
  	if x != nil {
  		return x.ChapterId
  	}
  	return 0
  }
  
  func (x *RoleStartBattleReq) GetCarbonId() int32 {
  	if x != nil {
  		return x.CarbonId
  	}
  	return 0
  }
  
495e9142   zhangqijia   fix: 增加DisConnect...
713
  //ResponseCmd RoleEndBattleRsp
ddc88bac   zhangqijia   fix: 记录战斗
714
715
716
717
718
  type RoleEndBattleReq struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
92256e32   zhangqijia   fix: 结束战斗的协议加上队伍id
719
720
721
722
  	ChapterId int32  `protobuf:"varint,1,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"`
  	CarbonId  int32  `protobuf:"varint,2,opt,name=carbon_id,json=carbonId,proto3" json:"carbon_id,omitempty"`
  	Pass      bool   `protobuf:"varint,3,opt,name=pass,proto3" json:"pass,omitempty"`
  	TeamId    string `protobuf:"bytes,4,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
ddc88bac   zhangqijia   fix: 记录战斗
723
724
725
726
727
  }
  
  func (x *RoleEndBattleReq) Reset() {
  	*x = RoleEndBattleReq{}
  	if protoimpl.UnsafeEnabled {
18cbcf53   zhangqijia   feat: 英雄升级
728
  		mi := &file_game_proto_msgTypes[13]
ddc88bac   zhangqijia   fix: 记录战斗
729
730
731
732
733
734
735
736
737
738
739
740
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *RoleEndBattleReq) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*RoleEndBattleReq) ProtoMessage() {}
  
  func (x *RoleEndBattleReq) ProtoReflect() protoreflect.Message {
18cbcf53   zhangqijia   feat: 英雄升级
741
  	mi := &file_game_proto_msgTypes[13]
ddc88bac   zhangqijia   fix: 记录战斗
742
743
744
745
746
747
748
749
750
751
752
753
  	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 RoleEndBattleReq.ProtoReflect.Descriptor instead.
  func (*RoleEndBattleReq) Descriptor() ([]byte, []int) {
18cbcf53   zhangqijia   feat: 英雄升级
754
  	return file_game_proto_rawDescGZIP(), []int{13}
ddc88bac   zhangqijia   fix: 记录战斗
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
  }
  
  func (x *RoleEndBattleReq) GetChapterId() int32 {
  	if x != nil {
  		return x.ChapterId
  	}
  	return 0
  }
  
  func (x *RoleEndBattleReq) GetCarbonId() int32 {
  	if x != nil {
  		return x.CarbonId
  	}
  	return 0
  }
  
  func (x *RoleEndBattleReq) GetPass() bool {
  	if x != nil {
  		return x.Pass
  	}
  	return false
  }
  
92256e32   zhangqijia   fix: 结束战斗的协议加上队伍id
778
779
780
781
782
783
784
785
  func (x *RoleEndBattleReq) GetTeamId() string {
  	if x != nil {
  		return x.TeamId
  	}
  	return ""
  }
  
  //ResponseCmd RoleEndBattleRsp
ddc88bac   zhangqijia   fix: 记录战斗
786
787
788
789
790
  type RoleEndBattleRsp struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
4e56b6c4   zhangqijia   fix: update
791
792
793
794
795
796
  	RoleLevel     int32   `protobuf:"varint,1,opt,name=role_level,json=roleLevel,proto3" json:"role_level,omitempty"`
  	RoleExp       int32   `protobuf:"varint,2,opt,name=role_exp,json=roleExp,proto3" json:"role_exp,omitempty"`
  	RoleExpamount int32   `protobuf:"varint,3,opt,name=role_expamount,json=roleExpamount,proto3" json:"role_expamount,omitempty"`
  	Reward        string  `protobuf:"bytes,4,opt,name=reward,proto3" json:"reward,omitempty"`
  	Pass          bool    `protobuf:"varint,5,opt,name=pass,proto3" json:"pass,omitempty"`
  	Hero          []*Hero `protobuf:"bytes,6,rep,name=hero,proto3" json:"hero,omitempty"`
ddc88bac   zhangqijia   fix: 记录战斗
797
798
799
800
801
  }
  
  func (x *RoleEndBattleRsp) Reset() {
  	*x = RoleEndBattleRsp{}
  	if protoimpl.UnsafeEnabled {
18cbcf53   zhangqijia   feat: 英雄升级
802
  		mi := &file_game_proto_msgTypes[14]
ddc88bac   zhangqijia   fix: 记录战斗
803
804
805
806
807
808
809
810
811
812
813
814
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *RoleEndBattleRsp) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*RoleEndBattleRsp) ProtoMessage() {}
  
  func (x *RoleEndBattleRsp) ProtoReflect() protoreflect.Message {
18cbcf53   zhangqijia   feat: 英雄升级
815
  	mi := &file_game_proto_msgTypes[14]
ddc88bac   zhangqijia   fix: 记录战斗
816
817
818
819
820
821
822
823
824
825
826
827
  	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 RoleEndBattleRsp.ProtoReflect.Descriptor instead.
  func (*RoleEndBattleRsp) Descriptor() ([]byte, []int) {
18cbcf53   zhangqijia   feat: 英雄升级
828
  	return file_game_proto_rawDescGZIP(), []int{14}
ddc88bac   zhangqijia   fix: 记录战斗
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
  }
  
  func (x *RoleEndBattleRsp) GetRoleLevel() int32 {
  	if x != nil {
  		return x.RoleLevel
  	}
  	return 0
  }
  
  func (x *RoleEndBattleRsp) GetRoleExp() int32 {
  	if x != nil {
  		return x.RoleExp
  	}
  	return 0
  }
  
4e56b6c4   zhangqijia   fix: update
845
  func (x *RoleEndBattleRsp) GetRoleExpamount() int32 {
ddc88bac   zhangqijia   fix: 记录战斗
846
  	if x != nil {
4e56b6c4   zhangqijia   fix: update
847
  		return x.RoleExpamount
ddc88bac   zhangqijia   fix: 记录战斗
848
  	}
4e56b6c4   zhangqijia   fix: update
849
  	return 0
ddc88bac   zhangqijia   fix: 记录战斗
850
851
852
853
854
855
856
857
858
  }
  
  func (x *RoleEndBattleRsp) GetReward() string {
  	if x != nil {
  		return x.Reward
  	}
  	return ""
  }
  
4e56b6c4   zhangqijia   fix: update
859
860
861
862
863
864
865
866
867
868
869
870
871
872
  func (x *RoleEndBattleRsp) GetPass() bool {
  	if x != nil {
  		return x.Pass
  	}
  	return false
  }
  
  func (x *RoleEndBattleRsp) GetHero() []*Hero {
  	if x != nil {
  		return x.Hero
  	}
  	return nil
  }
  
4a502dd5   zhangqijia   fix: game,account...
873
  //ResponseCmd EquipmentDelReq
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
874
  type EquipmentDelReq struct {
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
875
876
877
878
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
f74e34e3   zhangqijia   fix: 批量删除装备
879
  	Id []string `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"`
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
880
881
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
882
883
  func (x *EquipmentDelReq) Reset() {
  	*x = EquipmentDelReq{}
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
884
  	if protoimpl.UnsafeEnabled {
18cbcf53   zhangqijia   feat: 英雄升级
885
  		mi := &file_game_proto_msgTypes[15]
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
886
887
888
889
890
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
891
  func (x *EquipmentDelReq) String() string {
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
892
893
894
  	return protoimpl.X.MessageStringOf(x)
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
895
  func (*EquipmentDelReq) ProtoMessage() {}
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
896
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
897
  func (x *EquipmentDelReq) ProtoReflect() protoreflect.Message {
18cbcf53   zhangqijia   feat: 英雄升级
898
  	mi := &file_game_proto_msgTypes[15]
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
899
900
901
902
903
904
905
906
907
908
  	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)
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
909
910
  // Deprecated: Use EquipmentDelReq.ProtoReflect.Descriptor instead.
  func (*EquipmentDelReq) Descriptor() ([]byte, []int) {
18cbcf53   zhangqijia   feat: 英雄升级
911
  	return file_game_proto_rawDescGZIP(), []int{15}
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
912
913
  }
  
f74e34e3   zhangqijia   fix: 批量删除装备
914
  func (x *EquipmentDelReq) GetId() []string {
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
915
916
917
  	if x != nil {
  		return x.Id
  	}
f74e34e3   zhangqijia   fix: 批量删除装备
918
  	return nil
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
919
920
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
921
922
923
924
925
926
927
928
929
930
931
932
  //ResponseCmd EquipmentAddRsp
  type EquipmentAddRsp struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Equip *Equipment `protobuf:"bytes,1,opt,name=equip,proto3" json:"equip,omitempty"`
  }
  
  func (x *EquipmentAddRsp) Reset() {
  	*x = EquipmentAddRsp{}
  	if protoimpl.UnsafeEnabled {
18cbcf53   zhangqijia   feat: 英雄升级
933
  		mi := &file_game_proto_msgTypes[16]
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
934
935
936
937
938
939
940
941
942
943
944
945
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *EquipmentAddRsp) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*EquipmentAddRsp) ProtoMessage() {}
  
  func (x *EquipmentAddRsp) ProtoReflect() protoreflect.Message {
18cbcf53   zhangqijia   feat: 英雄升级
946
  	mi := &file_game_proto_msgTypes[16]
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
947
948
949
950
951
952
953
954
955
956
957
958
  	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 EquipmentAddRsp.ProtoReflect.Descriptor instead.
  func (*EquipmentAddRsp) Descriptor() ([]byte, []int) {
18cbcf53   zhangqijia   feat: 英雄升级
959
  	return file_game_proto_rawDescGZIP(), []int{16}
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
960
961
962
963
964
965
966
967
968
  }
  
  func (x *EquipmentAddRsp) GetEquip() *Equipment {
  	if x != nil {
  		return x.Equip
  	}
  	return nil
  }
  
2e0d2609   zhangqijia   fix: 英雄升级返回值+prot...
969
  //ResponseCmd HeroUpLevelRsp
18cbcf53   zhangqijia   feat: 英雄升级
970
971
972
973
974
975
  type HeroUpLevelReq struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	HeroId string `protobuf:"bytes,1,opt,name=heroId,proto3" json:"heroId,omitempty"`
c8e2cc53   zhangqijia   fix: 英雄升级,经验书批量操作
976
  	Items  string `protobuf:"bytes,2,opt,name=items,proto3" json:"items,omitempty"` // [itemId1=count1, itemId2=count2]
18cbcf53   zhangqijia   feat: 英雄升级
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
  }
  
  func (x *HeroUpLevelReq) Reset() {
  	*x = HeroUpLevelReq{}
  	if protoimpl.UnsafeEnabled {
  		mi := &file_game_proto_msgTypes[17]
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *HeroUpLevelReq) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*HeroUpLevelReq) ProtoMessage() {}
  
  func (x *HeroUpLevelReq) ProtoReflect() protoreflect.Message {
  	mi := &file_game_proto_msgTypes[17]
  	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 HeroUpLevelReq.ProtoReflect.Descriptor instead.
  func (*HeroUpLevelReq) Descriptor() ([]byte, []int) {
  	return file_game_proto_rawDescGZIP(), []int{17}
  }
  
  func (x *HeroUpLevelReq) GetHeroId() string {
  	if x != nil {
  		return x.HeroId
  	}
  	return ""
  }
  
c8e2cc53   zhangqijia   fix: 英雄升级,经验书批量操作
1018
  func (x *HeroUpLevelReq) GetItems() string {
18cbcf53   zhangqijia   feat: 英雄升级
1019
  	if x != nil {
c8e2cc53   zhangqijia   fix: 英雄升级,经验书批量操作
1020
  		return x.Items
18cbcf53   zhangqijia   feat: 英雄升级
1021
  	}
c8e2cc53   zhangqijia   fix: 英雄升级,经验书批量操作
1022
  	return ""
18cbcf53   zhangqijia   feat: 英雄升级
1023
1024
  }
  
2e0d2609   zhangqijia   fix: 英雄升级返回值+prot...
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
  type HeroUpLevelRsp struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Hero *Hero `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero,omitempty"`
  }
  
  func (x *HeroUpLevelRsp) Reset() {
  	*x = HeroUpLevelRsp{}
  	if protoimpl.UnsafeEnabled {
  		mi := &file_game_proto_msgTypes[18]
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *HeroUpLevelRsp) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*HeroUpLevelRsp) ProtoMessage() {}
  
  func (x *HeroUpLevelRsp) ProtoReflect() protoreflect.Message {
  	mi := &file_game_proto_msgTypes[18]
  	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 HeroUpLevelRsp.ProtoReflect.Descriptor instead.
  func (*HeroUpLevelRsp) Descriptor() ([]byte, []int) {
  	return file_game_proto_rawDescGZIP(), []int{18}
  }
  
  func (x *HeroUpLevelRsp) GetHero() *Hero {
  	if x != nil {
  		return x.Hero
  	}
  	return nil
  }
  
7f269318   zhangqijia   add pb.go; 添加关闭连接...
1072
1073
1074
1075
1076
1077
1078
  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...
1079
1080
  	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...
1081
1082
1083
  	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...
1084
1085
1086
1087
  	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,
495e9142   zhangqijia   fix: 增加DisConnect...
1088
1089
1090
1091
  	0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x44, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x6e,
  	0x65, 0x63, 0x74, 0x52, 0x73, 0x70, 0x22, 0x31, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
  	0x54, 0x65, 0x61, 0x6d, 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,
4e75670c   zhangqijia   fix: 首次通关记录到数据库
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
  	0x65, 0x61, 0x6d, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x22, 0x37, 0x0a, 0x09, 0x45, 0x71, 0x75,
  	0x69, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x71, 0x75, 0x69, 0x70, 0x49,
  	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x71, 0x75, 0x69, 0x70, 0x49, 0x64,
  	0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70,
  	0x6f, 0x73, 0x22, 0x6f, 0x0a, 0x11, 0x48, 0x65, 0x72, 0x6f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52,
  	0x65, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x2b, 0x0a, 0x08, 0x65, 0x71, 0x75, 0x69, 0x70,
  	0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65,
  	0x2e, 0x45, 0x71, 0x75, 0x69, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x65, 0x71, 0x75, 0x69,
  	0x70, 0x49, 0x64, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69, 0x64, 0x18,
  	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x12, 0x14, 0x0a,
  	0x05, 0x72, 0x65, 0x66, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65,
  	0x66, 0x65, 0x72, 0x22, 0xa2, 0x01, 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, 0x52,
  	0x04, 0x74, 0x65, 0x61, 0x6d, 0x12, 0x31, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65,
  	0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x6f, 0x64, 0x65,
  	0x6c, 0x73, 0x2e, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x65, 0x71,
  	0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x15, 0x52, 0x6f, 0x6c, 0x65,
  	0x55, 0x70, 0x64, 0x61, 0x74, 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, 0x65, 0x22, 0x2a, 0x0a, 0x12, 0x52, 0x6f, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74,
30e6d227   zhangqijia   fix: add nty
1119
  	0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x4e, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65,
4e75670c   zhangqijia   fix: 首次通关记录到数据库
1120
  	0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22,
18cbcf53   zhangqijia   feat: 英雄升级
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
  	0x29, 0x0a, 0x11, 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x49, 0x74, 0x65, 0x6d,
  	0x73, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20,
  	0x03, 0x28, 0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x50, 0x0a, 0x12, 0x52, 0x6f,
  	0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x71,
  	0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01,
  	0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12,
  	0x1b, 0x0a, 0x09, 0x63, 0x61, 0x72, 0x62, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
  	0x28, 0x05, 0x52, 0x08, 0x63, 0x61, 0x72, 0x62, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x10,
  	0x52, 0x6f, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x71,
  	0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01,
  	0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12,
  	0x1b, 0x0a, 0x09, 0x63, 0x61, 0x72, 0x62, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
  	0x28, 0x05, 0x52, 0x08, 0x63, 0x61, 0x72, 0x62, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04,
  	0x70, 0x61, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x61, 0x73, 0x73,
  	0x12, 0x17, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
  	0x09, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x22, 0xc1, 0x01, 0x0a, 0x10, 0x52, 0x6f,
  	0x6c, 0x65, 0x45, 0x6e, 0x64, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1d,
  	0x0a, 0x0a, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01,
  	0x28, 0x05, 0x52, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a,
  	0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
  	0x07, 0x72, 0x6f, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x6f, 0x6c, 0x65,
  	0x5f, 0x65, 0x78, 0x70, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
  	0x52, 0x0d, 0x72, 0x6f, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
  	0x16, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  	0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18,
  	0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x61, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x04, 0x68,
  	0x65, 0x72, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65,
  	0x6c, 0x73, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x22, 0x21, 0x0a,
  	0x0f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x71,
  	0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
  	0x22, 0x3a, 0x0a, 0x0f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64,
  	0x52, 0x73, 0x70, 0x12, 0x27, 0x0a, 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01,
  	0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x45, 0x71, 0x75, 0x69,
c8e2cc53   zhangqijia   fix: 英雄升级,经验书批量操作
1154
  	0x70, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 0x22, 0x3e, 0x0a, 0x0e,
18cbcf53   zhangqijia   feat: 英雄升级
1155
1156
  	0x48, 0x65, 0x72, 0x6f, 0x55, 0x70, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x16,
  	0x0a, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
c8e2cc53   zhangqijia   fix: 英雄升级,经验书批量操作
1157
  	0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18,
2e0d2609   zhangqijia   fix: 英雄升级返回值+prot...
1158
1159
1160
1161
1162
1163
  	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x32, 0x0a, 0x0e,
  	0x48, 0x65, 0x72, 0x6f, 0x55, 0x70, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x73, 0x70, 0x12, 0x20,
  	0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d,
  	0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f,
  	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; 添加关闭连接...
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
  }
  
  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
  }
  
2e0d2609   zhangqijia   fix: 英雄升级返回值+prot...
1178
  var file_game_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
7f269318   zhangqijia   add pb.go; 添加关闭连接...
1179
  var file_game_proto_goTypes = []interface{}{
4e75670c   zhangqijia   fix: 首次通关记录到数据库
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
  	(*HeartReq)(nil),              // 0: game.HeartReq
  	(*HeartRsp)(nil),              // 1: game.HeartRsp
  	(*LoginReq)(nil),              // 2: game.LoginReq
  	(*CreateReq)(nil),             // 3: game.CreateReq
  	(*DisConnectRsp)(nil),         // 4: game.DisConnectRsp
  	(*ChangeTeamReq)(nil),         // 5: game.ChangeTeamReq
  	(*EquipInfo)(nil),             // 6: game.EquipInfo
  	(*HeroEquipReferReq)(nil),     // 7: game.HeroEquipReferReq
  	(*RoleRsp)(nil),               // 8: game.RoleRsp
  	(*RoleUpdatePropertyRsp)(nil), // 9: game.RoleUpdatePropertyRsp
30e6d227   zhangqijia   fix: add nty
1190
  	(*RoleUpdateItemsNty)(nil),    // 10: game.RoleUpdateItemsNty
18cbcf53   zhangqijia   feat: 英雄升级
1191
1192
1193
1194
1195
1196
1197
  	(*RoleClearItemsReq)(nil),     // 11: game.RoleClearItemsReq
  	(*RoleStartBattleReq)(nil),    // 12: game.RoleStartBattleReq
  	(*RoleEndBattleReq)(nil),      // 13: game.RoleEndBattleReq
  	(*RoleEndBattleRsp)(nil),      // 14: game.RoleEndBattleRsp
  	(*EquipmentDelReq)(nil),       // 15: game.EquipmentDelReq
  	(*EquipmentAddRsp)(nil),       // 16: game.EquipmentAddRsp
  	(*HeroUpLevelReq)(nil),        // 17: game.HeroUpLevelReq
2e0d2609   zhangqijia   fix: 英雄升级返回值+prot...
1198
1199
1200
1201
1202
  	(*HeroUpLevelRsp)(nil),        // 18: game.HeroUpLevelRsp
  	(*Team)(nil),                  // 19: models.Team
  	(*Role)(nil),                  // 20: models.Role
  	(*Hero)(nil),                  // 21: models.Hero
  	(*Equipment)(nil),             // 22: models.Equipment
7f269318   zhangqijia   add pb.go; 添加关闭连接...
1203
1204
  }
  var file_game_proto_depIdxs = []int32{
2e0d2609   zhangqijia   fix: 英雄升级返回值+prot...
1205
  	19, // 0: game.ChangeTeamReq.team:type_name -> models.Team
4e75670c   zhangqijia   fix: 首次通关记录到数据库
1206
  	6,  // 1: game.HeroEquipReferReq.equipIds:type_name -> game.EquipInfo
2e0d2609   zhangqijia   fix: 英雄升级返回值+prot...
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
  	20, // 2: game.RoleRsp.role:type_name -> models.Role
  	21, // 3: game.RoleRsp.hero:type_name -> models.Hero
  	19, // 4: game.RoleRsp.team:type_name -> models.Team
  	22, // 5: game.RoleRsp.equipments:type_name -> models.Equipment
  	20, // 6: game.RoleUpdatePropertyRsp.role:type_name -> models.Role
  	21, // 7: game.RoleEndBattleRsp.hero:type_name -> models.Hero
  	22, // 8: game.EquipmentAddRsp.equip:type_name -> models.Equipment
  	21, // 9: game.HeroUpLevelRsp.hero:type_name -> models.Hero
  	10, // [10:10] is the sub-list for method output_type
  	10, // [10:10] is the sub-list for method input_type
  	10, // [10:10] is the sub-list for extension type_name
  	10, // [10:10] is the sub-list for extension extendee
  	0,  // [0:10] is the sub-list for field type_name
7f269318   zhangqijia   add pb.go; 添加关闭连接...
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
  }
  
  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...
1242
  			switch v := v.(*HeartRsp); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
  			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...
1254
  			switch v := v.(*LoginReq); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
436e0af4   zhangqijia   reactor: dir; Ac...
1265
  		file_game_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
8d983031   zhangqijia   loginReq uid -> t...
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
  			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{} {
495e9142   zhangqijia   fix: 增加DisConnect...
1278
  			switch v := v.(*DisConnectRsp); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
4255fd8e   zhangqijia   feat: 更新字段
1289
  		file_game_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
495e9142   zhangqijia   fix: 增加DisConnect...
1290
  			switch v := v.(*ChangeTeamReq); i {
4255fd8e   zhangqijia   feat: 更新字段
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
1301
  		file_game_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
1302
  			switch v := v.(*EquipInfo); i {
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
1313
  		file_game_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
1314
  			switch v := v.(*HeroEquipReferReq); i {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_game_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
1326
  			switch v := v.(*RoleRsp); i {
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
c8509ef6   zhangqijia   fix: notify equip...
1337
  		file_game_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
4e75670c   zhangqijia   fix: 首次通关记录到数据库
1338
  			switch v := v.(*RoleUpdatePropertyRsp); i {
c8509ef6   zhangqijia   fix: notify equip...
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
1349
  		file_game_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
30e6d227   zhangqijia   fix: add nty
1350
  			switch v := v.(*RoleUpdateItemsNty); i {
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_game_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
18cbcf53   zhangqijia   feat: 英雄升级
1362
  			switch v := v.(*RoleClearItemsReq); i {
ddc88bac   zhangqijia   fix: 记录战斗
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_game_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
18cbcf53   zhangqijia   feat: 英雄升级
1374
  			switch v := v.(*RoleStartBattleReq); i {
ddc88bac   zhangqijia   fix: 记录战斗
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_game_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
18cbcf53   zhangqijia   feat: 英雄升级
1386
  			switch v := v.(*RoleEndBattleReq); i {
ddc88bac   zhangqijia   fix: 记录战斗
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_game_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
18cbcf53   zhangqijia   feat: 英雄升级
1398
  			switch v := v.(*RoleEndBattleRsp); i {
495e9142   zhangqijia   fix: 增加DisConnect...
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_game_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
18cbcf53   zhangqijia   feat: 英雄升级
1410
  			switch v := v.(*EquipmentDelReq); i {
35adfcdb   zhangqijia   fix: 裝備戒指类型特殊处理
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_game_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
18cbcf53   zhangqijia   feat: 英雄升级
1422
  			switch v := v.(*EquipmentAddRsp); i {
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
35adfcdb   zhangqijia   fix: 裝備戒指类型特殊处理
1433
  		file_game_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
18cbcf53   zhangqijia   feat: 英雄升级
1434
  			switch v := v.(*HeroUpLevelReq); i {
35adfcdb   zhangqijia   fix: 裝備戒指类型特殊处理
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
2e0d2609   zhangqijia   fix: 英雄升级返回值+prot...
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
  		file_game_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  			switch v := v.(*HeroUpLevelRsp); i {
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
1457
1458
1459
1460
1461
1462
1463
  	}
  	type x struct{}
  	out := protoimpl.TypeBuilder{
  		File: protoimpl.DescBuilder{
  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  			RawDescriptor: file_game_proto_rawDesc,
  			NumEnums:      0,
2e0d2609   zhangqijia   fix: 英雄升级返回值+prot...
1464
  			NumMessages:   19,
7f269318   zhangqijia   add pb.go; 添加关闭连接...
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
  			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
  }