Blame view

pb/models.pb.go 31.5 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: models.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)
  )
  
1ab2a0f4   zhangqijia   fix: update Accou...
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
  type LogConf struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Typ   string `protobuf:"bytes,1,opt,name=typ,proto3" json:"typ,omitempty"`
  	Ucode string `protobuf:"bytes,2,opt,name=ucode,proto3" json:"ucode,omitempty"`
  }
  
  func (x *LogConf) Reset() {
  	*x = LogConf{}
  	if protoimpl.UnsafeEnabled {
  		mi := &file_models_proto_msgTypes[0]
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *LogConf) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*LogConf) ProtoMessage() {}
  
  func (x *LogConf) ProtoReflect() protoreflect.Message {
  	mi := &file_models_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 LogConf.ProtoReflect.Descriptor instead.
  func (*LogConf) Descriptor() ([]byte, []int) {
  	return file_models_proto_rawDescGZIP(), []int{0}
  }
  
  func (x *LogConf) GetTyp() string {
  	if x != nil {
  		return x.Typ
  	}
  	return ""
  }
  
  func (x *LogConf) GetUcode() string {
  	if x != nil {
  		return x.Ucode
  	}
  	return ""
  }
  
7f269318   zhangqijia   add pb.go; 添加关闭连接...
78
79
80
81
82
83
84
85
86
87
88
89
90
  type Account struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Phone    string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty" index:"unique" pri:"1"` // @inject_tag: index:"unique" pri:"1"
  	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
  	Uid      string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
  }
  
  func (x *Account) Reset() {
  	*x = Account{}
  	if protoimpl.UnsafeEnabled {
1ab2a0f4   zhangqijia   fix: update Accou...
91
  		mi := &file_models_proto_msgTypes[1]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
92
93
94
95
96
97
98
99
100
101
102
103
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *Account) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*Account) ProtoMessage() {}
  
  func (x *Account) ProtoReflect() protoreflect.Message {
1ab2a0f4   zhangqijia   fix: update Accou...
104
  	mi := &file_models_proto_msgTypes[1]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
105
106
107
108
109
110
111
112
113
114
115
116
  	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 Account.ProtoReflect.Descriptor instead.
  func (*Account) Descriptor() ([]byte, []int) {
1ab2a0f4   zhangqijia   fix: update Accou...
117
  	return file_models_proto_rawDescGZIP(), []int{1}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
  }
  
  func (x *Account) GetPhone() string {
  	if x != nil {
  		return x.Phone
  	}
  	return ""
  }
  
  func (x *Account) GetPassword() string {
  	if x != nil {
  		return x.Password
  	}
  	return ""
  }
  
  func (x *Account) GetUid() string {
  	if x != nil {
  		return x.Uid
  	}
  	return ""
  }
  
23822e2f   zhangqijia   fix: update proto...
141
142
143
144
145
146
147
148
149
150
151
152
  type Config struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" index:"unique" pri:"1"` // @inject_tag: index:"unique" pri:"1"
  	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
  }
  
  func (x *Config) Reset() {
  	*x = Config{}
  	if protoimpl.UnsafeEnabled {
1ab2a0f4   zhangqijia   fix: update Accou...
153
  		mi := &file_models_proto_msgTypes[2]
23822e2f   zhangqijia   fix: update proto...
154
155
156
157
158
159
160
161
162
163
164
165
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *Config) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*Config) ProtoMessage() {}
  
  func (x *Config) ProtoReflect() protoreflect.Message {
1ab2a0f4   zhangqijia   fix: update Accou...
166
  	mi := &file_models_proto_msgTypes[2]
23822e2f   zhangqijia   fix: update proto...
167
168
169
170
171
172
173
174
175
176
177
178
  	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 Config.ProtoReflect.Descriptor instead.
  func (*Config) Descriptor() ([]byte, []int) {
1ab2a0f4   zhangqijia   fix: update Accou...
179
  	return file_models_proto_rawDescGZIP(), []int{2}
23822e2f   zhangqijia   fix: update proto...
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
  }
  
  func (x *Config) GetId() string {
  	if x != nil {
  		return x.Id
  	}
  	return ""
  }
  
  func (x *Config) GetVersion() string {
  	if x != nil {
  		return x.Version
  	}
  	return ""
  }
  
7f269318   zhangqijia   add pb.go; 添加关闭连接...
196
197
198
199
200
201
202
203
204
205
206
  type Hero struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" index:"unique" pri:"1"` // @inject_tag: index:"unique" pri:"1"
  	RoleId     string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
  	Type       int32  `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
  	Level      int32  `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
  	ReinCount  int32  `protobuf:"varint,5,opt,name=rein_count,json=reinCount,proto3" json:"rein_count,omitempty"`
  	ReinPoint  int32  `protobuf:"varint,6,opt,name=rein_point,json=reinPoint,proto3" json:"rein_point,omitempty"`
3cd84ccc   zhangqijia   fix: 裝備位置修改
207
  	Equipments string `protobuf:"bytes,7,opt,name=equipments,proto3" json:"equipments,omitempty"` //"id=pos id1=pos1"
495e9142   zhangqijia   fix: 增加DisConnect...
208
  	Exp        int32  `protobuf:"varint,8,opt,name=exp,proto3" json:"exp,omitempty"`
7f269318   zhangqijia   add pb.go; 添加关闭连接...
209
210
211
212
213
  }
  
  func (x *Hero) Reset() {
  	*x = Hero{}
  	if protoimpl.UnsafeEnabled {
1ab2a0f4   zhangqijia   fix: update Accou...
214
  		mi := &file_models_proto_msgTypes[3]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
215
216
217
218
219
220
221
222
223
224
225
226
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *Hero) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*Hero) ProtoMessage() {}
  
  func (x *Hero) ProtoReflect() protoreflect.Message {
1ab2a0f4   zhangqijia   fix: update Accou...
227
  	mi := &file_models_proto_msgTypes[3]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
228
229
230
231
232
233
234
235
236
237
238
239
  	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 Hero.ProtoReflect.Descriptor instead.
  func (*Hero) Descriptor() ([]byte, []int) {
1ab2a0f4   zhangqijia   fix: update Accou...
240
  	return file_models_proto_rawDescGZIP(), []int{3}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
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
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
  }
  
  func (x *Hero) GetId() string {
  	if x != nil {
  		return x.Id
  	}
  	return ""
  }
  
  func (x *Hero) GetRoleId() string {
  	if x != nil {
  		return x.RoleId
  	}
  	return ""
  }
  
  func (x *Hero) GetType() int32 {
  	if x != nil {
  		return x.Type
  	}
  	return 0
  }
  
  func (x *Hero) GetLevel() int32 {
  	if x != nil {
  		return x.Level
  	}
  	return 0
  }
  
  func (x *Hero) GetReinCount() int32 {
  	if x != nil {
  		return x.ReinCount
  	}
  	return 0
  }
  
  func (x *Hero) GetReinPoint() int32 {
  	if x != nil {
  		return x.ReinPoint
  	}
  	return 0
  }
  
  func (x *Hero) GetEquipments() string {
  	if x != nil {
  		return x.Equipments
  	}
  	return ""
  }
  
495e9142   zhangqijia   fix: 增加DisConnect...
292
  func (x *Hero) GetExp() int32 {
ddc88bac   zhangqijia   fix: 记录战斗
293
294
295
296
297
298
  	if x != nil {
  		return x.Exp
  	}
  	return 0
  }
  
7f269318   zhangqijia   add pb.go; 添加关闭连接...
299
300
301
302
303
304
305
  type Equipment struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Id           string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" index:"unique" pri:"1"` // @inject_tag: index:"unique" pri:"1"
  	RoleId       string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
02d11cb7   zhangqijia   fix: update 装备脱/戴
306
  	TbId         int32  `protobuf:"varint,3,opt,name=tb_id,json=tbId,proto3" json:"tb_id,omitempty"`
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
307
308
  	EnhanceLevel int32  `protobuf:"varint,4,opt,name=enhance_level,json=enhanceLevel,proto3" json:"enhance_level,omitempty"`
  	HeroId       string `protobuf:"bytes,5,opt,name=hero_id,json=heroId,proto3" json:"hero_id,omitempty"`
c8509ef6   zhangqijia   fix: notify equip...
309
  	Quality      int32  `protobuf:"varint,6,opt,name=quality,proto3" json:"quality,omitempty"`
35adfcdb   zhangqijia   fix: 裝備戒指类型特殊处理
310
  	Pos          int32  `protobuf:"varint,7,opt,name=pos,proto3" json:"pos,omitempty"`
7f269318   zhangqijia   add pb.go; 添加关闭连接...
311
312
313
314
315
  }
  
  func (x *Equipment) Reset() {
  	*x = Equipment{}
  	if protoimpl.UnsafeEnabled {
1ab2a0f4   zhangqijia   fix: update Accou...
316
  		mi := &file_models_proto_msgTypes[4]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
317
318
319
320
321
322
323
324
325
326
327
328
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *Equipment) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*Equipment) ProtoMessage() {}
  
  func (x *Equipment) ProtoReflect() protoreflect.Message {
1ab2a0f4   zhangqijia   fix: update Accou...
329
  	mi := &file_models_proto_msgTypes[4]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
330
331
332
333
334
335
336
337
338
339
340
341
  	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 Equipment.ProtoReflect.Descriptor instead.
  func (*Equipment) Descriptor() ([]byte, []int) {
1ab2a0f4   zhangqijia   fix: update Accou...
342
  	return file_models_proto_rawDescGZIP(), []int{4}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
  }
  
  func (x *Equipment) GetId() string {
  	if x != nil {
  		return x.Id
  	}
  	return ""
  }
  
  func (x *Equipment) GetRoleId() string {
  	if x != nil {
  		return x.RoleId
  	}
  	return ""
  }
  
02d11cb7   zhangqijia   fix: update 装备脱/戴
359
  func (x *Equipment) GetTbId() int32 {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
360
  	if x != nil {
02d11cb7   zhangqijia   fix: update 装备脱/戴
361
  		return x.TbId
7f269318   zhangqijia   add pb.go; 添加关闭连接...
362
  	}
02d11cb7   zhangqijia   fix: update 装备脱/戴
363
  	return 0
7f269318   zhangqijia   add pb.go; 添加关闭连接...
364
365
  }
  
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
366
  func (x *Equipment) GetEnhanceLevel() int32 {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
367
  	if x != nil {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
368
  		return x.EnhanceLevel
7f269318   zhangqijia   add pb.go; 添加关闭连接...
369
  	}
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
370
  	return 0
7f269318   zhangqijia   add pb.go; 添加关闭连接...
371
372
  }
  
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
373
  func (x *Equipment) GetHeroId() string {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
374
  	if x != nil {
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
375
  		return x.HeroId
7f269318   zhangqijia   add pb.go; 添加关闭连接...
376
  	}
17fe96be   zhangqijia   feat: 增加装备相关数据和协议
377
  	return ""
7f269318   zhangqijia   add pb.go; 添加关闭连接...
378
379
  }
  
c8509ef6   zhangqijia   fix: notify equip...
380
381
382
383
384
385
386
  func (x *Equipment) GetQuality() int32 {
  	if x != nil {
  		return x.Quality
  	}
  	return 0
  }
  
35adfcdb   zhangqijia   fix: 裝備戒指类型特殊处理
387
  func (x *Equipment) GetPos() int32 {
3cd84ccc   zhangqijia   fix: 裝備位置修改
388
  	if x != nil {
35adfcdb   zhangqijia   fix: 裝備戒指类型特殊处理
389
  		return x.Pos
3cd84ccc   zhangqijia   fix: 裝備位置修改
390
  	}
35adfcdb   zhangqijia   fix: 裝備戒指类型特殊处理
391
  	return 0
3cd84ccc   zhangqijia   fix: 裝備位置修改
392
393
  }
  
7f269318   zhangqijia   add pb.go; 添加关闭连接...
394
395
396
397
398
399
400
401
402
403
404
405
  type Prop struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" index:"unique" pri:"1"` // @inject_tag: index:"unique" pri:"1"
  	Count int64  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
  }
  
  func (x *Prop) Reset() {
  	*x = Prop{}
  	if protoimpl.UnsafeEnabled {
1ab2a0f4   zhangqijia   fix: update Accou...
406
  		mi := &file_models_proto_msgTypes[5]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
407
408
409
410
411
412
413
414
415
416
417
418
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *Prop) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*Prop) ProtoMessage() {}
  
  func (x *Prop) ProtoReflect() protoreflect.Message {
1ab2a0f4   zhangqijia   fix: update Accou...
419
  	mi := &file_models_proto_msgTypes[5]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
420
421
422
423
424
425
426
427
428
429
430
431
  	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 Prop.ProtoReflect.Descriptor instead.
  func (*Prop) Descriptor() ([]byte, []int) {
1ab2a0f4   zhangqijia   fix: update Accou...
432
  	return file_models_proto_rawDescGZIP(), []int{5}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
  }
  
  func (x *Prop) GetId() string {
  	if x != nil {
  		return x.Id
  	}
  	return ""
  }
  
  func (x *Prop) GetCount() int64 {
  	if x != nil {
  		return x.Count
  	}
  	return 0
  }
  
  type Team struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" index:"unique" pri:"1"` // @inject_tag: index:"unique" pri:"1"
8d983031   zhangqijia   loginReq uid -> t...
455
456
457
458
  	RoleId  string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
  	HeroId1 string `protobuf:"bytes,3,opt,name=hero_id1,json=heroId1,proto3" json:"hero_id1,omitempty"`
  	HeroId2 string `protobuf:"bytes,4,opt,name=hero_id2,json=heroId2,proto3" json:"hero_id2,omitempty"`
  	HeroId3 string `protobuf:"bytes,5,opt,name=hero_id3,json=heroId3,proto3" json:"hero_id3,omitempty"`
7f269318   zhangqijia   add pb.go; 添加关闭连接...
459
460
461
462
463
  }
  
  func (x *Team) Reset() {
  	*x = Team{}
  	if protoimpl.UnsafeEnabled {
1ab2a0f4   zhangqijia   fix: update Accou...
464
  		mi := &file_models_proto_msgTypes[6]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
465
466
467
468
469
470
471
472
473
474
475
476
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *Team) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*Team) ProtoMessage() {}
  
  func (x *Team) ProtoReflect() protoreflect.Message {
1ab2a0f4   zhangqijia   fix: update Accou...
477
  	mi := &file_models_proto_msgTypes[6]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
478
479
480
481
482
483
484
485
486
487
488
489
  	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 Team.ProtoReflect.Descriptor instead.
  func (*Team) Descriptor() ([]byte, []int) {
1ab2a0f4   zhangqijia   fix: update Accou...
490
  	return file_models_proto_rawDescGZIP(), []int{6}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
491
492
493
494
495
496
497
498
499
  }
  
  func (x *Team) GetId() string {
  	if x != nil {
  		return x.Id
  	}
  	return ""
  }
  
8d983031   zhangqijia   loginReq uid -> t...
500
  func (x *Team) GetRoleId() string {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
501
  	if x != nil {
8d983031   zhangqijia   loginReq uid -> t...
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
  		return x.RoleId
  	}
  	return ""
  }
  
  func (x *Team) GetHeroId1() string {
  	if x != nil {
  		return x.HeroId1
  	}
  	return ""
  }
  
  func (x *Team) GetHeroId2() string {
  	if x != nil {
  		return x.HeroId2
  	}
  	return ""
  }
  
  func (x *Team) GetHeroId3() string {
  	if x != nil {
  		return x.HeroId3
7f269318   zhangqijia   add pb.go; 添加关闭连接...
524
525
526
527
  	}
  	return ""
  }
  
101d1cc1   zhangqijia   feat: 一个基于redis的自...
528
529
530
531
532
533
534
535
536
537
538
539
  type Increment struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
  	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" index:"unique" pri:"1"` //@inject_tag: index:"unique" pri:"1"
  	Val int64  `protobuf:"varint,2,opt,name=val,proto3" json:"val,omitempty"`
  }
  
  func (x *Increment) Reset() {
  	*x = Increment{}
  	if protoimpl.UnsafeEnabled {
1ab2a0f4   zhangqijia   fix: update Accou...
540
  		mi := &file_models_proto_msgTypes[7]
101d1cc1   zhangqijia   feat: 一个基于redis的自...
541
542
543
544
545
546
547
548
549
550
551
552
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *Increment) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*Increment) ProtoMessage() {}
  
  func (x *Increment) ProtoReflect() protoreflect.Message {
1ab2a0f4   zhangqijia   fix: update Accou...
553
  	mi := &file_models_proto_msgTypes[7]
101d1cc1   zhangqijia   feat: 一个基于redis的自...
554
555
556
557
558
559
560
561
562
563
564
565
  	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 Increment.ProtoReflect.Descriptor instead.
  func (*Increment) Descriptor() ([]byte, []int) {
1ab2a0f4   zhangqijia   fix: update Accou...
566
  	return file_models_proto_rawDescGZIP(), []int{7}
101d1cc1   zhangqijia   feat: 一个基于redis的自...
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
  }
  
  func (x *Increment) GetKey() string {
  	if x != nil {
  		return x.Key
  	}
  	return ""
  }
  
  func (x *Increment) GetVal() int64 {
  	if x != nil {
  		return x.Val
  	}
  	return 0
  }
  
7f269318   zhangqijia   add pb.go; 添加关闭连接...
583
584
585
586
587
  type Role struct {
  	state         protoimpl.MessageState
  	sizeCache     protoimpl.SizeCache
  	unknownFields protoimpl.UnknownFields
  
1ab2a0f4   zhangqijia   fix: update Accou...
588
589
  	Id            string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" index:"unique" pri:"1"` // @inject_tag: index:"unique" pri:"1"
  	Uid           string            `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty" index:"unique"`       // @inject_tag: index:"unique"
ddc88bac   zhangqijia   fix: 记录战斗
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
  	Device        string            `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"`
  	Nick          string            `protobuf:"bytes,4,opt,name=nick,proto3" json:"nick,omitempty"`
  	Level         int32             `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"`
  	Exp           int32             `protobuf:"varint,6,opt,name=exp,proto3" json:"exp,omitempty"`
  	Hp            int64             `protobuf:"varint,7,opt,name=hp,proto3" json:"hp,omitempty"`
  	HpMax         int64             `protobuf:"varint,8,opt,name=hp_max,json=hpMax,proto3" json:"hp_max,omitempty"`
  	BuyR          string            `protobuf:"bytes,11,opt,name=buy_r,json=buyR,proto3" json:"buy_r,omitempty"`
  	PayR          string            `protobuf:"bytes,12,opt,name=pay_r,json=payR,proto3" json:"pay_r,omitempty"`
  	Del           bool              `protobuf:"varint,13,opt,name=del,proto3" json:"del,omitempty"`
  	Incres        map[string]uint32 `protobuf:"bytes,14,rep,name=incres,proto3" json:"incres,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  	Items         string            `protobuf:"bytes,15,opt,name=items,proto3" json:"items,omitempty"` //物品 "id=count id2=count2"
  	Clotheslimit  uint32            `protobuf:"varint,16,opt,name=clotheslimit,proto3" json:"clotheslimit,omitempty"`
  	Weaponslimit  uint32            `protobuf:"varint,17,opt,name=weaponslimit,proto3" json:"weaponslimit,omitempty"`
  	Otherlimit    uint32            `protobuf:"varint,18,opt,name=otherlimit,proto3" json:"otherlimit,omitempty"`
  	Jewelrylimit  uint32            `protobuf:"varint,19,opt,name=jewelrylimit,proto3" json:"jewelrylimit,omitempty"`
  	Materiallimit uint32            `protobuf:"varint,20,opt,name=materiallimit,proto3" json:"materiallimit,omitempty"`
a2d4f770   zhangqijia   fix: 首次通关记录到数据库
606
  	Passchapters  map[int32]int32   `protobuf:"bytes,21,rep,name=passchapters,proto3" json:"passchapters,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 通关记录
7f269318   zhangqijia   add pb.go; 添加关闭连接...
607
608
609
610
611
  }
  
  func (x *Role) Reset() {
  	*x = Role{}
  	if protoimpl.UnsafeEnabled {
1ab2a0f4   zhangqijia   fix: update Accou...
612
  		mi := &file_models_proto_msgTypes[8]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
613
614
615
616
617
618
619
620
621
622
623
624
  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  		ms.StoreMessageInfo(mi)
  	}
  }
  
  func (x *Role) String() string {
  	return protoimpl.X.MessageStringOf(x)
  }
  
  func (*Role) ProtoMessage() {}
  
  func (x *Role) ProtoReflect() protoreflect.Message {
1ab2a0f4   zhangqijia   fix: update Accou...
625
  	mi := &file_models_proto_msgTypes[8]
7f269318   zhangqijia   add pb.go; 添加关闭连接...
626
627
628
629
630
631
632
633
634
635
636
637
  	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 Role.ProtoReflect.Descriptor instead.
  func (*Role) Descriptor() ([]byte, []int) {
1ab2a0f4   zhangqijia   fix: update Accou...
638
  	return file_models_proto_rawDescGZIP(), []int{8}
7f269318   zhangqijia   add pb.go; 添加关闭连接...
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
667
668
669
670
671
672
673
674
675
  }
  
  func (x *Role) GetId() string {
  	if x != nil {
  		return x.Id
  	}
  	return ""
  }
  
  func (x *Role) GetUid() string {
  	if x != nil {
  		return x.Uid
  	}
  	return ""
  }
  
  func (x *Role) GetDevice() string {
  	if x != nil {
  		return x.Device
  	}
  	return ""
  }
  
  func (x *Role) GetNick() string {
  	if x != nil {
  		return x.Nick
  	}
  	return ""
  }
  
  func (x *Role) GetLevel() int32 {
  	if x != nil {
  		return x.Level
  	}
  	return 0
  }
  
ddc88bac   zhangqijia   fix: 记录战斗
676
  func (x *Role) GetExp() int32 {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
  	if x != nil {
  		return x.Exp
  	}
  	return 0
  }
  
  func (x *Role) GetHp() int64 {
  	if x != nil {
  		return x.Hp
  	}
  	return 0
  }
  
  func (x *Role) GetHpMax() int64 {
  	if x != nil {
  		return x.HpMax
  	}
  	return 0
  }
  
  func (x *Role) GetBuyR() string {
  	if x != nil {
  		return x.BuyR
  	}
  	return ""
  }
  
  func (x *Role) GetPayR() string {
  	if x != nil {
  		return x.PayR
  	}
  	return ""
  }
  
  func (x *Role) GetDel() bool {
  	if x != nil {
  		return x.Del
  	}
  	return false
  }
  
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
718
  func (x *Role) GetIncres() map[string]uint32 {
101d1cc1   zhangqijia   feat: 一个基于redis的自...
719
720
721
722
723
724
  	if x != nil {
  		return x.Incres
  	}
  	return nil
  }
  
f631f225   zhangqijia   feat: 增加背包系统,以及背包...
725
726
727
728
729
730
731
  func (x *Role) GetItems() string {
  	if x != nil {
  		return x.Items
  	}
  	return ""
  }
  
4a502dd5   zhangqijia   fix: game,account...
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
  func (x *Role) GetClotheslimit() uint32 {
  	if x != nil {
  		return x.Clotheslimit
  	}
  	return 0
  }
  
  func (x *Role) GetWeaponslimit() uint32 {
  	if x != nil {
  		return x.Weaponslimit
  	}
  	return 0
  }
  
  func (x *Role) GetOtherlimit() uint32 {
  	if x != nil {
  		return x.Otherlimit
  	}
  	return 0
  }
  
ddc88bac   zhangqijia   fix: 记录战斗
753
754
755
756
757
758
759
760
761
762
763
764
765
766
  func (x *Role) GetJewelrylimit() uint32 {
  	if x != nil {
  		return x.Jewelrylimit
  	}
  	return 0
  }
  
  func (x *Role) GetMateriallimit() uint32 {
  	if x != nil {
  		return x.Materiallimit
  	}
  	return 0
  }
  
a2d4f770   zhangqijia   fix: 首次通关记录到数据库
767
  func (x *Role) GetPasschapters() map[int32]int32 {
ddc88bac   zhangqijia   fix: 记录战斗
768
  	if x != nil {
a2d4f770   zhangqijia   fix: 首次通关记录到数据库
769
  		return x.Passchapters
ddc88bac   zhangqijia   fix: 记录战斗
770
771
772
773
  	}
  	return nil
  }
  
7f269318   zhangqijia   add pb.go; 添加关闭连接...
774
775
776
777
  var File_models_proto protoreflect.FileDescriptor
  
  var file_models_proto_rawDesc = []byte{
  	0x0a, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
1ab2a0f4   zhangqijia   fix: update Accou...
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
  	0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x22, 0x31, 0x0a, 0x07, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e,
  	0x66, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x79, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  	0x74, 0x79, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
  	0x28, 0x09, 0x52, 0x05, 0x75, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x4d, 0x0a, 0x07, 0x41, 0x63, 0x63,
  	0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20,
  	0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61,
  	0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61,
  	0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20,
  	0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x32, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66,
  	0x69, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
  	0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
  	0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xc9, 0x01, 0x0a,
  	0x04, 0x48, 0x65, 0x72, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  	0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64,
  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12,
  	0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79,
  	0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28,
  	0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x69, 0x6e,
  	0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x65,
  	0x69, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x69, 0x6e, 0x5f,
  	0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x65, 0x69,
  	0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x6d,
  	0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x71, 0x75, 0x69,
  	0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, 0x70, 0x18, 0x08, 0x20,
  	0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x78, 0x70, 0x22, 0xb3, 0x01, 0x0a, 0x09, 0x45, 0x71, 0x75,
  	0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  	0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69,
  	0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12,
  	0x13, 0x0a, 0x05, 0x74, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
  	0x74, 0x62, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x68, 0x61, 0x6e, 0x63, 0x65, 0x5f,
  	0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x6e, 0x68,
  	0x61, 0x6e, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x65, 0x72,
  	0x6f, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f,
  	0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20,
  	0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03,
  	0x70, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0x2c,
  	0x0a, 0x04, 0x50, 0x72, 0x6f, 0x70, 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, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x80, 0x01, 0x0a,
  	0x04, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  	0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64,
  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19,
  	0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69, 0x64, 0x31, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  	0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x31, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x65, 0x72,
  	0x6f, 0x5f, 0x69, 0x64, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72,
  	0x6f, 0x49, 0x64, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69, 0x64, 0x33,
  	0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x33, 0x22,
  	0x2f, 0x0a, 0x09, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03,
  	0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x10,
  	0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x76, 0x61, 0x6c,
  	0x22, 0x99, 0x05, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64,
  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64,
  	0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76,
  	0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x69, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28,
  	0x09, 0x52, 0x04, 0x6e, 0x69, 0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c,
  	0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x10, 0x0a,
  	0x03, 0x65, 0x78, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x78, 0x70, 0x12,
  	0x0e, 0x0a, 0x02, 0x68, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x68, 0x70, 0x12,
  	0x15, 0x0a, 0x06, 0x68, 0x70, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52,
  	0x05, 0x68, 0x70, 0x4d, 0x61, 0x78, 0x12, 0x13, 0x0a, 0x05, 0x62, 0x75, 0x79, 0x5f, 0x72, 0x18,
  	0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x75, 0x79, 0x52, 0x12, 0x13, 0x0a, 0x05, 0x70,
  	0x61, 0x79, 0x5f, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x79, 0x52,
  	0x12, 0x10, 0x0a, 0x03, 0x64, 0x65, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x64,
  	0x65, 0x6c, 0x12, 0x30, 0x0a, 0x06, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03,
  	0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65,
  	0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x69, 0x6e,
  	0x63, 0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x0f, 0x20,
  	0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6c,
  	0x6f, 0x74, 0x68, 0x65, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d,
  	0x52, 0x0c, 0x63, 0x6c, 0x6f, 0x74, 0x68, 0x65, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x22,
  	0x0a, 0x0c, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x11,
  	0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d,
  	0x69, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x6c, 0x69, 0x6d, 0x69, 0x74,
  	0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x6c, 0x69, 0x6d,
  	0x69, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6a, 0x65, 0x77, 0x65, 0x6c, 0x72, 0x79, 0x6c, 0x69, 0x6d,
  	0x69, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6a, 0x65, 0x77, 0x65, 0x6c, 0x72,
  	0x79, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69,
  	0x61, 0x6c, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6d,
  	0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x42, 0x0a, 0x0c,
  	0x70, 0x61, 0x73, 0x73, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73, 0x18, 0x15, 0x20, 0x03,
  	0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65,
  	0x2e, 0x50, 0x61, 0x73, 0x73, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74,
  	0x72, 0x79, 0x52, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73,
  	0x1a, 0x39, 0x0a, 0x0b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
  	0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
  	0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
  	0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x50,
  	0x61, 0x73, 0x73, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
  	0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b,
  	0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  	0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 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; 添加关闭连接...
871
872
873
874
875
876
877
878
879
880
881
882
883
884
  }
  
  var (
  	file_models_proto_rawDescOnce sync.Once
  	file_models_proto_rawDescData = file_models_proto_rawDesc
  )
  
  func file_models_proto_rawDescGZIP() []byte {
  	file_models_proto_rawDescOnce.Do(func() {
  		file_models_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_proto_rawDescData)
  	})
  	return file_models_proto_rawDescData
  }
  
1ab2a0f4   zhangqijia   fix: update Accou...
885
  var file_models_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
7f269318   zhangqijia   add pb.go; 添加关闭连接...
886
  var file_models_proto_goTypes = []interface{}{
1ab2a0f4   zhangqijia   fix: update Accou...
887
888
889
890
891
892
893
894
895
896
897
  	(*LogConf)(nil),   // 0: models.LogConf
  	(*Account)(nil),   // 1: models.Account
  	(*Config)(nil),    // 2: models.Config
  	(*Hero)(nil),      // 3: models.Hero
  	(*Equipment)(nil), // 4: models.Equipment
  	(*Prop)(nil),      // 5: models.Prop
  	(*Team)(nil),      // 6: models.Team
  	(*Increment)(nil), // 7: models.Increment
  	(*Role)(nil),      // 8: models.Role
  	nil,               // 9: models.Role.IncresEntry
  	nil,               // 10: models.Role.PasschaptersEntry
7f269318   zhangqijia   add pb.go; 添加关闭连接...
898
899
  }
  var file_models_proto_depIdxs = []int32{
1ab2a0f4   zhangqijia   fix: update Accou...
900
901
902
903
904
905
906
  	9,  // 0: models.Role.incres:type_name -> models.Role.IncresEntry
  	10, // 1: models.Role.passchapters:type_name -> models.Role.PasschaptersEntry
  	2,  // [2:2] is the sub-list for method output_type
  	2,  // [2:2] is the sub-list for method input_type
  	2,  // [2:2] is the sub-list for extension type_name
  	2,  // [2:2] is the sub-list for extension extendee
  	0,  // [0:2] is the sub-list for field type_name
7f269318   zhangqijia   add pb.go; 添加关闭连接...
907
908
909
910
911
912
913
914
915
  }
  
  func init() { file_models_proto_init() }
  func file_models_proto_init() {
  	if File_models_proto != nil {
  		return
  	}
  	if !protoimpl.UnsafeEnabled {
  		file_models_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1ab2a0f4   zhangqijia   fix: update Accou...
916
  			switch v := v.(*LogConf); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
917
918
919
920
921
922
923
924
925
926
927
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_models_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1ab2a0f4   zhangqijia   fix: update Accou...
928
  			switch v := v.(*Account); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
929
930
931
932
933
934
935
936
937
938
939
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_models_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1ab2a0f4   zhangqijia   fix: update Accou...
940
  			switch v := v.(*Config); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
941
942
943
944
945
946
947
948
949
950
951
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_models_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1ab2a0f4   zhangqijia   fix: update Accou...
952
  			switch v := v.(*Hero); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
953
954
955
956
957
958
959
960
961
962
963
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_models_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1ab2a0f4   zhangqijia   fix: update Accou...
964
  			switch v := v.(*Equipment); i {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
965
966
967
968
969
970
971
972
973
974
975
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_models_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1ab2a0f4   zhangqijia   fix: update Accou...
976
  			switch v := v.(*Prop); i {
101d1cc1   zhangqijia   feat: 一个基于redis的自...
977
978
979
980
981
982
983
984
985
986
987
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_models_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1ab2a0f4   zhangqijia   fix: update Accou...
988
  			switch v := v.(*Team); i {
23822e2f   zhangqijia   fix: update proto...
989
990
991
992
993
994
995
996
997
998
999
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_models_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1ab2a0f4   zhangqijia   fix: update Accou...
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
  			switch v := v.(*Increment); i {
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  		file_models_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
7f269318   zhangqijia   add pb.go; 添加关闭连接...
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
  			switch v := v.(*Role); i {
  			case 0:
  				return &v.state
  			case 1:
  				return &v.sizeCache
  			case 2:
  				return &v.unknownFields
  			default:
  				return nil
  			}
  		}
  	}
  	type x struct{}
  	out := protoimpl.TypeBuilder{
  		File: protoimpl.DescBuilder{
  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  			RawDescriptor: file_models_proto_rawDesc,
  			NumEnums:      0,
1ab2a0f4   zhangqijia   fix: update Accou...
1030
  			NumMessages:   11,
7f269318   zhangqijia   add pb.go; 添加关闭连接...
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
  			NumExtensions: 0,
  			NumServices:   0,
  		},
  		GoTypes:           file_models_proto_goTypes,
  		DependencyIndexes: file_models_proto_depIdxs,
  		MessageInfos:      file_models_proto_msgTypes,
  	}.Build()
  	File_models_proto = out.File
  	file_models_proto_rawDesc = nil
  	file_models_proto_goTypes = nil
  	file_models_proto_depIdxs = nil
  }