Blame view

pb/game.pb.go 26.3 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
  // 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)
  )
  
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 ""
  }
  
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
230
  //ResponseCmd ChangeTeamReq
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
231
  type ChangeTeamReq struct {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
232
233
234
235
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
236
  	Team []*Team `protobuf:"bytes,1,rep,name=team,proto3" json:"team,omitempty"`
7f269318   zhangqijia   add pb.go; 添加关闭连接...
237
238
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
239
240
  func (x *ChangeTeamReq) Reset() {
  	*x = ChangeTeamReq{}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
241
  	if protoimpl.UnsafeEnabled {
8d983031   zhangqijia   loginReq uid -> t...
242
  		mi := &file_game_proto_msgTypes[4]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
243
244
245
246
247
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
248
  func (x *ChangeTeamReq) String() string {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
249
250
251
  	return protoimpl.X.MessageStringOf(x)
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
252
  func (*ChangeTeamReq) ProtoMessage() {}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
253
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
254
  func (x *ChangeTeamReq) ProtoReflect() protoreflect.Message {
8d983031   zhangqijia   loginReq uid -> t...
255
  	mi := &file_game_proto_msgTypes[4]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
256
257
258
259
260
261
262
263
264
265
  	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: 更新背包系统文档,更改角...
266
267
  // Deprecated: Use ChangeTeamReq.ProtoReflect.Descriptor instead.
  func (*ChangeTeamReq) Descriptor() ([]byte, []int) {
8d983031   zhangqijia   loginReq uid -> t...
268
  	return file_game_proto_rawDescGZIP(), []int{4}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
269
270
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
271
  func (x *ChangeTeamReq) GetTeam() []*Team {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
272
273
274
275
276
277
  	if x != nil {
  		return x.Team
  	}
  	return nil
  }
  
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
278
279
280
281
282
283
284
285
286
287
288
289
290
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
  //ResponseCmd HeroEquipReferReq
  type HeroEquipReferReq struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	EquipId string `protobuf:"bytes,1,opt,name=equipId,proto3" json:"equipId,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 脱下
  }
  
  func (x *HeroEquipReferReq) Reset() {
  	*x = HeroEquipReferReq{}
  	if protoimpl.UnsafeEnabled {
  		mi := &file_game_proto_msgTypes[5]
  		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 {
  	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 HeroEquipReferReq.ProtoReflect.Descriptor instead.
  func (*HeroEquipReferReq) Descriptor() ([]byte, []int) {
  	return file_game_proto_rawDescGZIP(), []int{5}
  }
  
  func (x *HeroEquipReferReq) GetEquipId() string {
  	if x != nil {
  		return x.EquipId
  	}
  	return ""
  }
  
  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: 更新背包系统文档,更改角...
342
  type RoleRsp struct {
4255fd8e   zhangqijia   feat: 更新字段
343
344
345
346
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
347
348
349
350
  	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: 更新字段
351
352
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
353
354
  func (x *RoleRsp) Reset() {
  	*x = RoleRsp{}
4255fd8e   zhangqijia   feat: 更新字段
355
  	if protoimpl.UnsafeEnabled {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
356
  		mi := &file_game_proto_msgTypes[6]
4255fd8e   zhangqijia   feat: 更新字段
357
358
359
360
361
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
362
  func (x *RoleRsp) String() string {
4255fd8e   zhangqijia   feat: 更新字段
363
364
365
  	return protoimpl.X.MessageStringOf(x)
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
366
  func (*RoleRsp) ProtoMessage() {}
4255fd8e   zhangqijia   feat: 更新字段
367
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
368
  func (x *RoleRsp) ProtoReflect() protoreflect.Message {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
369
  	mi := &file_game_proto_msgTypes[6]
4255fd8e   zhangqijia   feat: 更新字段
370
371
372
373
374
375
376
377
378
379
  	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: 更新背包系统文档,更改角...
380
381
  // Deprecated: Use RoleRsp.ProtoReflect.Descriptor instead.
  func (*RoleRsp) Descriptor() ([]byte, []int) {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
382
  	return file_game_proto_rawDescGZIP(), []int{6}
4255fd8e   zhangqijia   feat: 更新字段
383
384
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
385
  func (x *RoleRsp) GetRole() *Role {
4255fd8e   zhangqijia   feat: 更新字段
386
  	if x != nil {
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
387
  		return x.Role
4255fd8e   zhangqijia   feat: 更新字段
388
389
390
391
  	}
  	return nil
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
392
  func (x *RoleRsp) GetHero() []*Hero {
4255fd8e   zhangqijia   feat: 更新字段
393
  	if x != nil {
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
394
  		return x.Hero
4255fd8e   zhangqijia   feat: 更新字段
395
396
397
398
  	}
  	return nil
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
399
400
401
402
403
404
405
  func (x *RoleRsp) GetTeam() []*Team {
  	if x != nil {
  		return x.Team
  	}
  	return nil
  }
  
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
406
407
408
409
410
411
412
  func (x *RoleRsp) GetEquipments() []*Equipment {
  	if x != nil {
  		return x.Equipments
  	}
  	return nil
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
413
414
  //ResponseCmd RoleUpdatePropertyRsp
  type RoleUpdatePropertyRsp struct {
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
415
416
417
418
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
419
420
  	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: 增加上阵下阵协议,增加...
421
422
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
423
424
  func (x *RoleUpdatePropertyRsp) Reset() {
  	*x = RoleUpdatePropertyRsp{}
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
425
  	if protoimpl.UnsafeEnabled {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
426
  		mi := &file_game_proto_msgTypes[7]
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
427
428
429
430
431
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
432
  func (x *RoleUpdatePropertyRsp) String() string {
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
433
434
435
  	return protoimpl.X.MessageStringOf(x)
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
436
  func (*RoleUpdatePropertyRsp) ProtoMessage() {}
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
437
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
438
  func (x *RoleUpdatePropertyRsp) ProtoReflect() protoreflect.Message {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
439
  	mi := &file_game_proto_msgTypes[7]
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
440
441
442
443
444
445
446
447
448
449
  	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: 更新背包系统文档,更改角...
450
451
  // Deprecated: Use RoleUpdatePropertyRsp.ProtoReflect.Descriptor instead.
  func (*RoleUpdatePropertyRsp) Descriptor() ([]byte, []int) {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
452
  	return file_game_proto_rawDescGZIP(), []int{7}
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
453
454
  }
  
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
455
  func (x *RoleUpdatePropertyRsp) GetId() []int32 {
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
456
  	if x != nil {
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
457
458
459
460
461
462
463
464
  		return x.Id
  	}
  	return nil
  }
  
  func (x *RoleUpdatePropertyRsp) GetRole() *Role {
  	if x != nil {
  		return x.Role
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
465
466
467
468
  	}
  	return nil
  }
  
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
469
470
471
472
473
474
475
476
477
478
479
480
  //ResponseCmd RoleUpdateItemsRsp
  type RoleUpdateItemsRsp struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Items string `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"`
  }
  
  func (x *RoleUpdateItemsRsp) Reset() {
  	*x = RoleUpdateItemsRsp{}
  	if protoimpl.UnsafeEnabled {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
481
  		mi := &file_game_proto_msgTypes[8]
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
482
483
484
485
486
487
488
489
490
491
492
493
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *RoleUpdateItemsRsp) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*RoleUpdateItemsRsp) ProtoMessage() {}
  
  func (x *RoleUpdateItemsRsp) ProtoReflect() protoreflect.Message {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
494
  	mi := &file_game_proto_msgTypes[8]
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
495
496
497
498
499
500
501
502
503
504
505
506
  	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 RoleUpdateItemsRsp.ProtoReflect.Descriptor instead.
  func (*RoleUpdateItemsRsp) Descriptor() ([]byte, []int) {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
507
  	return file_game_proto_rawDescGZIP(), []int{8}
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
508
509
510
511
512
513
514
515
516
  }
  
  func (x *RoleUpdateItemsRsp) GetItems() string {
  	if x != nil {
  		return x.Items
  	}
  	return ""
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
517
  type RoleClearItemsReq struct {
c8509ef6   zhangqijia   fix: notify equip...
518
519
520
521
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
522
523
  	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  	Count int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
c8509ef6   zhangqijia   fix: notify equip...
524
525
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
526
527
  func (x *RoleClearItemsReq) Reset() {
  	*x = RoleClearItemsReq{}
c8509ef6   zhangqijia   fix: notify equip...
528
529
530
531
532
533
534
  	if protoimpl.UnsafeEnabled {
  		mi := &file_game_proto_msgTypes[9]
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
535
  func (x *RoleClearItemsReq) String() string {
c8509ef6   zhangqijia   fix: notify equip...
536
537
538
  	return protoimpl.X.MessageStringOf(x)
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
539
  func (*RoleClearItemsReq) ProtoMessage() {}
c8509ef6   zhangqijia   fix: notify equip...
540
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
541
  func (x *RoleClearItemsReq) ProtoReflect() protoreflect.Message {
c8509ef6   zhangqijia   fix: notify equip...
542
543
544
545
546
547
548
549
550
551
552
  	mi := &file_game_proto_msgTypes[9]
  	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: 删除装备 删除物品请求
553
554
  // Deprecated: Use RoleClearItemsReq.ProtoReflect.Descriptor instead.
  func (*RoleClearItemsReq) Descriptor() ([]byte, []int) {
c8509ef6   zhangqijia   fix: notify equip...
555
556
557
  	return file_game_proto_rawDescGZIP(), []int{9}
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
558
  func (x *RoleClearItemsReq) GetId() string {
c8509ef6   zhangqijia   fix: notify equip...
559
  	if x != nil {
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
560
  		return x.Id
c8509ef6   zhangqijia   fix: notify equip...
561
  	}
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
562
563
564
565
566
567
568
569
  	return ""
  }
  
  func (x *RoleClearItemsReq) GetCount() int32 {
  	if x != nil {
  		return x.Count
  	}
  	return 0
c8509ef6   zhangqijia   fix: notify equip...
570
571
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
572
  type EquipmentDelReq struct {
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
573
574
575
576
577
578
579
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
580
581
  func (x *EquipmentDelReq) Reset() {
  	*x = EquipmentDelReq{}
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
582
583
584
585
586
587
588
  	if protoimpl.UnsafeEnabled {
  		mi := &file_game_proto_msgTypes[10]
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
589
  func (x *EquipmentDelReq) String() string {
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
590
591
592
  	return protoimpl.X.MessageStringOf(x)
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
593
  func (*EquipmentDelReq) ProtoMessage() {}
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
594
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
595
  func (x *EquipmentDelReq) ProtoReflect() protoreflect.Message {
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
596
597
598
599
600
601
602
603
604
605
606
  	mi := &file_game_proto_msgTypes[10]
  	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: 删除装备 删除物品请求
607
608
  // Deprecated: Use EquipmentDelReq.ProtoReflect.Descriptor instead.
  func (*EquipmentDelReq) Descriptor() ([]byte, []int) {
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
609
610
611
  	return file_game_proto_rawDescGZIP(), []int{10}
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
612
  func (x *EquipmentDelReq) GetId() string {
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
613
614
615
616
617
618
  	if x != nil {
  		return x.Id
  	}
  	return ""
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
  //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 {
  		mi := &file_game_proto_msgTypes[11]
  		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 {
  	mi := &file_game_proto_msgTypes[11]
  	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) {
  	return file_game_proto_rawDescGZIP(), []int{11}
  }
  
  func (x *EquipmentAddRsp) GetEquip() *Equipment {
  	if x != nil {
  		return x.Equip
  	}
  	return nil
  }
  
7f269318   zhangqijia   add pb.go; 添加关闭连接...
667
668
669
670
671
672
673
  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...
674
675
  	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...
676
677
678
  	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...
679
680
681
682
  	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,
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
683
684
685
  	0x65, 0x76, 0x69, 0x63, 0x65, 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, 0x65,
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
686
687
688
689
690
691
692
693
  	0x61, 0x6d, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x22, 0x5c, 0x0a, 0x11, 0x48, 0x65, 0x72, 0x6f,
  	0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 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, 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,
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
694
  	0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04,
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
  	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, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05,
  	0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x74, 0x65,
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
710
711
712
713
714
715
716
717
718
719
720
  	0x6d, 0x73, 0x22, 0x39, 0x0a, 0x11, 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x49,
  	0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  	0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  	0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 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, 0x01, 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,
  	0x70, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 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; 添加关闭连接...
721
722
723
724
725
726
727
728
729
730
731
732
733
734
  }
  
  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
  }
  
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
735
  var file_game_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
7f269318   zhangqijia   add pb.go; 添加关闭连接...
736
  var file_game_proto_goTypes = []interface{}{
4255fd8e   zhangqijia   feat: 更新字段
737
738
739
740
  	(*HeartReq)(nil),              // 0: game.HeartReq
  	(*HeartRsp)(nil),              // 1: game.HeartRsp
  	(*LoginReq)(nil),              // 2: game.LoginReq
  	(*CreateReq)(nil),             // 3: game.CreateReq
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
741
  	(*ChangeTeamReq)(nil),         // 4: game.ChangeTeamReq
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
742
743
744
745
  	(*HeroEquipReferReq)(nil),     // 5: game.HeroEquipReferReq
  	(*RoleRsp)(nil),               // 6: game.RoleRsp
  	(*RoleUpdatePropertyRsp)(nil), // 7: game.RoleUpdatePropertyRsp
  	(*RoleUpdateItemsRsp)(nil),    // 8: game.RoleUpdateItemsRsp
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
746
747
748
749
750
751
752
  	(*RoleClearItemsReq)(nil),     // 9: game.RoleClearItemsReq
  	(*EquipmentDelReq)(nil),       // 10: game.EquipmentDelReq
  	(*EquipmentAddRsp)(nil),       // 11: game.EquipmentAddRsp
  	(*Team)(nil),                  // 12: models.Team
  	(*Role)(nil),                  // 13: models.Role
  	(*Hero)(nil),                  // 14: models.Hero
  	(*Equipment)(nil),             // 15: models.Equipment
7f269318   zhangqijia   add pb.go; 添加关闭连接...
753
754
  }
  var file_game_proto_depIdxs = []int32{
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
755
756
757
758
759
760
761
  	12, // 0: game.ChangeTeamReq.team:type_name -> models.Team
  	13, // 1: game.RoleRsp.role:type_name -> models.Role
  	14, // 2: game.RoleRsp.hero:type_name -> models.Hero
  	12, // 3: game.RoleRsp.team:type_name -> models.Team
  	15, // 4: game.RoleRsp.equipments:type_name -> models.Equipment
  	13, // 5: game.RoleUpdatePropertyRsp.role:type_name -> models.Role
  	15, // 6: game.EquipmentAddRsp.equip:type_name -> models.Equipment
c8509ef6   zhangqijia   fix: notify equip...
762
763
764
765
766
  	7,  // [7:7] is the sub-list for method output_type
  	7,  // [7:7] is the sub-list for method input_type
  	7,  // [7:7] is the sub-list for extension type_name
  	7,  // [7:7] is the sub-list for extension extendee
  	0,  // [0:7] is the sub-list for field type_name
7f269318   zhangqijia   add pb.go; 添加关闭连接...
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
  }
  
  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...
789
  			switch v := v.(*HeartRsp); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
790
791
792
793
794
795
796
797
798
799
800
  			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...
801
  			switch v := v.(*LoginReq); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
802
803
804
805
806
807
808
809
810
811
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
436e0af4   zhangqijia   reactor: dir; Ac...
812
  		file_game_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
8d983031   zhangqijia   loginReq uid -> t...
813
814
815
816
817
818
819
820
821
822
823
824
  			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{} {
27a173f5   zhangqijia   fix: 更新背包系统文档,更改角...
825
  			switch v := v.(*ChangeTeamReq); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
826
827
828
829
830
831
832
833
834
835
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
4255fd8e   zhangqijia   feat: 更新字段
836
  		file_game_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
837
  			switch v := v.(*HeroEquipReferReq); i {
4255fd8e   zhangqijia   feat: 更新字段
838
839
840
841
842
843
844
845
846
847
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
848
  		file_game_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
849
  			switch v := v.(*RoleRsp); i {
eadc9aff   zhangqijia   feat: 增加上阵下阵协议,增加...
850
851
852
853
854
855
856
857
858
859
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
860
  		file_game_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
861
862
863
864
865
866
867
868
869
870
871
872
  			switch v := v.(*RoleUpdatePropertyRsp); i {
  			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{} {
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
873
874
875
876
877
878
879
880
881
882
883
  			switch v := v.(*RoleUpdateItemsRsp); i {
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
c8509ef6   zhangqijia   fix: notify equip...
884
  		file_game_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
885
  			switch v := v.(*RoleClearItemsReq); i {
c8509ef6   zhangqijia   fix: notify equip...
886
887
888
889
890
891
892
893
894
895
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
896
  		file_game_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
897
898
899
900
901
902
903
904
905
906
907
908
909
  			switch v := v.(*EquipmentDelReq); i {
  			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{} {
  			switch v := v.(*EquipmentAddRsp); i {
c2791869   zhangqijia   fix: gm增加删除装备删除物品接口
910
911
912
913
914
915
916
917
918
919
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
920
921
922
923
924
925
926
  	}
  	type x struct{}
  	out := protoimpl.TypeBuilder{
  		File: protoimpl.DescBuilder{
  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  			RawDescriptor: file_game_proto_rawDesc,
  			NumEnums:      0,
51d48d11   zhangqijia   fix: 删除装备 删除物品请求
927
  			NumMessages:   12,
7f269318   zhangqijia   add pb.go; 添加关闭连接...
928
929
930
931
932
933
934
935
936
937
938
939
  			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
  }