Commit 1ab2a0f441f3639a0af628cf1f3bdeea514cc582
1 parent
fc3e08ac
fix: update AccountLoginRsp -> AccountLogin
Showing
3 changed files
with
247 additions
and
176 deletions
Show diff stats
cmd/httpserver/action/AccountAction.go
@@ -85,7 +85,7 @@ func (h *AccountAction) Login(c *gin.Context) (int, interface{}) { | @@ -85,7 +85,7 @@ func (h *AccountAction) Login(c *gin.Context) (int, interface{}) { | ||
85 | return 3, "password error" | 85 | return 3, "password error" |
86 | } | 86 | } |
87 | 87 | ||
88 | - rsp := &pb.AccountLoginRsp{ | 88 | + rsp := &pb.AccountLogin{ |
89 | Token: account.Uid, | 89 | Token: account.Uid, |
90 | GameService: common.GlobalConf.GameService.ServiceInfo, | 90 | GameService: common.GlobalConf.GameService.ServiceInfo, |
91 | } | 91 | } |
pb/account.pb.go
@@ -99,7 +99,7 @@ func (x *ServiceInfo) GetGmport() int32 { | @@ -99,7 +99,7 @@ func (x *ServiceInfo) GetGmport() int32 { | ||
99 | return 0 | 99 | return 0 |
100 | } | 100 | } |
101 | 101 | ||
102 | -type AccountLoginRsp struct { | 102 | +type AccountLogin struct { |
103 | state protoimpl.MessageState | 103 | state protoimpl.MessageState |
104 | sizeCache protoimpl.SizeCache | 104 | sizeCache protoimpl.SizeCache |
105 | unknownFields protoimpl.UnknownFields | 105 | unknownFields protoimpl.UnknownFields |
@@ -108,8 +108,8 @@ type AccountLoginRsp struct { | @@ -108,8 +108,8 @@ type AccountLoginRsp struct { | ||
108 | GameService []*ServiceInfo `protobuf:"bytes,2,rep,name=game_service,json=gameService,proto3" json:"game_service,omitempty"` | 108 | GameService []*ServiceInfo `protobuf:"bytes,2,rep,name=game_service,json=gameService,proto3" json:"game_service,omitempty"` |
109 | } | 109 | } |
110 | 110 | ||
111 | -func (x *AccountLoginRsp) Reset() { | ||
112 | - *x = AccountLoginRsp{} | 111 | +func (x *AccountLogin) Reset() { |
112 | + *x = AccountLogin{} | ||
113 | if protoimpl.UnsafeEnabled { | 113 | if protoimpl.UnsafeEnabled { |
114 | mi := &file_account_proto_msgTypes[1] | 114 | mi := &file_account_proto_msgTypes[1] |
115 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 115 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
@@ -117,13 +117,13 @@ func (x *AccountLoginRsp) Reset() { | @@ -117,13 +117,13 @@ func (x *AccountLoginRsp) Reset() { | ||
117 | } | 117 | } |
118 | } | 118 | } |
119 | 119 | ||
120 | -func (x *AccountLoginRsp) String() string { | 120 | +func (x *AccountLogin) String() string { |
121 | return protoimpl.X.MessageStringOf(x) | 121 | return protoimpl.X.MessageStringOf(x) |
122 | } | 122 | } |
123 | 123 | ||
124 | -func (*AccountLoginRsp) ProtoMessage() {} | 124 | +func (*AccountLogin) ProtoMessage() {} |
125 | 125 | ||
126 | -func (x *AccountLoginRsp) ProtoReflect() protoreflect.Message { | 126 | +func (x *AccountLogin) ProtoReflect() protoreflect.Message { |
127 | mi := &file_account_proto_msgTypes[1] | 127 | mi := &file_account_proto_msgTypes[1] |
128 | if protoimpl.UnsafeEnabled && x != nil { | 128 | if protoimpl.UnsafeEnabled && x != nil { |
129 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 129 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
@@ -135,19 +135,19 @@ func (x *AccountLoginRsp) ProtoReflect() protoreflect.Message { | @@ -135,19 +135,19 @@ func (x *AccountLoginRsp) ProtoReflect() protoreflect.Message { | ||
135 | return mi.MessageOf(x) | 135 | return mi.MessageOf(x) |
136 | } | 136 | } |
137 | 137 | ||
138 | -// Deprecated: Use AccountLoginRsp.ProtoReflect.Descriptor instead. | ||
139 | -func (*AccountLoginRsp) Descriptor() ([]byte, []int) { | 138 | +// Deprecated: Use AccountLogin.ProtoReflect.Descriptor instead. |
139 | +func (*AccountLogin) Descriptor() ([]byte, []int) { | ||
140 | return file_account_proto_rawDescGZIP(), []int{1} | 140 | return file_account_proto_rawDescGZIP(), []int{1} |
141 | } | 141 | } |
142 | 142 | ||
143 | -func (x *AccountLoginRsp) GetToken() string { | 143 | +func (x *AccountLogin) GetToken() string { |
144 | if x != nil { | 144 | if x != nil { |
145 | return x.Token | 145 | return x.Token |
146 | } | 146 | } |
147 | return "" | 147 | return "" |
148 | } | 148 | } |
149 | 149 | ||
150 | -func (x *AccountLoginRsp) GetGameService() []*ServiceInfo { | 150 | +func (x *AccountLogin) GetGameService() []*ServiceInfo { |
151 | if x != nil { | 151 | if x != nil { |
152 | return x.GameService | 152 | return x.GameService |
153 | } | 153 | } |
@@ -292,23 +292,23 @@ var file_account_proto_rawDesc = []byte{ | @@ -292,23 +292,23 @@ var file_account_proto_rawDesc = []byte{ | ||
292 | 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x6f, 0x72, | 292 | 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x6f, 0x72, |
293 | 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x6f, 0x72, | 293 | 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x6f, 0x72, |
294 | 0x74, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, | 294 | 0x74, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, |
295 | - 0x05, 0x52, 0x06, 0x67, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x60, 0x0a, 0x0f, 0x41, 0x63, 0x63, | ||
296 | - 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, | ||
297 | - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, | ||
298 | - 0x65, 0x6e, 0x12, 0x37, 0x0a, 0x0c, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, | ||
299 | - 0x63, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, | ||
300 | - 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, | ||
301 | - 0x67, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x50, 0x0a, 0x08, 0x52, | ||
302 | - 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, | ||
303 | - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1a, 0x0a, | ||
304 | - 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, | ||
305 | - 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, | ||
306 | - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x39, 0x0a, | ||
307 | - 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0c, | ||
308 | - 0x0a, 0x01, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x69, 0x12, 0x0c, 0x0a, 0x01, | ||
309 | - 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, | ||
310 | - 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, 0x70, | ||
311 | - 0x62, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, | 295 | + 0x05, 0x52, 0x06, 0x67, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x5d, 0x0a, 0x0c, 0x41, 0x63, 0x63, |
296 | + 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, | ||
297 | + 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, | ||
298 | + 0x37, 0x0a, 0x0c, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, | ||
299 | + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, | ||
300 | + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x67, 0x61, 0x6d, | ||
301 | + 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x50, 0x0a, 0x08, 0x52, 0x65, 0x67, 0x69, | ||
302 | + 0x73, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, | ||
303 | + 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, | ||
304 | + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, | ||
305 | + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, | ||
306 | + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x39, 0x0a, 0x0d, 0x55, 0x70, | ||
307 | + 0x64, 0x61, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0c, 0x0a, 0x01, 0x69, | ||
308 | + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x69, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x02, | ||
309 | + 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x03, 0x20, 0x01, | ||
310 | + 0x28, 0x05, 0x52, 0x01, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, 0x70, 0x62, 0x3b, 0x70, | ||
311 | + 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, | ||
312 | } | 312 | } |
313 | 313 | ||
314 | var ( | 314 | var ( |
@@ -325,13 +325,13 @@ func file_account_proto_rawDescGZIP() []byte { | @@ -325,13 +325,13 @@ func file_account_proto_rawDescGZIP() []byte { | ||
325 | 325 | ||
326 | var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 4) | 326 | var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
327 | var file_account_proto_goTypes = []interface{}{ | 327 | var file_account_proto_goTypes = []interface{}{ |
328 | - (*ServiceInfo)(nil), // 0: account.ServiceInfo | ||
329 | - (*AccountLoginRsp)(nil), // 1: account.AccountLoginRsp | ||
330 | - (*Register)(nil), // 2: account.Register | ||
331 | - (*UpdateVersion)(nil), // 3: account.UpdateVersion | 328 | + (*ServiceInfo)(nil), // 0: account.ServiceInfo |
329 | + (*AccountLogin)(nil), // 1: account.AccountLogin | ||
330 | + (*Register)(nil), // 2: account.Register | ||
331 | + (*UpdateVersion)(nil), // 3: account.UpdateVersion | ||
332 | } | 332 | } |
333 | var file_account_proto_depIdxs = []int32{ | 333 | var file_account_proto_depIdxs = []int32{ |
334 | - 0, // 0: account.AccountLoginRsp.game_service:type_name -> account.ServiceInfo | 334 | + 0, // 0: account.AccountLogin.game_service:type_name -> account.ServiceInfo |
335 | 1, // [1:1] is the sub-list for method output_type | 335 | 1, // [1:1] is the sub-list for method output_type |
336 | 1, // [1:1] is the sub-list for method input_type | 336 | 1, // [1:1] is the sub-list for method input_type |
337 | 1, // [1:1] is the sub-list for extension type_name | 337 | 1, // [1:1] is the sub-list for extension type_name |
@@ -358,7 +358,7 @@ func file_account_proto_init() { | @@ -358,7 +358,7 @@ func file_account_proto_init() { | ||
358 | } | 358 | } |
359 | } | 359 | } |
360 | file_account_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { | 360 | file_account_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
361 | - switch v := v.(*AccountLoginRsp); i { | 361 | + switch v := v.(*AccountLogin); i { |
362 | case 0: | 362 | case 0: |
363 | return &v.state | 363 | return &v.state |
364 | case 1: | 364 | case 1: |
pb/models.pb.go
@@ -20,6 +20,61 @@ const ( | @@ -20,6 +20,61 @@ const ( | ||
20 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) | 20 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
21 | ) | 21 | ) |
22 | 22 | ||
23 | +type LogConf struct { | ||
24 | + state protoimpl.MessageState | ||
25 | + sizeCache protoimpl.SizeCache | ||
26 | + unknownFields protoimpl.UnknownFields | ||
27 | + | ||
28 | + Typ string `protobuf:"bytes,1,opt,name=typ,proto3" json:"typ,omitempty"` | ||
29 | + Ucode string `protobuf:"bytes,2,opt,name=ucode,proto3" json:"ucode,omitempty"` | ||
30 | +} | ||
31 | + | ||
32 | +func (x *LogConf) Reset() { | ||
33 | + *x = LogConf{} | ||
34 | + if protoimpl.UnsafeEnabled { | ||
35 | + mi := &file_models_proto_msgTypes[0] | ||
36 | + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||
37 | + ms.StoreMessageInfo(mi) | ||
38 | + } | ||
39 | +} | ||
40 | + | ||
41 | +func (x *LogConf) String() string { | ||
42 | + return protoimpl.X.MessageStringOf(x) | ||
43 | +} | ||
44 | + | ||
45 | +func (*LogConf) ProtoMessage() {} | ||
46 | + | ||
47 | +func (x *LogConf) ProtoReflect() protoreflect.Message { | ||
48 | + mi := &file_models_proto_msgTypes[0] | ||
49 | + if protoimpl.UnsafeEnabled && x != nil { | ||
50 | + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||
51 | + if ms.LoadMessageInfo() == nil { | ||
52 | + ms.StoreMessageInfo(mi) | ||
53 | + } | ||
54 | + return ms | ||
55 | + } | ||
56 | + return mi.MessageOf(x) | ||
57 | +} | ||
58 | + | ||
59 | +// Deprecated: Use LogConf.ProtoReflect.Descriptor instead. | ||
60 | +func (*LogConf) Descriptor() ([]byte, []int) { | ||
61 | + return file_models_proto_rawDescGZIP(), []int{0} | ||
62 | +} | ||
63 | + | ||
64 | +func (x *LogConf) GetTyp() string { | ||
65 | + if x != nil { | ||
66 | + return x.Typ | ||
67 | + } | ||
68 | + return "" | ||
69 | +} | ||
70 | + | ||
71 | +func (x *LogConf) GetUcode() string { | ||
72 | + if x != nil { | ||
73 | + return x.Ucode | ||
74 | + } | ||
75 | + return "" | ||
76 | +} | ||
77 | + | ||
23 | type Account struct { | 78 | type Account struct { |
24 | state protoimpl.MessageState | 79 | state protoimpl.MessageState |
25 | sizeCache protoimpl.SizeCache | 80 | sizeCache protoimpl.SizeCache |
@@ -33,7 +88,7 @@ type Account struct { | @@ -33,7 +88,7 @@ type Account struct { | ||
33 | func (x *Account) Reset() { | 88 | func (x *Account) Reset() { |
34 | *x = Account{} | 89 | *x = Account{} |
35 | if protoimpl.UnsafeEnabled { | 90 | if protoimpl.UnsafeEnabled { |
36 | - mi := &file_models_proto_msgTypes[0] | 91 | + mi := &file_models_proto_msgTypes[1] |
37 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 92 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
38 | ms.StoreMessageInfo(mi) | 93 | ms.StoreMessageInfo(mi) |
39 | } | 94 | } |
@@ -46,7 +101,7 @@ func (x *Account) String() string { | @@ -46,7 +101,7 @@ func (x *Account) String() string { | ||
46 | func (*Account) ProtoMessage() {} | 101 | func (*Account) ProtoMessage() {} |
47 | 102 | ||
48 | func (x *Account) ProtoReflect() protoreflect.Message { | 103 | func (x *Account) ProtoReflect() protoreflect.Message { |
49 | - mi := &file_models_proto_msgTypes[0] | 104 | + mi := &file_models_proto_msgTypes[1] |
50 | if protoimpl.UnsafeEnabled && x != nil { | 105 | if protoimpl.UnsafeEnabled && x != nil { |
51 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 106 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
52 | if ms.LoadMessageInfo() == nil { | 107 | if ms.LoadMessageInfo() == nil { |
@@ -59,7 +114,7 @@ func (x *Account) ProtoReflect() protoreflect.Message { | @@ -59,7 +114,7 @@ func (x *Account) ProtoReflect() protoreflect.Message { | ||
59 | 114 | ||
60 | // Deprecated: Use Account.ProtoReflect.Descriptor instead. | 115 | // Deprecated: Use Account.ProtoReflect.Descriptor instead. |
61 | func (*Account) Descriptor() ([]byte, []int) { | 116 | func (*Account) Descriptor() ([]byte, []int) { |
62 | - return file_models_proto_rawDescGZIP(), []int{0} | 117 | + return file_models_proto_rawDescGZIP(), []int{1} |
63 | } | 118 | } |
64 | 119 | ||
65 | func (x *Account) GetPhone() string { | 120 | func (x *Account) GetPhone() string { |
@@ -95,7 +150,7 @@ type Config struct { | @@ -95,7 +150,7 @@ type Config struct { | ||
95 | func (x *Config) Reset() { | 150 | func (x *Config) Reset() { |
96 | *x = Config{} | 151 | *x = Config{} |
97 | if protoimpl.UnsafeEnabled { | 152 | if protoimpl.UnsafeEnabled { |
98 | - mi := &file_models_proto_msgTypes[1] | 153 | + mi := &file_models_proto_msgTypes[2] |
99 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 154 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
100 | ms.StoreMessageInfo(mi) | 155 | ms.StoreMessageInfo(mi) |
101 | } | 156 | } |
@@ -108,7 +163,7 @@ func (x *Config) String() string { | @@ -108,7 +163,7 @@ func (x *Config) String() string { | ||
108 | func (*Config) ProtoMessage() {} | 163 | func (*Config) ProtoMessage() {} |
109 | 164 | ||
110 | func (x *Config) ProtoReflect() protoreflect.Message { | 165 | func (x *Config) ProtoReflect() protoreflect.Message { |
111 | - mi := &file_models_proto_msgTypes[1] | 166 | + mi := &file_models_proto_msgTypes[2] |
112 | if protoimpl.UnsafeEnabled && x != nil { | 167 | if protoimpl.UnsafeEnabled && x != nil { |
113 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 168 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
114 | if ms.LoadMessageInfo() == nil { | 169 | if ms.LoadMessageInfo() == nil { |
@@ -121,7 +176,7 @@ func (x *Config) ProtoReflect() protoreflect.Message { | @@ -121,7 +176,7 @@ func (x *Config) ProtoReflect() protoreflect.Message { | ||
121 | 176 | ||
122 | // Deprecated: Use Config.ProtoReflect.Descriptor instead. | 177 | // Deprecated: Use Config.ProtoReflect.Descriptor instead. |
123 | func (*Config) Descriptor() ([]byte, []int) { | 178 | func (*Config) Descriptor() ([]byte, []int) { |
124 | - return file_models_proto_rawDescGZIP(), []int{1} | 179 | + return file_models_proto_rawDescGZIP(), []int{2} |
125 | } | 180 | } |
126 | 181 | ||
127 | func (x *Config) GetId() string { | 182 | func (x *Config) GetId() string { |
@@ -156,7 +211,7 @@ type Hero struct { | @@ -156,7 +211,7 @@ type Hero struct { | ||
156 | func (x *Hero) Reset() { | 211 | func (x *Hero) Reset() { |
157 | *x = Hero{} | 212 | *x = Hero{} |
158 | if protoimpl.UnsafeEnabled { | 213 | if protoimpl.UnsafeEnabled { |
159 | - mi := &file_models_proto_msgTypes[2] | 214 | + mi := &file_models_proto_msgTypes[3] |
160 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 215 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
161 | ms.StoreMessageInfo(mi) | 216 | ms.StoreMessageInfo(mi) |
162 | } | 217 | } |
@@ -169,7 +224,7 @@ func (x *Hero) String() string { | @@ -169,7 +224,7 @@ func (x *Hero) String() string { | ||
169 | func (*Hero) ProtoMessage() {} | 224 | func (*Hero) ProtoMessage() {} |
170 | 225 | ||
171 | func (x *Hero) ProtoReflect() protoreflect.Message { | 226 | func (x *Hero) ProtoReflect() protoreflect.Message { |
172 | - mi := &file_models_proto_msgTypes[2] | 227 | + mi := &file_models_proto_msgTypes[3] |
173 | if protoimpl.UnsafeEnabled && x != nil { | 228 | if protoimpl.UnsafeEnabled && x != nil { |
174 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 229 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
175 | if ms.LoadMessageInfo() == nil { | 230 | if ms.LoadMessageInfo() == nil { |
@@ -182,7 +237,7 @@ func (x *Hero) ProtoReflect() protoreflect.Message { | @@ -182,7 +237,7 @@ func (x *Hero) ProtoReflect() protoreflect.Message { | ||
182 | 237 | ||
183 | // Deprecated: Use Hero.ProtoReflect.Descriptor instead. | 238 | // Deprecated: Use Hero.ProtoReflect.Descriptor instead. |
184 | func (*Hero) Descriptor() ([]byte, []int) { | 239 | func (*Hero) Descriptor() ([]byte, []int) { |
185 | - return file_models_proto_rawDescGZIP(), []int{2} | 240 | + return file_models_proto_rawDescGZIP(), []int{3} |
186 | } | 241 | } |
187 | 242 | ||
188 | func (x *Hero) GetId() string { | 243 | func (x *Hero) GetId() string { |
@@ -258,7 +313,7 @@ type Equipment struct { | @@ -258,7 +313,7 @@ type Equipment struct { | ||
258 | func (x *Equipment) Reset() { | 313 | func (x *Equipment) Reset() { |
259 | *x = Equipment{} | 314 | *x = Equipment{} |
260 | if protoimpl.UnsafeEnabled { | 315 | if protoimpl.UnsafeEnabled { |
261 | - mi := &file_models_proto_msgTypes[3] | 316 | + mi := &file_models_proto_msgTypes[4] |
262 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 317 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
263 | ms.StoreMessageInfo(mi) | 318 | ms.StoreMessageInfo(mi) |
264 | } | 319 | } |
@@ -271,7 +326,7 @@ func (x *Equipment) String() string { | @@ -271,7 +326,7 @@ func (x *Equipment) String() string { | ||
271 | func (*Equipment) ProtoMessage() {} | 326 | func (*Equipment) ProtoMessage() {} |
272 | 327 | ||
273 | func (x *Equipment) ProtoReflect() protoreflect.Message { | 328 | func (x *Equipment) ProtoReflect() protoreflect.Message { |
274 | - mi := &file_models_proto_msgTypes[3] | 329 | + mi := &file_models_proto_msgTypes[4] |
275 | if protoimpl.UnsafeEnabled && x != nil { | 330 | if protoimpl.UnsafeEnabled && x != nil { |
276 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 331 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
277 | if ms.LoadMessageInfo() == nil { | 332 | if ms.LoadMessageInfo() == nil { |
@@ -284,7 +339,7 @@ func (x *Equipment) ProtoReflect() protoreflect.Message { | @@ -284,7 +339,7 @@ func (x *Equipment) ProtoReflect() protoreflect.Message { | ||
284 | 339 | ||
285 | // Deprecated: Use Equipment.ProtoReflect.Descriptor instead. | 340 | // Deprecated: Use Equipment.ProtoReflect.Descriptor instead. |
286 | func (*Equipment) Descriptor() ([]byte, []int) { | 341 | func (*Equipment) Descriptor() ([]byte, []int) { |
287 | - return file_models_proto_rawDescGZIP(), []int{3} | 342 | + return file_models_proto_rawDescGZIP(), []int{4} |
288 | } | 343 | } |
289 | 344 | ||
290 | func (x *Equipment) GetId() string { | 345 | func (x *Equipment) GetId() string { |
@@ -348,7 +403,7 @@ type Prop struct { | @@ -348,7 +403,7 @@ type Prop struct { | ||
348 | func (x *Prop) Reset() { | 403 | func (x *Prop) Reset() { |
349 | *x = Prop{} | 404 | *x = Prop{} |
350 | if protoimpl.UnsafeEnabled { | 405 | if protoimpl.UnsafeEnabled { |
351 | - mi := &file_models_proto_msgTypes[4] | 406 | + mi := &file_models_proto_msgTypes[5] |
352 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 407 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
353 | ms.StoreMessageInfo(mi) | 408 | ms.StoreMessageInfo(mi) |
354 | } | 409 | } |
@@ -361,7 +416,7 @@ func (x *Prop) String() string { | @@ -361,7 +416,7 @@ func (x *Prop) String() string { | ||
361 | func (*Prop) ProtoMessage() {} | 416 | func (*Prop) ProtoMessage() {} |
362 | 417 | ||
363 | func (x *Prop) ProtoReflect() protoreflect.Message { | 418 | func (x *Prop) ProtoReflect() protoreflect.Message { |
364 | - mi := &file_models_proto_msgTypes[4] | 419 | + mi := &file_models_proto_msgTypes[5] |
365 | if protoimpl.UnsafeEnabled && x != nil { | 420 | if protoimpl.UnsafeEnabled && x != nil { |
366 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 421 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
367 | if ms.LoadMessageInfo() == nil { | 422 | if ms.LoadMessageInfo() == nil { |
@@ -374,7 +429,7 @@ func (x *Prop) ProtoReflect() protoreflect.Message { | @@ -374,7 +429,7 @@ func (x *Prop) ProtoReflect() protoreflect.Message { | ||
374 | 429 | ||
375 | // Deprecated: Use Prop.ProtoReflect.Descriptor instead. | 430 | // Deprecated: Use Prop.ProtoReflect.Descriptor instead. |
376 | func (*Prop) Descriptor() ([]byte, []int) { | 431 | func (*Prop) Descriptor() ([]byte, []int) { |
377 | - return file_models_proto_rawDescGZIP(), []int{4} | 432 | + return file_models_proto_rawDescGZIP(), []int{5} |
378 | } | 433 | } |
379 | 434 | ||
380 | func (x *Prop) GetId() string { | 435 | func (x *Prop) GetId() string { |
@@ -406,7 +461,7 @@ type Team struct { | @@ -406,7 +461,7 @@ type Team struct { | ||
406 | func (x *Team) Reset() { | 461 | func (x *Team) Reset() { |
407 | *x = Team{} | 462 | *x = Team{} |
408 | if protoimpl.UnsafeEnabled { | 463 | if protoimpl.UnsafeEnabled { |
409 | - mi := &file_models_proto_msgTypes[5] | 464 | + mi := &file_models_proto_msgTypes[6] |
410 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 465 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
411 | ms.StoreMessageInfo(mi) | 466 | ms.StoreMessageInfo(mi) |
412 | } | 467 | } |
@@ -419,7 +474,7 @@ func (x *Team) String() string { | @@ -419,7 +474,7 @@ func (x *Team) String() string { | ||
419 | func (*Team) ProtoMessage() {} | 474 | func (*Team) ProtoMessage() {} |
420 | 475 | ||
421 | func (x *Team) ProtoReflect() protoreflect.Message { | 476 | func (x *Team) ProtoReflect() protoreflect.Message { |
422 | - mi := &file_models_proto_msgTypes[5] | 477 | + mi := &file_models_proto_msgTypes[6] |
423 | if protoimpl.UnsafeEnabled && x != nil { | 478 | if protoimpl.UnsafeEnabled && x != nil { |
424 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 479 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
425 | if ms.LoadMessageInfo() == nil { | 480 | if ms.LoadMessageInfo() == nil { |
@@ -432,7 +487,7 @@ func (x *Team) ProtoReflect() protoreflect.Message { | @@ -432,7 +487,7 @@ func (x *Team) ProtoReflect() protoreflect.Message { | ||
432 | 487 | ||
433 | // Deprecated: Use Team.ProtoReflect.Descriptor instead. | 488 | // Deprecated: Use Team.ProtoReflect.Descriptor instead. |
434 | func (*Team) Descriptor() ([]byte, []int) { | 489 | func (*Team) Descriptor() ([]byte, []int) { |
435 | - return file_models_proto_rawDescGZIP(), []int{5} | 490 | + return file_models_proto_rawDescGZIP(), []int{6} |
436 | } | 491 | } |
437 | 492 | ||
438 | func (x *Team) GetId() string { | 493 | func (x *Team) GetId() string { |
@@ -482,7 +537,7 @@ type Increment struct { | @@ -482,7 +537,7 @@ type Increment struct { | ||
482 | func (x *Increment) Reset() { | 537 | func (x *Increment) Reset() { |
483 | *x = Increment{} | 538 | *x = Increment{} |
484 | if protoimpl.UnsafeEnabled { | 539 | if protoimpl.UnsafeEnabled { |
485 | - mi := &file_models_proto_msgTypes[6] | 540 | + mi := &file_models_proto_msgTypes[7] |
486 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 541 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
487 | ms.StoreMessageInfo(mi) | 542 | ms.StoreMessageInfo(mi) |
488 | } | 543 | } |
@@ -495,7 +550,7 @@ func (x *Increment) String() string { | @@ -495,7 +550,7 @@ func (x *Increment) String() string { | ||
495 | func (*Increment) ProtoMessage() {} | 550 | func (*Increment) ProtoMessage() {} |
496 | 551 | ||
497 | func (x *Increment) ProtoReflect() protoreflect.Message { | 552 | func (x *Increment) ProtoReflect() protoreflect.Message { |
498 | - mi := &file_models_proto_msgTypes[6] | 553 | + mi := &file_models_proto_msgTypes[7] |
499 | if protoimpl.UnsafeEnabled && x != nil { | 554 | if protoimpl.UnsafeEnabled && x != nil { |
500 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 555 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
501 | if ms.LoadMessageInfo() == nil { | 556 | if ms.LoadMessageInfo() == nil { |
@@ -508,7 +563,7 @@ func (x *Increment) ProtoReflect() protoreflect.Message { | @@ -508,7 +563,7 @@ func (x *Increment) ProtoReflect() protoreflect.Message { | ||
508 | 563 | ||
509 | // Deprecated: Use Increment.ProtoReflect.Descriptor instead. | 564 | // Deprecated: Use Increment.ProtoReflect.Descriptor instead. |
510 | func (*Increment) Descriptor() ([]byte, []int) { | 565 | func (*Increment) Descriptor() ([]byte, []int) { |
511 | - return file_models_proto_rawDescGZIP(), []int{6} | 566 | + return file_models_proto_rawDescGZIP(), []int{7} |
512 | } | 567 | } |
513 | 568 | ||
514 | func (x *Increment) GetKey() string { | 569 | func (x *Increment) GetKey() string { |
@@ -530,8 +585,8 @@ type Role struct { | @@ -530,8 +585,8 @@ type Role struct { | ||
530 | sizeCache protoimpl.SizeCache | 585 | sizeCache protoimpl.SizeCache |
531 | unknownFields protoimpl.UnknownFields | 586 | unknownFields protoimpl.UnknownFields |
532 | 587 | ||
533 | - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" index:"unique" pri:"1"` // @inject_tag: index:"unique" pri:"1" | ||
534 | - Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty" index:"unique"` // @inject_tag: index:"unique" | 588 | + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" index:"unique" pri:"1"` // @inject_tag: index:"unique" pri:"1" |
589 | + Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty" index:"unique"` // @inject_tag: index:"unique" | ||
535 | Device string `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"` | 590 | Device string `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"` |
536 | Nick string `protobuf:"bytes,4,opt,name=nick,proto3" json:"nick,omitempty"` | 591 | Nick string `protobuf:"bytes,4,opt,name=nick,proto3" json:"nick,omitempty"` |
537 | Level int32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"` | 592 | Level int32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"` |
@@ -554,7 +609,7 @@ type Role struct { | @@ -554,7 +609,7 @@ type Role struct { | ||
554 | func (x *Role) Reset() { | 609 | func (x *Role) Reset() { |
555 | *x = Role{} | 610 | *x = Role{} |
556 | if protoimpl.UnsafeEnabled { | 611 | if protoimpl.UnsafeEnabled { |
557 | - mi := &file_models_proto_msgTypes[7] | 612 | + mi := &file_models_proto_msgTypes[8] |
558 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 613 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
559 | ms.StoreMessageInfo(mi) | 614 | ms.StoreMessageInfo(mi) |
560 | } | 615 | } |
@@ -567,7 +622,7 @@ func (x *Role) String() string { | @@ -567,7 +622,7 @@ func (x *Role) String() string { | ||
567 | func (*Role) ProtoMessage() {} | 622 | func (*Role) ProtoMessage() {} |
568 | 623 | ||
569 | func (x *Role) ProtoReflect() protoreflect.Message { | 624 | func (x *Role) ProtoReflect() protoreflect.Message { |
570 | - mi := &file_models_proto_msgTypes[7] | 625 | + mi := &file_models_proto_msgTypes[8] |
571 | if protoimpl.UnsafeEnabled && x != nil { | 626 | if protoimpl.UnsafeEnabled && x != nil { |
572 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 627 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
573 | if ms.LoadMessageInfo() == nil { | 628 | if ms.LoadMessageInfo() == nil { |
@@ -580,7 +635,7 @@ func (x *Role) ProtoReflect() protoreflect.Message { | @@ -580,7 +635,7 @@ func (x *Role) ProtoReflect() protoreflect.Message { | ||
580 | 635 | ||
581 | // Deprecated: Use Role.ProtoReflect.Descriptor instead. | 636 | // Deprecated: Use Role.ProtoReflect.Descriptor instead. |
582 | func (*Role) Descriptor() ([]byte, []int) { | 637 | func (*Role) Descriptor() ([]byte, []int) { |
583 | - return file_models_proto_rawDescGZIP(), []int{7} | 638 | + return file_models_proto_rawDescGZIP(), []int{8} |
584 | } | 639 | } |
585 | 640 | ||
586 | func (x *Role) GetId() string { | 641 | func (x *Role) GetId() string { |
@@ -720,96 +775,99 @@ var File_models_proto protoreflect.FileDescriptor | @@ -720,96 +775,99 @@ var File_models_proto protoreflect.FileDescriptor | ||
720 | 775 | ||
721 | var file_models_proto_rawDesc = []byte{ | 776 | var file_models_proto_rawDesc = []byte{ |
722 | 0x0a, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, | 777 | 0x0a, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, |
723 | - 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x22, 0x4d, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, | ||
724 | - 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, | ||
725 | - 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, | ||
726 | - 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, | ||
727 | - 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, | ||
728 | - 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x32, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, | ||
729 | - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, | ||
730 | - 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, | ||
731 | - 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xc9, 0x01, 0x0a, 0x04, 0x48, 0x65, | ||
732 | - 0x72, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, | ||
733 | - 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, | ||
734 | - 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, | ||
735 | - 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, | ||
736 | - 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, | ||
737 | - 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x69, 0x6e, 0x5f, 0x63, 0x6f, | ||
738 | - 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x65, 0x69, 0x6e, 0x43, | ||
739 | - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x69, 0x6e, 0x5f, 0x70, 0x6f, 0x69, | ||
740 | - 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x65, 0x69, 0x6e, 0x50, 0x6f, | ||
741 | - 0x69, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, | ||
742 | - 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, | ||
743 | - 0x6e, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, | ||
744 | - 0x52, 0x03, 0x65, 0x78, 0x70, 0x22, 0xb3, 0x01, 0x0a, 0x09, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, | ||
745 | - 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, | ||
746 | - 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, | ||
747 | - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, | ||
748 | - 0x74, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x62, 0x49, | ||
749 | - 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x68, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6c, 0x65, 0x76, | ||
750 | - 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x6e, 0x68, 0x61, 0x6e, 0x63, | ||
751 | - 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69, | ||
752 | - 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x12, | ||
753 | - 0x18, 0x0a, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, | ||
754 | - 0x52, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, | ||
755 | - 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0x2c, 0x0a, 0x04, 0x50, | ||
756 | - 0x72, 0x6f, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, | ||
757 | - 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, | ||
758 | - 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x04, 0x54, 0x65, | ||
759 | - 0x61, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, | ||
760 | - 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, | ||
761 | - 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x68, | ||
762 | - 0x65, 0x72, 0x6f, 0x5f, 0x69, 0x64, 0x31, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, | ||
763 | - 0x65, 0x72, 0x6f, 0x49, 0x64, 0x31, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69, | ||
764 | - 0x64, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, | ||
765 | - 0x32, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69, 0x64, 0x33, 0x18, 0x05, 0x20, | ||
766 | - 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x33, 0x22, 0x2f, 0x0a, 0x09, | ||
767 | - 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, | ||
768 | - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x76, | ||
769 | - 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x22, 0x99, 0x05, | ||
770 | - 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, | ||
771 | - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, | ||
772 | - 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, | ||
773 | - 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, | ||
774 | - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x69, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, | ||
775 | - 0x6e, 0x69, 0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, | ||
776 | - 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, | ||
777 | - 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x78, 0x70, 0x12, 0x0e, 0x0a, 0x02, | ||
778 | - 0x68, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x68, 0x70, 0x12, 0x15, 0x0a, 0x06, | ||
779 | - 0x68, 0x70, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x68, 0x70, | ||
780 | - 0x4d, 0x61, 0x78, 0x12, 0x13, 0x0a, 0x05, 0x62, 0x75, 0x79, 0x5f, 0x72, 0x18, 0x0b, 0x20, 0x01, | ||
781 | - 0x28, 0x09, 0x52, 0x04, 0x62, 0x75, 0x79, 0x52, 0x12, 0x13, 0x0a, 0x05, 0x70, 0x61, 0x79, 0x5f, | ||
782 | - 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x79, 0x52, 0x12, 0x10, 0x0a, | ||
783 | - 0x03, 0x64, 0x65, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x64, 0x65, 0x6c, 0x12, | ||
784 | - 0x30, 0x0a, 0x06, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, | ||
785 | - 0x18, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x2e, 0x49, 0x6e, | ||
786 | - 0x63, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x69, 0x6e, 0x63, 0x72, 0x65, | ||
787 | - 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, | ||
788 | - 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6c, 0x6f, 0x74, 0x68, | ||
789 | - 0x65, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, | ||
790 | - 0x6c, 0x6f, 0x74, 0x68, 0x65, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x77, | ||
791 | - 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, | ||
792 | - 0x0d, 0x52, 0x0c, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, | ||
793 | - 0x1e, 0x0a, 0x0a, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x12, 0x20, | ||
794 | - 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, | ||
795 | - 0x22, 0x0a, 0x0c, 0x6a, 0x65, 0x77, 0x65, 0x6c, 0x72, 0x79, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, | ||
796 | - 0x13, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6a, 0x65, 0x77, 0x65, 0x6c, 0x72, 0x79, 0x6c, 0x69, | ||
797 | - 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x6c, | ||
798 | - 0x69, 0x6d, 0x69, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6d, 0x61, 0x74, 0x65, | ||
799 | - 0x72, 0x69, 0x61, 0x6c, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x42, 0x0a, 0x0c, 0x70, 0x61, 0x73, | ||
800 | - 0x73, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, | ||
801 | - 0x1e, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x2e, 0x50, 0x61, | ||
802 | - 0x73, 0x73, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, | ||
803 | - 0x0c, 0x70, 0x61, 0x73, 0x73, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x39, 0x0a, | ||
804 | - 0x0b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, | ||
805 | - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, | ||
806 | - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, | ||
807 | - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x50, 0x61, 0x73, 0x73, | ||
808 | - 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, | ||
809 | - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, | ||
810 | - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, | ||
811 | - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, | ||
812 | - 0x70, 0x62, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, | 778 | + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x22, 0x31, 0x0a, 0x07, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, |
779 | + 0x66, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x79, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, | ||
780 | + 0x74, 0x79, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, | ||
781 | + 0x28, 0x09, 0x52, 0x05, 0x75, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x4d, 0x0a, 0x07, 0x41, 0x63, 0x63, | ||
782 | + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, | ||
783 | + 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, | ||
784 | + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, | ||
785 | + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, | ||
786 | + 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x32, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, | ||
787 | + 0x69, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, | ||
788 | + 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, | ||
789 | + 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xc9, 0x01, 0x0a, | ||
790 | + 0x04, 0x48, 0x65, 0x72, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, | ||
791 | + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, | ||
792 | + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12, | ||
793 | + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, | ||
794 | + 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, | ||
795 | + 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x69, 0x6e, | ||
796 | + 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x65, | ||
797 | + 0x69, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x69, 0x6e, 0x5f, | ||
798 | + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x65, 0x69, | ||
799 | + 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x6d, | ||
800 | + 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x71, 0x75, 0x69, | ||
801 | + 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x78, 0x70, 0x18, 0x08, 0x20, | ||
802 | + 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x78, 0x70, 0x22, 0xb3, 0x01, 0x0a, 0x09, 0x45, 0x71, 0x75, | ||
803 | + 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, | ||
804 | + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, | ||
805 | + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, | ||
806 | + 0x13, 0x0a, 0x05, 0x74, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, | ||
807 | + 0x74, 0x62, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x68, 0x61, 0x6e, 0x63, 0x65, 0x5f, | ||
808 | + 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x6e, 0x68, | ||
809 | + 0x61, 0x6e, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x65, 0x72, | ||
810 | + 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, | ||
811 | + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, | ||
812 | + 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, | ||
813 | + 0x70, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0x2c, | ||
814 | + 0x0a, 0x04, 0x50, 0x72, 0x6f, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, | ||
815 | + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, | ||
816 | + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x80, 0x01, 0x0a, | ||
817 | + 0x04, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, | ||
818 | + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, | ||
819 | + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, | ||
820 | + 0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69, 0x64, 0x31, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, | ||
821 | + 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x31, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x65, 0x72, | ||
822 | + 0x6f, 0x5f, 0x69, 0x64, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, | ||
823 | + 0x6f, 0x49, 0x64, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69, 0x64, 0x33, | ||
824 | + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x33, 0x22, | ||
825 | + 0x2f, 0x0a, 0x09, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, | ||
826 | + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x10, | ||
827 | + 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x76, 0x61, 0x6c, | ||
828 | + 0x22, 0x99, 0x05, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, | ||
829 | + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, | ||
830 | + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, | ||
831 | + 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, | ||
832 | + 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x69, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, | ||
833 | + 0x09, 0x52, 0x04, 0x6e, 0x69, 0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, | ||
834 | + 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x10, 0x0a, | ||
835 | + 0x03, 0x65, 0x78, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x78, 0x70, 0x12, | ||
836 | + 0x0e, 0x0a, 0x02, 0x68, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x68, 0x70, 0x12, | ||
837 | + 0x15, 0x0a, 0x06, 0x68, 0x70, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, | ||
838 | + 0x05, 0x68, 0x70, 0x4d, 0x61, 0x78, 0x12, 0x13, 0x0a, 0x05, 0x62, 0x75, 0x79, 0x5f, 0x72, 0x18, | ||
839 | + 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x75, 0x79, 0x52, 0x12, 0x13, 0x0a, 0x05, 0x70, | ||
840 | + 0x61, 0x79, 0x5f, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x79, 0x52, | ||
841 | + 0x12, 0x10, 0x0a, 0x03, 0x64, 0x65, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x64, | ||
842 | + 0x65, 0x6c, 0x12, 0x30, 0x0a, 0x06, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, | ||
843 | + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, | ||
844 | + 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x69, 0x6e, | ||
845 | + 0x63, 0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x0f, 0x20, | ||
846 | + 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6c, | ||
847 | + 0x6f, 0x74, 0x68, 0x65, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, | ||
848 | + 0x52, 0x0c, 0x63, 0x6c, 0x6f, 0x74, 0x68, 0x65, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x22, | ||
849 | + 0x0a, 0x0c, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x11, | ||
850 | + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d, | ||
851 | + 0x69, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x6c, 0x69, 0x6d, 0x69, 0x74, | ||
852 | + 0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x6c, 0x69, 0x6d, | ||
853 | + 0x69, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6a, 0x65, 0x77, 0x65, 0x6c, 0x72, 0x79, 0x6c, 0x69, 0x6d, | ||
854 | + 0x69, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6a, 0x65, 0x77, 0x65, 0x6c, 0x72, | ||
855 | + 0x79, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, | ||
856 | + 0x61, 0x6c, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6d, | ||
857 | + 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x42, 0x0a, 0x0c, | ||
858 | + 0x70, 0x61, 0x73, 0x73, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73, 0x18, 0x15, 0x20, 0x03, | ||
859 | + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, | ||
860 | + 0x2e, 0x50, 0x61, 0x73, 0x73, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, | ||
861 | + 0x72, 0x79, 0x52, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73, | ||
862 | + 0x1a, 0x39, 0x0a, 0x0b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, | ||
863 | + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, | ||
864 | + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, | ||
865 | + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x50, | ||
866 | + 0x61, 0x73, 0x73, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, | ||
867 | + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, | ||
868 | + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, | ||
869 | + 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x5a, 0x08, | ||
870 | + 0x2e, 0x2e, 0x2f, 0x70, 0x62, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, | ||
813 | } | 871 | } |
814 | 872 | ||
815 | var ( | 873 | var ( |
@@ -824,27 +882,28 @@ func file_models_proto_rawDescGZIP() []byte { | @@ -824,27 +882,28 @@ func file_models_proto_rawDescGZIP() []byte { | ||
824 | return file_models_proto_rawDescData | 882 | return file_models_proto_rawDescData |
825 | } | 883 | } |
826 | 884 | ||
827 | -var file_models_proto_msgTypes = make([]protoimpl.MessageInfo, 10) | 885 | +var file_models_proto_msgTypes = make([]protoimpl.MessageInfo, 11) |
828 | var file_models_proto_goTypes = []interface{}{ | 886 | var file_models_proto_goTypes = []interface{}{ |
829 | - (*Account)(nil), // 0: models.Account | ||
830 | - (*Config)(nil), // 1: models.Config | ||
831 | - (*Hero)(nil), // 2: models.Hero | ||
832 | - (*Equipment)(nil), // 3: models.Equipment | ||
833 | - (*Prop)(nil), // 4: models.Prop | ||
834 | - (*Team)(nil), // 5: models.Team | ||
835 | - (*Increment)(nil), // 6: models.Increment | ||
836 | - (*Role)(nil), // 7: models.Role | ||
837 | - nil, // 8: models.Role.IncresEntry | ||
838 | - nil, // 9: models.Role.PasschaptersEntry | 887 | + (*LogConf)(nil), // 0: models.LogConf |
888 | + (*Account)(nil), // 1: models.Account | ||
889 | + (*Config)(nil), // 2: models.Config | ||
890 | + (*Hero)(nil), // 3: models.Hero | ||
891 | + (*Equipment)(nil), // 4: models.Equipment | ||
892 | + (*Prop)(nil), // 5: models.Prop | ||
893 | + (*Team)(nil), // 6: models.Team | ||
894 | + (*Increment)(nil), // 7: models.Increment | ||
895 | + (*Role)(nil), // 8: models.Role | ||
896 | + nil, // 9: models.Role.IncresEntry | ||
897 | + nil, // 10: models.Role.PasschaptersEntry | ||
839 | } | 898 | } |
840 | var file_models_proto_depIdxs = []int32{ | 899 | var file_models_proto_depIdxs = []int32{ |
841 | - 8, // 0: models.Role.incres:type_name -> models.Role.IncresEntry | ||
842 | - 9, // 1: models.Role.passchapters:type_name -> models.Role.PasschaptersEntry | ||
843 | - 2, // [2:2] is the sub-list for method output_type | ||
844 | - 2, // [2:2] is the sub-list for method input_type | ||
845 | - 2, // [2:2] is the sub-list for extension type_name | ||
846 | - 2, // [2:2] is the sub-list for extension extendee | ||
847 | - 0, // [0:2] is the sub-list for field type_name | 900 | + 9, // 0: models.Role.incres:type_name -> models.Role.IncresEntry |
901 | + 10, // 1: models.Role.passchapters:type_name -> models.Role.PasschaptersEntry | ||
902 | + 2, // [2:2] is the sub-list for method output_type | ||
903 | + 2, // [2:2] is the sub-list for method input_type | ||
904 | + 2, // [2:2] is the sub-list for extension type_name | ||
905 | + 2, // [2:2] is the sub-list for extension extendee | ||
906 | + 0, // [0:2] is the sub-list for field type_name | ||
848 | } | 907 | } |
849 | 908 | ||
850 | func init() { file_models_proto_init() } | 909 | func init() { file_models_proto_init() } |
@@ -854,7 +913,7 @@ func file_models_proto_init() { | @@ -854,7 +913,7 @@ func file_models_proto_init() { | ||
854 | } | 913 | } |
855 | if !protoimpl.UnsafeEnabled { | 914 | if !protoimpl.UnsafeEnabled { |
856 | file_models_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { | 915 | file_models_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
857 | - switch v := v.(*Account); i { | 916 | + switch v := v.(*LogConf); i { |
858 | case 0: | 917 | case 0: |
859 | return &v.state | 918 | return &v.state |
860 | case 1: | 919 | case 1: |
@@ -866,7 +925,7 @@ func file_models_proto_init() { | @@ -866,7 +925,7 @@ func file_models_proto_init() { | ||
866 | } | 925 | } |
867 | } | 926 | } |
868 | file_models_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { | 927 | file_models_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
869 | - switch v := v.(*Config); i { | 928 | + switch v := v.(*Account); i { |
870 | case 0: | 929 | case 0: |
871 | return &v.state | 930 | return &v.state |
872 | case 1: | 931 | case 1: |
@@ -878,7 +937,7 @@ func file_models_proto_init() { | @@ -878,7 +937,7 @@ func file_models_proto_init() { | ||
878 | } | 937 | } |
879 | } | 938 | } |
880 | file_models_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { | 939 | file_models_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
881 | - switch v := v.(*Hero); i { | 940 | + switch v := v.(*Config); i { |
882 | case 0: | 941 | case 0: |
883 | return &v.state | 942 | return &v.state |
884 | case 1: | 943 | case 1: |
@@ -890,7 +949,7 @@ func file_models_proto_init() { | @@ -890,7 +949,7 @@ func file_models_proto_init() { | ||
890 | } | 949 | } |
891 | } | 950 | } |
892 | file_models_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { | 951 | file_models_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
893 | - switch v := v.(*Equipment); i { | 952 | + switch v := v.(*Hero); i { |
894 | case 0: | 953 | case 0: |
895 | return &v.state | 954 | return &v.state |
896 | case 1: | 955 | case 1: |
@@ -902,7 +961,7 @@ func file_models_proto_init() { | @@ -902,7 +961,7 @@ func file_models_proto_init() { | ||
902 | } | 961 | } |
903 | } | 962 | } |
904 | file_models_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { | 963 | file_models_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
905 | - switch v := v.(*Prop); i { | 964 | + switch v := v.(*Equipment); i { |
906 | case 0: | 965 | case 0: |
907 | return &v.state | 966 | return &v.state |
908 | case 1: | 967 | case 1: |
@@ -914,7 +973,7 @@ func file_models_proto_init() { | @@ -914,7 +973,7 @@ func file_models_proto_init() { | ||
914 | } | 973 | } |
915 | } | 974 | } |
916 | file_models_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { | 975 | file_models_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
917 | - switch v := v.(*Team); i { | 976 | + switch v := v.(*Prop); i { |
918 | case 0: | 977 | case 0: |
919 | return &v.state | 978 | return &v.state |
920 | case 1: | 979 | case 1: |
@@ -926,7 +985,7 @@ func file_models_proto_init() { | @@ -926,7 +985,7 @@ func file_models_proto_init() { | ||
926 | } | 985 | } |
927 | } | 986 | } |
928 | file_models_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { | 987 | file_models_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
929 | - switch v := v.(*Increment); i { | 988 | + switch v := v.(*Team); i { |
930 | case 0: | 989 | case 0: |
931 | return &v.state | 990 | return &v.state |
932 | case 1: | 991 | case 1: |
@@ -938,6 +997,18 @@ func file_models_proto_init() { | @@ -938,6 +997,18 @@ func file_models_proto_init() { | ||
938 | } | 997 | } |
939 | } | 998 | } |
940 | file_models_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { | 999 | file_models_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
1000 | + switch v := v.(*Increment); i { | ||
1001 | + case 0: | ||
1002 | + return &v.state | ||
1003 | + case 1: | ||
1004 | + return &v.sizeCache | ||
1005 | + case 2: | ||
1006 | + return &v.unknownFields | ||
1007 | + default: | ||
1008 | + return nil | ||
1009 | + } | ||
1010 | + } | ||
1011 | + file_models_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { | ||
941 | switch v := v.(*Role); i { | 1012 | switch v := v.(*Role); i { |
942 | case 0: | 1013 | case 0: |
943 | return &v.state | 1014 | return &v.state |
@@ -956,7 +1027,7 @@ func file_models_proto_init() { | @@ -956,7 +1027,7 @@ func file_models_proto_init() { | ||
956 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), | 1027 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
957 | RawDescriptor: file_models_proto_rawDesc, | 1028 | RawDescriptor: file_models_proto_rawDesc, |
958 | NumEnums: 0, | 1029 | NumEnums: 0, |
959 | - NumMessages: 10, | 1030 | + NumMessages: 11, |
960 | NumExtensions: 0, | 1031 | NumExtensions: 0, |
961 | NumServices: 0, | 1032 | NumServices: 0, |
962 | }, | 1033 | }, |