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 | 85 | return 3, "password error" |
86 | 86 | } |
87 | 87 | |
88 | - rsp := &pb.AccountLoginRsp{ | |
88 | + rsp := &pb.AccountLogin{ | |
89 | 89 | Token: account.Uid, |
90 | 90 | GameService: common.GlobalConf.GameService.ServiceInfo, |
91 | 91 | } | ... | ... |
pb/account.pb.go
... | ... | @@ -99,7 +99,7 @@ func (x *ServiceInfo) GetGmport() int32 { |
99 | 99 | return 0 |
100 | 100 | } |
101 | 101 | |
102 | -type AccountLoginRsp struct { | |
102 | +type AccountLogin struct { | |
103 | 103 | state protoimpl.MessageState |
104 | 104 | sizeCache protoimpl.SizeCache |
105 | 105 | unknownFields protoimpl.UnknownFields |
... | ... | @@ -108,8 +108,8 @@ type AccountLoginRsp struct { |
108 | 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 | 113 | if protoimpl.UnsafeEnabled { |
114 | 114 | mi := &file_account_proto_msgTypes[1] |
115 | 115 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
... | ... | @@ -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 | 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 | 127 | mi := &file_account_proto_msgTypes[1] |
128 | 128 | if protoimpl.UnsafeEnabled && x != nil { |
129 | 129 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
... | ... | @@ -135,19 +135,19 @@ func (x *AccountLoginRsp) ProtoReflect() protoreflect.Message { |
135 | 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 | 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 | 144 | if x != nil { |
145 | 145 | return x.Token |
146 | 146 | } |
147 | 147 | return "" |
148 | 148 | } |
149 | 149 | |
150 | -func (x *AccountLoginRsp) GetGameService() []*ServiceInfo { | |
150 | +func (x *AccountLogin) GetGameService() []*ServiceInfo { | |
151 | 151 | if x != nil { |
152 | 152 | return x.GameService |
153 | 153 | } |
... | ... | @@ -292,23 +292,23 @@ var file_account_proto_rawDesc = []byte{ |
292 | 292 | 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x6f, 0x72, |
293 | 293 | 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x67, 0x61, 0x6d, 0x65, 0x70, 0x6f, 0x72, |
294 | 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 | 314 | var ( |
... | ... | @@ -325,13 +325,13 @@ func file_account_proto_rawDescGZIP() []byte { |
325 | 325 | |
326 | 326 | var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
327 | 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 | 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 | 335 | 1, // [1:1] is the sub-list for method output_type |
336 | 336 | 1, // [1:1] is the sub-list for method input_type |
337 | 337 | 1, // [1:1] is the sub-list for extension type_name |
... | ... | @@ -358,7 +358,7 @@ func file_account_proto_init() { |
358 | 358 | } |
359 | 359 | } |
360 | 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 | 362 | case 0: |
363 | 363 | return &v.state |
364 | 364 | case 1: | ... | ... |
pb/models.pb.go
... | ... | @@ -20,6 +20,61 @@ const ( |
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 | 78 | type Account struct { |
24 | 79 | state protoimpl.MessageState |
25 | 80 | sizeCache protoimpl.SizeCache |
... | ... | @@ -33,7 +88,7 @@ type Account struct { |
33 | 88 | func (x *Account) Reset() { |
34 | 89 | *x = Account{} |
35 | 90 | if protoimpl.UnsafeEnabled { |
36 | - mi := &file_models_proto_msgTypes[0] | |
91 | + mi := &file_models_proto_msgTypes[1] | |
37 | 92 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
38 | 93 | ms.StoreMessageInfo(mi) |
39 | 94 | } |
... | ... | @@ -46,7 +101,7 @@ func (x *Account) String() string { |
46 | 101 | func (*Account) ProtoMessage() {} |
47 | 102 | |
48 | 103 | func (x *Account) ProtoReflect() protoreflect.Message { |
49 | - mi := &file_models_proto_msgTypes[0] | |
104 | + mi := &file_models_proto_msgTypes[1] | |
50 | 105 | if protoimpl.UnsafeEnabled && x != nil { |
51 | 106 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
52 | 107 | if ms.LoadMessageInfo() == nil { |
... | ... | @@ -59,7 +114,7 @@ func (x *Account) ProtoReflect() protoreflect.Message { |
59 | 114 | |
60 | 115 | // Deprecated: Use Account.ProtoReflect.Descriptor instead. |
61 | 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 | 120 | func (x *Account) GetPhone() string { |
... | ... | @@ -95,7 +150,7 @@ type Config struct { |
95 | 150 | func (x *Config) Reset() { |
96 | 151 | *x = Config{} |
97 | 152 | if protoimpl.UnsafeEnabled { |
98 | - mi := &file_models_proto_msgTypes[1] | |
153 | + mi := &file_models_proto_msgTypes[2] | |
99 | 154 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
100 | 155 | ms.StoreMessageInfo(mi) |
101 | 156 | } |
... | ... | @@ -108,7 +163,7 @@ func (x *Config) String() string { |
108 | 163 | func (*Config) ProtoMessage() {} |
109 | 164 | |
110 | 165 | func (x *Config) ProtoReflect() protoreflect.Message { |
111 | - mi := &file_models_proto_msgTypes[1] | |
166 | + mi := &file_models_proto_msgTypes[2] | |
112 | 167 | if protoimpl.UnsafeEnabled && x != nil { |
113 | 168 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
114 | 169 | if ms.LoadMessageInfo() == nil { |
... | ... | @@ -121,7 +176,7 @@ func (x *Config) ProtoReflect() protoreflect.Message { |
121 | 176 | |
122 | 177 | // Deprecated: Use Config.ProtoReflect.Descriptor instead. |
123 | 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 | 182 | func (x *Config) GetId() string { |
... | ... | @@ -156,7 +211,7 @@ type Hero struct { |
156 | 211 | func (x *Hero) Reset() { |
157 | 212 | *x = Hero{} |
158 | 213 | if protoimpl.UnsafeEnabled { |
159 | - mi := &file_models_proto_msgTypes[2] | |
214 | + mi := &file_models_proto_msgTypes[3] | |
160 | 215 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
161 | 216 | ms.StoreMessageInfo(mi) |
162 | 217 | } |
... | ... | @@ -169,7 +224,7 @@ func (x *Hero) String() string { |
169 | 224 | func (*Hero) ProtoMessage() {} |
170 | 225 | |
171 | 226 | func (x *Hero) ProtoReflect() protoreflect.Message { |
172 | - mi := &file_models_proto_msgTypes[2] | |
227 | + mi := &file_models_proto_msgTypes[3] | |
173 | 228 | if protoimpl.UnsafeEnabled && x != nil { |
174 | 229 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
175 | 230 | if ms.LoadMessageInfo() == nil { |
... | ... | @@ -182,7 +237,7 @@ func (x *Hero) ProtoReflect() protoreflect.Message { |
182 | 237 | |
183 | 238 | // Deprecated: Use Hero.ProtoReflect.Descriptor instead. |
184 | 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 | 243 | func (x *Hero) GetId() string { |
... | ... | @@ -258,7 +313,7 @@ type Equipment struct { |
258 | 313 | func (x *Equipment) Reset() { |
259 | 314 | *x = Equipment{} |
260 | 315 | if protoimpl.UnsafeEnabled { |
261 | - mi := &file_models_proto_msgTypes[3] | |
316 | + mi := &file_models_proto_msgTypes[4] | |
262 | 317 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
263 | 318 | ms.StoreMessageInfo(mi) |
264 | 319 | } |
... | ... | @@ -271,7 +326,7 @@ func (x *Equipment) String() string { |
271 | 326 | func (*Equipment) ProtoMessage() {} |
272 | 327 | |
273 | 328 | func (x *Equipment) ProtoReflect() protoreflect.Message { |
274 | - mi := &file_models_proto_msgTypes[3] | |
329 | + mi := &file_models_proto_msgTypes[4] | |
275 | 330 | if protoimpl.UnsafeEnabled && x != nil { |
276 | 331 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
277 | 332 | if ms.LoadMessageInfo() == nil { |
... | ... | @@ -284,7 +339,7 @@ func (x *Equipment) ProtoReflect() protoreflect.Message { |
284 | 339 | |
285 | 340 | // Deprecated: Use Equipment.ProtoReflect.Descriptor instead. |
286 | 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 | 345 | func (x *Equipment) GetId() string { |
... | ... | @@ -348,7 +403,7 @@ type Prop struct { |
348 | 403 | func (x *Prop) Reset() { |
349 | 404 | *x = Prop{} |
350 | 405 | if protoimpl.UnsafeEnabled { |
351 | - mi := &file_models_proto_msgTypes[4] | |
406 | + mi := &file_models_proto_msgTypes[5] | |
352 | 407 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
353 | 408 | ms.StoreMessageInfo(mi) |
354 | 409 | } |
... | ... | @@ -361,7 +416,7 @@ func (x *Prop) String() string { |
361 | 416 | func (*Prop) ProtoMessage() {} |
362 | 417 | |
363 | 418 | func (x *Prop) ProtoReflect() protoreflect.Message { |
364 | - mi := &file_models_proto_msgTypes[4] | |
419 | + mi := &file_models_proto_msgTypes[5] | |
365 | 420 | if protoimpl.UnsafeEnabled && x != nil { |
366 | 421 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
367 | 422 | if ms.LoadMessageInfo() == nil { |
... | ... | @@ -374,7 +429,7 @@ func (x *Prop) ProtoReflect() protoreflect.Message { |
374 | 429 | |
375 | 430 | // Deprecated: Use Prop.ProtoReflect.Descriptor instead. |
376 | 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 | 435 | func (x *Prop) GetId() string { |
... | ... | @@ -406,7 +461,7 @@ type Team struct { |
406 | 461 | func (x *Team) Reset() { |
407 | 462 | *x = Team{} |
408 | 463 | if protoimpl.UnsafeEnabled { |
409 | - mi := &file_models_proto_msgTypes[5] | |
464 | + mi := &file_models_proto_msgTypes[6] | |
410 | 465 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
411 | 466 | ms.StoreMessageInfo(mi) |
412 | 467 | } |
... | ... | @@ -419,7 +474,7 @@ func (x *Team) String() string { |
419 | 474 | func (*Team) ProtoMessage() {} |
420 | 475 | |
421 | 476 | func (x *Team) ProtoReflect() protoreflect.Message { |
422 | - mi := &file_models_proto_msgTypes[5] | |
477 | + mi := &file_models_proto_msgTypes[6] | |
423 | 478 | if protoimpl.UnsafeEnabled && x != nil { |
424 | 479 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
425 | 480 | if ms.LoadMessageInfo() == nil { |
... | ... | @@ -432,7 +487,7 @@ func (x *Team) ProtoReflect() protoreflect.Message { |
432 | 487 | |
433 | 488 | // Deprecated: Use Team.ProtoReflect.Descriptor instead. |
434 | 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 | 493 | func (x *Team) GetId() string { |
... | ... | @@ -482,7 +537,7 @@ type Increment struct { |
482 | 537 | func (x *Increment) Reset() { |
483 | 538 | *x = Increment{} |
484 | 539 | if protoimpl.UnsafeEnabled { |
485 | - mi := &file_models_proto_msgTypes[6] | |
540 | + mi := &file_models_proto_msgTypes[7] | |
486 | 541 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
487 | 542 | ms.StoreMessageInfo(mi) |
488 | 543 | } |
... | ... | @@ -495,7 +550,7 @@ func (x *Increment) String() string { |
495 | 550 | func (*Increment) ProtoMessage() {} |
496 | 551 | |
497 | 552 | func (x *Increment) ProtoReflect() protoreflect.Message { |
498 | - mi := &file_models_proto_msgTypes[6] | |
553 | + mi := &file_models_proto_msgTypes[7] | |
499 | 554 | if protoimpl.UnsafeEnabled && x != nil { |
500 | 555 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
501 | 556 | if ms.LoadMessageInfo() == nil { |
... | ... | @@ -508,7 +563,7 @@ func (x *Increment) ProtoReflect() protoreflect.Message { |
508 | 563 | |
509 | 564 | // Deprecated: Use Increment.ProtoReflect.Descriptor instead. |
510 | 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 | 569 | func (x *Increment) GetKey() string { |
... | ... | @@ -530,8 +585,8 @@ type Role struct { |
530 | 585 | sizeCache protoimpl.SizeCache |
531 | 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 | 590 | Device string `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"` |
536 | 591 | Nick string `protobuf:"bytes,4,opt,name=nick,proto3" json:"nick,omitempty"` |
537 | 592 | Level int32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"` |
... | ... | @@ -554,7 +609,7 @@ type Role struct { |
554 | 609 | func (x *Role) Reset() { |
555 | 610 | *x = Role{} |
556 | 611 | if protoimpl.UnsafeEnabled { |
557 | - mi := &file_models_proto_msgTypes[7] | |
612 | + mi := &file_models_proto_msgTypes[8] | |
558 | 613 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
559 | 614 | ms.StoreMessageInfo(mi) |
560 | 615 | } |
... | ... | @@ -567,7 +622,7 @@ func (x *Role) String() string { |
567 | 622 | func (*Role) ProtoMessage() {} |
568 | 623 | |
569 | 624 | func (x *Role) ProtoReflect() protoreflect.Message { |
570 | - mi := &file_models_proto_msgTypes[7] | |
625 | + mi := &file_models_proto_msgTypes[8] | |
571 | 626 | if protoimpl.UnsafeEnabled && x != nil { |
572 | 627 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
573 | 628 | if ms.LoadMessageInfo() == nil { |
... | ... | @@ -580,7 +635,7 @@ func (x *Role) ProtoReflect() protoreflect.Message { |
580 | 635 | |
581 | 636 | // Deprecated: Use Role.ProtoReflect.Descriptor instead. |
582 | 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 | 641 | func (x *Role) GetId() string { |
... | ... | @@ -720,96 +775,99 @@ var File_models_proto protoreflect.FileDescriptor |
720 | 775 | |
721 | 776 | var file_models_proto_rawDesc = []byte{ |
722 | 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 | 873 | var ( |
... | ... | @@ -824,27 +882,28 @@ func file_models_proto_rawDescGZIP() []byte { |
824 | 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 | 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 | 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 | 909 | func init() { file_models_proto_init() } |
... | ... | @@ -854,7 +913,7 @@ func file_models_proto_init() { |
854 | 913 | } |
855 | 914 | if !protoimpl.UnsafeEnabled { |
856 | 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 | 917 | case 0: |
859 | 918 | return &v.state |
860 | 919 | case 1: |
... | ... | @@ -866,7 +925,7 @@ func file_models_proto_init() { |
866 | 925 | } |
867 | 926 | } |
868 | 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 | 929 | case 0: |
871 | 930 | return &v.state |
872 | 931 | case 1: |
... | ... | @@ -878,7 +937,7 @@ func file_models_proto_init() { |
878 | 937 | } |
879 | 938 | } |
880 | 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 | 941 | case 0: |
883 | 942 | return &v.state |
884 | 943 | case 1: |
... | ... | @@ -890,7 +949,7 @@ func file_models_proto_init() { |
890 | 949 | } |
891 | 950 | } |
892 | 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 | 953 | case 0: |
895 | 954 | return &v.state |
896 | 955 | case 1: |
... | ... | @@ -902,7 +961,7 @@ func file_models_proto_init() { |
902 | 961 | } |
903 | 962 | } |
904 | 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 | 965 | case 0: |
907 | 966 | return &v.state |
908 | 967 | case 1: |
... | ... | @@ -914,7 +973,7 @@ func file_models_proto_init() { |
914 | 973 | } |
915 | 974 | } |
916 | 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 | 977 | case 0: |
919 | 978 | return &v.state |
920 | 979 | case 1: |
... | ... | @@ -926,7 +985,7 @@ func file_models_proto_init() { |
926 | 985 | } |
927 | 986 | } |
928 | 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 | 989 | case 0: |
931 | 990 | return &v.state |
932 | 991 | case 1: |
... | ... | @@ -938,6 +997,18 @@ func file_models_proto_init() { |
938 | 997 | } |
939 | 998 | } |
940 | 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 | 1012 | switch v := v.(*Role); i { |
942 | 1013 | case 0: |
943 | 1014 | return &v.state |
... | ... | @@ -956,7 +1027,7 @@ func file_models_proto_init() { |
956 | 1027 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
957 | 1028 | RawDescriptor: file_models_proto_rawDesc, |
958 | 1029 | NumEnums: 0, |
959 | - NumMessages: 10, | |
1030 | + NumMessages: 11, | |
960 | 1031 | NumExtensions: 0, |
961 | 1032 | NumServices: 0, |
962 | 1033 | }, | ... | ... |