github.com/qiuhoude/go-web@v0.0.0-20220223060959-ab545e78f20d/proto/v2/models/Cross.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: Cross.proto 3 4 package models 5 6 import ( 7 fmt "fmt" 8 proto "github.com/gogo/protobuf/proto" 9 math "math" 10 ) 11 12 // Reference imports to suppress errors if they are not otherwise used. 13 var _ = proto.Marshal 14 var _ = fmt.Errorf 15 var _ = math.Inf 16 17 // This is a compile-time assertion to ensure that this generated file 18 // is compatible with the proto package it is being compiled against. 19 // A compilation error at this line likely means your copy of the 20 // proto package needs to be updated. 21 const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package 22 23 // 服务器注册 24 type ServerRegistRq struct { 25 ServerId *int32 `protobuf:"varint,1,req,name=serverId" json:"serverId,omitempty"` 26 Index *int32 `protobuf:"varint,2,req,name=index" json:"index,omitempty"` 27 Total *int32 `protobuf:"varint,3,req,name=total" json:"total,omitempty"` 28 XXX_NoUnkeyedLiteral struct{} `json:"-"` 29 XXX_unrecognized []byte `json:"-"` 30 XXX_sizecache int32 `json:"-"` 31 } 32 33 func (m *ServerRegistRq) Reset() { *m = ServerRegistRq{} } 34 func (m *ServerRegistRq) String() string { return proto.CompactTextString(m) } 35 func (*ServerRegistRq) ProtoMessage() {} 36 func (*ServerRegistRq) Descriptor() ([]byte, []int) { 37 return fileDescriptor_91e60e98cf7de90f, []int{0} 38 } 39 func (m *ServerRegistRq) XXX_Unmarshal(b []byte) error { 40 return xxx_messageInfo_ServerRegistRq.Unmarshal(m, b) 41 } 42 func (m *ServerRegistRq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 43 return xxx_messageInfo_ServerRegistRq.Marshal(b, m, deterministic) 44 } 45 func (m *ServerRegistRq) XXX_Merge(src proto.Message) { 46 xxx_messageInfo_ServerRegistRq.Merge(m, src) 47 } 48 func (m *ServerRegistRq) XXX_Size() int { 49 return xxx_messageInfo_ServerRegistRq.Size(m) 50 } 51 func (m *ServerRegistRq) XXX_DiscardUnknown() { 52 xxx_messageInfo_ServerRegistRq.DiscardUnknown(m) 53 } 54 55 var xxx_messageInfo_ServerRegistRq proto.InternalMessageInfo 56 57 func (m *ServerRegistRq) GetServerId() int32 { 58 if m != nil && m.ServerId != nil { 59 return *m.ServerId 60 } 61 return 0 62 } 63 64 func (m *ServerRegistRq) GetIndex() int32 { 65 if m != nil && m.Index != nil { 66 return *m.Index 67 } 68 return 0 69 } 70 71 func (m *ServerRegistRq) GetTotal() int32 { 72 if m != nil && m.Total != nil { 73 return *m.Total 74 } 75 return 0 76 } 77 78 var E_ServerRegistRq_Ext = &proto.ExtensionDesc{ 79 ExtendedType: (*Base)(nil), 80 ExtensionType: (*ServerRegistRq)(nil), 81 Field: 10001, 82 Name: "ServerRegistRq.ext", 83 Tag: "bytes,10001,opt,name=ext", 84 Filename: "Cross.proto", 85 } 86 87 // 游戏服 -> 跨服 发送的心跳 88 type HeartRq struct { 89 XXX_NoUnkeyedLiteral struct{} `json:"-"` 90 XXX_unrecognized []byte `json:"-"` 91 XXX_sizecache int32 `json:"-"` 92 } 93 94 func (m *HeartRq) Reset() { *m = HeartRq{} } 95 func (m *HeartRq) String() string { return proto.CompactTextString(m) } 96 func (*HeartRq) ProtoMessage() {} 97 func (*HeartRq) Descriptor() ([]byte, []int) { 98 return fileDescriptor_91e60e98cf7de90f, []int{1} 99 } 100 func (m *HeartRq) XXX_Unmarshal(b []byte) error { 101 return xxx_messageInfo_HeartRq.Unmarshal(m, b) 102 } 103 func (m *HeartRq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 104 return xxx_messageInfo_HeartRq.Marshal(b, m, deterministic) 105 } 106 func (m *HeartRq) XXX_Merge(src proto.Message) { 107 xxx_messageInfo_HeartRq.Merge(m, src) 108 } 109 func (m *HeartRq) XXX_Size() int { 110 return xxx_messageInfo_HeartRq.Size(m) 111 } 112 func (m *HeartRq) XXX_DiscardUnknown() { 113 xxx_messageInfo_HeartRq.DiscardUnknown(m) 114 } 115 116 var xxx_messageInfo_HeartRq proto.InternalMessageInfo 117 118 var E_HeartRq_Ext = &proto.ExtensionDesc{ 119 ExtendedType: (*Base)(nil), 120 ExtensionType: (*HeartRq)(nil), 121 Field: 10003, 122 Name: "HeartRq.ext", 123 Tag: "bytes,10003,opt,name=ext", 124 Filename: "Cross.proto", 125 } 126 127 type HeartRs struct { 128 Time *int64 `protobuf:"varint,1,req,name=time" json:"time,omitempty"` 129 XXX_NoUnkeyedLiteral struct{} `json:"-"` 130 XXX_unrecognized []byte `json:"-"` 131 XXX_sizecache int32 `json:"-"` 132 } 133 134 func (m *HeartRs) Reset() { *m = HeartRs{} } 135 func (m *HeartRs) String() string { return proto.CompactTextString(m) } 136 func (*HeartRs) ProtoMessage() {} 137 func (*HeartRs) Descriptor() ([]byte, []int) { 138 return fileDescriptor_91e60e98cf7de90f, []int{2} 139 } 140 func (m *HeartRs) XXX_Unmarshal(b []byte) error { 141 return xxx_messageInfo_HeartRs.Unmarshal(m, b) 142 } 143 func (m *HeartRs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 144 return xxx_messageInfo_HeartRs.Marshal(b, m, deterministic) 145 } 146 func (m *HeartRs) XXX_Merge(src proto.Message) { 147 xxx_messageInfo_HeartRs.Merge(m, src) 148 } 149 func (m *HeartRs) XXX_Size() int { 150 return xxx_messageInfo_HeartRs.Size(m) 151 } 152 func (m *HeartRs) XXX_DiscardUnknown() { 153 xxx_messageInfo_HeartRs.DiscardUnknown(m) 154 } 155 156 var xxx_messageInfo_HeartRs proto.InternalMessageInfo 157 158 func (m *HeartRs) GetTime() int64 { 159 if m != nil && m.Time != nil { 160 return *m.Time 161 } 162 return 0 163 } 164 165 var E_HeartRs_Ext = &proto.ExtensionDesc{ 166 ExtendedType: (*Base)(nil), 167 ExtensionType: (*HeartRs)(nil), 168 Field: 10004, 169 Name: "HeartRs.ext", 170 Tag: "bytes,10004,opt,name=ext", 171 Filename: "Cross.proto", 172 } 173 174 // 登陆、退出跨服 175 type CrossLoginRq struct { 176 OpType *int32 `protobuf:"varint,1,opt,name=opType" json:"opType,omitempty"` 177 Player *CrossPlayerPb `protobuf:"bytes,2,opt,name=player" json:"player,omitempty"` 178 XXX_NoUnkeyedLiteral struct{} `json:"-"` 179 XXX_unrecognized []byte `json:"-"` 180 XXX_sizecache int32 `json:"-"` 181 } 182 183 func (m *CrossLoginRq) Reset() { *m = CrossLoginRq{} } 184 func (m *CrossLoginRq) String() string { return proto.CompactTextString(m) } 185 func (*CrossLoginRq) ProtoMessage() {} 186 func (*CrossLoginRq) Descriptor() ([]byte, []int) { 187 return fileDescriptor_91e60e98cf7de90f, []int{3} 188 } 189 func (m *CrossLoginRq) XXX_Unmarshal(b []byte) error { 190 return xxx_messageInfo_CrossLoginRq.Unmarshal(m, b) 191 } 192 func (m *CrossLoginRq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 193 return xxx_messageInfo_CrossLoginRq.Marshal(b, m, deterministic) 194 } 195 func (m *CrossLoginRq) XXX_Merge(src proto.Message) { 196 xxx_messageInfo_CrossLoginRq.Merge(m, src) 197 } 198 func (m *CrossLoginRq) XXX_Size() int { 199 return xxx_messageInfo_CrossLoginRq.Size(m) 200 } 201 func (m *CrossLoginRq) XXX_DiscardUnknown() { 202 xxx_messageInfo_CrossLoginRq.DiscardUnknown(m) 203 } 204 205 var xxx_messageInfo_CrossLoginRq proto.InternalMessageInfo 206 207 func (m *CrossLoginRq) GetOpType() int32 { 208 if m != nil && m.OpType != nil { 209 return *m.OpType 210 } 211 return 0 212 } 213 214 func (m *CrossLoginRq) GetPlayer() *CrossPlayerPb { 215 if m != nil { 216 return m.Player 217 } 218 return nil 219 } 220 221 var E_CrossLoginRq_Ext = &proto.ExtensionDesc{ 222 ExtendedType: (*Base)(nil), 223 ExtensionType: (*CrossLoginRq)(nil), 224 Field: 10005, 225 Name: "CrossLoginRq.ext", 226 Tag: "bytes,10005,opt,name=ext", 227 Filename: "Cross.proto", 228 } 229 230 type CrossLoginRs struct { 231 OpType *int32 `protobuf:"varint,1,opt,name=opType" json:"opType,omitempty"` 232 Hero []*FortHeroPb `protobuf:"bytes,2,rep,name=hero" json:"hero,omitempty"` 233 CurKillNum *int32 `protobuf:"varint,3,opt,name=curKillNum" json:"curKillNum,omitempty"` 234 XXX_NoUnkeyedLiteral struct{} `json:"-"` 235 XXX_unrecognized []byte `json:"-"` 236 XXX_sizecache int32 `json:"-"` 237 } 238 239 func (m *CrossLoginRs) Reset() { *m = CrossLoginRs{} } 240 func (m *CrossLoginRs) String() string { return proto.CompactTextString(m) } 241 func (*CrossLoginRs) ProtoMessage() {} 242 func (*CrossLoginRs) Descriptor() ([]byte, []int) { 243 return fileDescriptor_91e60e98cf7de90f, []int{4} 244 } 245 func (m *CrossLoginRs) XXX_Unmarshal(b []byte) error { 246 return xxx_messageInfo_CrossLoginRs.Unmarshal(m, b) 247 } 248 func (m *CrossLoginRs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 249 return xxx_messageInfo_CrossLoginRs.Marshal(b, m, deterministic) 250 } 251 func (m *CrossLoginRs) XXX_Merge(src proto.Message) { 252 xxx_messageInfo_CrossLoginRs.Merge(m, src) 253 } 254 func (m *CrossLoginRs) XXX_Size() int { 255 return xxx_messageInfo_CrossLoginRs.Size(m) 256 } 257 func (m *CrossLoginRs) XXX_DiscardUnknown() { 258 xxx_messageInfo_CrossLoginRs.DiscardUnknown(m) 259 } 260 261 var xxx_messageInfo_CrossLoginRs proto.InternalMessageInfo 262 263 func (m *CrossLoginRs) GetOpType() int32 { 264 if m != nil && m.OpType != nil { 265 return *m.OpType 266 } 267 return 0 268 } 269 270 func (m *CrossLoginRs) GetHero() []*FortHeroPb { 271 if m != nil { 272 return m.Hero 273 } 274 return nil 275 } 276 277 func (m *CrossLoginRs) GetCurKillNum() int32 { 278 if m != nil && m.CurKillNum != nil { 279 return *m.CurKillNum 280 } 281 return 0 282 } 283 284 var E_CrossLoginRs_Ext = &proto.ExtensionDesc{ 285 ExtendedType: (*Base)(nil), 286 ExtensionType: (*CrossLoginRs)(nil), 287 Field: 10006, 288 Name: "CrossLoginRs.ext", 289 Tag: "bytes,10006,opt,name=ext", 290 Filename: "Cross.proto", 291 } 292 293 // 发送跨服聊天 294 type SendCrossChatRq struct { 295 Chat *Chat `protobuf:"bytes,1,req,name=chat" json:"chat,omitempty"` 296 XXX_NoUnkeyedLiteral struct{} `json:"-"` 297 XXX_unrecognized []byte `json:"-"` 298 XXX_sizecache int32 `json:"-"` 299 } 300 301 func (m *SendCrossChatRq) Reset() { *m = SendCrossChatRq{} } 302 func (m *SendCrossChatRq) String() string { return proto.CompactTextString(m) } 303 func (*SendCrossChatRq) ProtoMessage() {} 304 func (*SendCrossChatRq) Descriptor() ([]byte, []int) { 305 return fileDescriptor_91e60e98cf7de90f, []int{5} 306 } 307 func (m *SendCrossChatRq) XXX_Unmarshal(b []byte) error { 308 return xxx_messageInfo_SendCrossChatRq.Unmarshal(m, b) 309 } 310 func (m *SendCrossChatRq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 311 return xxx_messageInfo_SendCrossChatRq.Marshal(b, m, deterministic) 312 } 313 func (m *SendCrossChatRq) XXX_Merge(src proto.Message) { 314 xxx_messageInfo_SendCrossChatRq.Merge(m, src) 315 } 316 func (m *SendCrossChatRq) XXX_Size() int { 317 return xxx_messageInfo_SendCrossChatRq.Size(m) 318 } 319 func (m *SendCrossChatRq) XXX_DiscardUnknown() { 320 xxx_messageInfo_SendCrossChatRq.DiscardUnknown(m) 321 } 322 323 var xxx_messageInfo_SendCrossChatRq proto.InternalMessageInfo 324 325 func (m *SendCrossChatRq) GetChat() *Chat { 326 if m != nil { 327 return m.Chat 328 } 329 return nil 330 } 331 332 var E_SendCrossChatRq_Ext = &proto.ExtensionDesc{ 333 ExtendedType: (*Base)(nil), 334 ExtensionType: (*SendCrossChatRq)(nil), 335 Field: 10007, 336 Name: "SendCrossChatRq.ext", 337 Tag: "bytes,10007,opt,name=ext", 338 Filename: "Cross.proto", 339 } 340 341 // 选择将领加入或 342 type ChoiceHeroRq struct { 343 Heros []*CrossHeroPb `protobuf:"bytes,1,rep,name=heros" json:"heros,omitempty"` 344 XXX_NoUnkeyedLiteral struct{} `json:"-"` 345 XXX_unrecognized []byte `json:"-"` 346 XXX_sizecache int32 `json:"-"` 347 } 348 349 func (m *ChoiceHeroRq) Reset() { *m = ChoiceHeroRq{} } 350 func (m *ChoiceHeroRq) String() string { return proto.CompactTextString(m) } 351 func (*ChoiceHeroRq) ProtoMessage() {} 352 func (*ChoiceHeroRq) Descriptor() ([]byte, []int) { 353 return fileDescriptor_91e60e98cf7de90f, []int{6} 354 } 355 func (m *ChoiceHeroRq) XXX_Unmarshal(b []byte) error { 356 return xxx_messageInfo_ChoiceHeroRq.Unmarshal(m, b) 357 } 358 func (m *ChoiceHeroRq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 359 return xxx_messageInfo_ChoiceHeroRq.Marshal(b, m, deterministic) 360 } 361 func (m *ChoiceHeroRq) XXX_Merge(src proto.Message) { 362 xxx_messageInfo_ChoiceHeroRq.Merge(m, src) 363 } 364 func (m *ChoiceHeroRq) XXX_Size() int { 365 return xxx_messageInfo_ChoiceHeroRq.Size(m) 366 } 367 func (m *ChoiceHeroRq) XXX_DiscardUnknown() { 368 xxx_messageInfo_ChoiceHeroRq.DiscardUnknown(m) 369 } 370 371 var xxx_messageInfo_ChoiceHeroRq proto.InternalMessageInfo 372 373 func (m *ChoiceHeroRq) GetHeros() []*CrossHeroPb { 374 if m != nil { 375 return m.Heros 376 } 377 return nil 378 } 379 380 var E_ChoiceHeroRq_Ext = &proto.ExtensionDesc{ 381 ExtendedType: (*Base)(nil), 382 ExtensionType: (*ChoiceHeroRq)(nil), 383 Field: 10009, 384 Name: "ChoiceHeroRq.ext", 385 Tag: "bytes,10009,opt,name=ext", 386 Filename: "Cross.proto", 387 } 388 389 // 扣除资源返回值 游戏服->跨服 390 type CrossAwardOpRq struct { 391 TaskId *int64 `protobuf:"varint,1,opt,name=taskId" json:"taskId,omitempty"` 392 ReqAwards *CrossAwardPb `protobuf:"bytes,2,opt,name=reqAwards" json:"reqAwards,omitempty"` 393 Success *bool `protobuf:"varint,3,opt,name=success" json:"success,omitempty"` 394 XXX_NoUnkeyedLiteral struct{} `json:"-"` 395 XXX_unrecognized []byte `json:"-"` 396 XXX_sizecache int32 `json:"-"` 397 } 398 399 func (m *CrossAwardOpRq) Reset() { *m = CrossAwardOpRq{} } 400 func (m *CrossAwardOpRq) String() string { return proto.CompactTextString(m) } 401 func (*CrossAwardOpRq) ProtoMessage() {} 402 func (*CrossAwardOpRq) Descriptor() ([]byte, []int) { 403 return fileDescriptor_91e60e98cf7de90f, []int{7} 404 } 405 func (m *CrossAwardOpRq) XXX_Unmarshal(b []byte) error { 406 return xxx_messageInfo_CrossAwardOpRq.Unmarshal(m, b) 407 } 408 func (m *CrossAwardOpRq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 409 return xxx_messageInfo_CrossAwardOpRq.Marshal(b, m, deterministic) 410 } 411 func (m *CrossAwardOpRq) XXX_Merge(src proto.Message) { 412 xxx_messageInfo_CrossAwardOpRq.Merge(m, src) 413 } 414 func (m *CrossAwardOpRq) XXX_Size() int { 415 return xxx_messageInfo_CrossAwardOpRq.Size(m) 416 } 417 func (m *CrossAwardOpRq) XXX_DiscardUnknown() { 418 xxx_messageInfo_CrossAwardOpRq.DiscardUnknown(m) 419 } 420 421 var xxx_messageInfo_CrossAwardOpRq proto.InternalMessageInfo 422 423 func (m *CrossAwardOpRq) GetTaskId() int64 { 424 if m != nil && m.TaskId != nil { 425 return *m.TaskId 426 } 427 return 0 428 } 429 430 func (m *CrossAwardOpRq) GetReqAwards() *CrossAwardPb { 431 if m != nil { 432 return m.ReqAwards 433 } 434 return nil 435 } 436 437 func (m *CrossAwardOpRq) GetSuccess() bool { 438 if m != nil && m.Success != nil { 439 return *m.Success 440 } 441 return false 442 } 443 444 var E_CrossAwardOpRq_Ext = &proto.ExtensionDesc{ 445 ExtendedType: (*Base)(nil), 446 ExtensionType: (*CrossAwardOpRq)(nil), 447 Field: 10010, 448 Name: "CrossAwardOpRq.ext", 449 Tag: "bytes,10010,opt,name=ext", 450 Filename: "Cross.proto", 451 } 452 453 // 异步资源扣除资源 跨服->游戏服 454 type CrossAwardOpRs struct { 455 TaskId *int64 `protobuf:"varint,1,opt,name=taskId" json:"taskId,omitempty"` 456 ReqAwards *CrossAwardPb `protobuf:"bytes,2,opt,name=reqAwards" json:"reqAwards,omitempty"` 457 RollBack *bool `protobuf:"varint,3,opt,name=rollBack" json:"rollBack,omitempty"` 458 Cmd *int32 `protobuf:"varint,4,opt,name=cmd" json:"cmd,omitempty"` 459 XXX_NoUnkeyedLiteral struct{} `json:"-"` 460 XXX_unrecognized []byte `json:"-"` 461 XXX_sizecache int32 `json:"-"` 462 } 463 464 func (m *CrossAwardOpRs) Reset() { *m = CrossAwardOpRs{} } 465 func (m *CrossAwardOpRs) String() string { return proto.CompactTextString(m) } 466 func (*CrossAwardOpRs) ProtoMessage() {} 467 func (*CrossAwardOpRs) Descriptor() ([]byte, []int) { 468 return fileDescriptor_91e60e98cf7de90f, []int{8} 469 } 470 func (m *CrossAwardOpRs) XXX_Unmarshal(b []byte) error { 471 return xxx_messageInfo_CrossAwardOpRs.Unmarshal(m, b) 472 } 473 func (m *CrossAwardOpRs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 474 return xxx_messageInfo_CrossAwardOpRs.Marshal(b, m, deterministic) 475 } 476 func (m *CrossAwardOpRs) XXX_Merge(src proto.Message) { 477 xxx_messageInfo_CrossAwardOpRs.Merge(m, src) 478 } 479 func (m *CrossAwardOpRs) XXX_Size() int { 480 return xxx_messageInfo_CrossAwardOpRs.Size(m) 481 } 482 func (m *CrossAwardOpRs) XXX_DiscardUnknown() { 483 xxx_messageInfo_CrossAwardOpRs.DiscardUnknown(m) 484 } 485 486 var xxx_messageInfo_CrossAwardOpRs proto.InternalMessageInfo 487 488 func (m *CrossAwardOpRs) GetTaskId() int64 { 489 if m != nil && m.TaskId != nil { 490 return *m.TaskId 491 } 492 return 0 493 } 494 495 func (m *CrossAwardOpRs) GetReqAwards() *CrossAwardPb { 496 if m != nil { 497 return m.ReqAwards 498 } 499 return nil 500 } 501 502 func (m *CrossAwardOpRs) GetRollBack() bool { 503 if m != nil && m.RollBack != nil { 504 return *m.RollBack 505 } 506 return false 507 } 508 509 func (m *CrossAwardOpRs) GetCmd() int32 { 510 if m != nil && m.Cmd != nil { 511 return *m.Cmd 512 } 513 return 0 514 } 515 516 var E_CrossAwardOpRs_Ext = &proto.ExtensionDesc{ 517 ExtendedType: (*Base)(nil), 518 ExtensionType: (*CrossAwardOpRs)(nil), 519 Field: 10011, 520 Name: "CrossAwardOpRs.ext", 521 Tag: "bytes,10011,opt,name=ext", 522 Filename: "Cross.proto", 523 } 524 525 // 将领复活操作 526 type CrossHeroReviveRq struct { 527 Hero *CrossHeroPb `protobuf:"bytes,1,opt,name=hero" json:"hero,omitempty"` 528 XXX_NoUnkeyedLiteral struct{} `json:"-"` 529 XXX_unrecognized []byte `json:"-"` 530 XXX_sizecache int32 `json:"-"` 531 } 532 533 func (m *CrossHeroReviveRq) Reset() { *m = CrossHeroReviveRq{} } 534 func (m *CrossHeroReviveRq) String() string { return proto.CompactTextString(m) } 535 func (*CrossHeroReviveRq) ProtoMessage() {} 536 func (*CrossHeroReviveRq) Descriptor() ([]byte, []int) { 537 return fileDescriptor_91e60e98cf7de90f, []int{9} 538 } 539 func (m *CrossHeroReviveRq) XXX_Unmarshal(b []byte) error { 540 return xxx_messageInfo_CrossHeroReviveRq.Unmarshal(m, b) 541 } 542 func (m *CrossHeroReviveRq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 543 return xxx_messageInfo_CrossHeroReviveRq.Marshal(b, m, deterministic) 544 } 545 func (m *CrossHeroReviveRq) XXX_Merge(src proto.Message) { 546 xxx_messageInfo_CrossHeroReviveRq.Merge(m, src) 547 } 548 func (m *CrossHeroReviveRq) XXX_Size() int { 549 return xxx_messageInfo_CrossHeroReviveRq.Size(m) 550 } 551 func (m *CrossHeroReviveRq) XXX_DiscardUnknown() { 552 xxx_messageInfo_CrossHeroReviveRq.DiscardUnknown(m) 553 } 554 555 var xxx_messageInfo_CrossHeroReviveRq proto.InternalMessageInfo 556 557 func (m *CrossHeroReviveRq) GetHero() *CrossHeroPb { 558 if m != nil { 559 return m.Hero 560 } 561 return nil 562 } 563 564 var E_CrossHeroReviveRq_Ext = &proto.ExtensionDesc{ 565 ExtendedType: (*Base)(nil), 566 ExtensionType: (*CrossHeroReviveRq)(nil), 567 Field: 10013, 568 Name: "CrossHeroReviveRq.ext", 569 Tag: "bytes,10013,opt,name=ext", 570 Filename: "Cross.proto", 571 } 572 573 // 将领的属性同步 574 type CrossHeroSyncRq struct { 575 Hero []*CrossHeroPb `protobuf:"bytes,1,rep,name=hero" json:"hero,omitempty"` 576 XXX_NoUnkeyedLiteral struct{} `json:"-"` 577 XXX_unrecognized []byte `json:"-"` 578 XXX_sizecache int32 `json:"-"` 579 } 580 581 func (m *CrossHeroSyncRq) Reset() { *m = CrossHeroSyncRq{} } 582 func (m *CrossHeroSyncRq) String() string { return proto.CompactTextString(m) } 583 func (*CrossHeroSyncRq) ProtoMessage() {} 584 func (*CrossHeroSyncRq) Descriptor() ([]byte, []int) { 585 return fileDescriptor_91e60e98cf7de90f, []int{10} 586 } 587 func (m *CrossHeroSyncRq) XXX_Unmarshal(b []byte) error { 588 return xxx_messageInfo_CrossHeroSyncRq.Unmarshal(m, b) 589 } 590 func (m *CrossHeroSyncRq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 591 return xxx_messageInfo_CrossHeroSyncRq.Marshal(b, m, deterministic) 592 } 593 func (m *CrossHeroSyncRq) XXX_Merge(src proto.Message) { 594 xxx_messageInfo_CrossHeroSyncRq.Merge(m, src) 595 } 596 func (m *CrossHeroSyncRq) XXX_Size() int { 597 return xxx_messageInfo_CrossHeroSyncRq.Size(m) 598 } 599 func (m *CrossHeroSyncRq) XXX_DiscardUnknown() { 600 xxx_messageInfo_CrossHeroSyncRq.DiscardUnknown(m) 601 } 602 603 var xxx_messageInfo_CrossHeroSyncRq proto.InternalMessageInfo 604 605 func (m *CrossHeroSyncRq) GetHero() []*CrossHeroPb { 606 if m != nil { 607 return m.Hero 608 } 609 return nil 610 } 611 612 var E_CrossHeroSyncRq_Ext = &proto.ExtensionDesc{ 613 ExtendedType: (*Base)(nil), 614 ExtensionType: (*CrossHeroSyncRq)(nil), 615 Field: 10015, 616 Name: "CrossHeroSyncRq.ext", 617 Tag: "bytes,10015,opt,name=ext", 618 Filename: "Cross.proto", 619 } 620 621 // 跨服开始结束推送给游戏服 622 type CrossStartFinishRs struct { 623 IsStart *bool `protobuf:"varint,1,req,name=isStart" json:"isStart,omitempty"` 624 WinCamp *int32 `protobuf:"varint,2,opt,name=winCamp" json:"winCamp,omitempty"` 625 XXX_NoUnkeyedLiteral struct{} `json:"-"` 626 XXX_unrecognized []byte `json:"-"` 627 XXX_sizecache int32 `json:"-"` 628 } 629 630 func (m *CrossStartFinishRs) Reset() { *m = CrossStartFinishRs{} } 631 func (m *CrossStartFinishRs) String() string { return proto.CompactTextString(m) } 632 func (*CrossStartFinishRs) ProtoMessage() {} 633 func (*CrossStartFinishRs) Descriptor() ([]byte, []int) { 634 return fileDescriptor_91e60e98cf7de90f, []int{11} 635 } 636 func (m *CrossStartFinishRs) XXX_Unmarshal(b []byte) error { 637 return xxx_messageInfo_CrossStartFinishRs.Unmarshal(m, b) 638 } 639 func (m *CrossStartFinishRs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 640 return xxx_messageInfo_CrossStartFinishRs.Marshal(b, m, deterministic) 641 } 642 func (m *CrossStartFinishRs) XXX_Merge(src proto.Message) { 643 xxx_messageInfo_CrossStartFinishRs.Merge(m, src) 644 } 645 func (m *CrossStartFinishRs) XXX_Size() int { 646 return xxx_messageInfo_CrossStartFinishRs.Size(m) 647 } 648 func (m *CrossStartFinishRs) XXX_DiscardUnknown() { 649 xxx_messageInfo_CrossStartFinishRs.DiscardUnknown(m) 650 } 651 652 var xxx_messageInfo_CrossStartFinishRs proto.InternalMessageInfo 653 654 func (m *CrossStartFinishRs) GetIsStart() bool { 655 if m != nil && m.IsStart != nil { 656 return *m.IsStart 657 } 658 return false 659 } 660 661 func (m *CrossStartFinishRs) GetWinCamp() int32 { 662 if m != nil && m.WinCamp != nil { 663 return *m.WinCamp 664 } 665 return 0 666 } 667 668 var E_CrossStartFinishRs_Ext = &proto.ExtensionDesc{ 669 ExtendedType: (*Base)(nil), 670 ExtensionType: (*CrossStartFinishRs)(nil), 671 Field: 10016, 672 Name: "CrossStartFinishRs.ext", 673 Tag: "bytes,10016,opt,name=ext", 674 Filename: "Cross.proto", 675 } 676 677 // GM命令 678 type GmDoSomeRq struct { 679 Strs []string `protobuf:"bytes,1,rep,name=strs" json:"strs,omitempty"` 680 RoleId *int64 `protobuf:"varint,2,opt,name=roleId" json:"roleId,omitempty"` 681 XXX_NoUnkeyedLiteral struct{} `json:"-"` 682 XXX_unrecognized []byte `json:"-"` 683 XXX_sizecache int32 `json:"-"` 684 } 685 686 func (m *GmDoSomeRq) Reset() { *m = GmDoSomeRq{} } 687 func (m *GmDoSomeRq) String() string { return proto.CompactTextString(m) } 688 func (*GmDoSomeRq) ProtoMessage() {} 689 func (*GmDoSomeRq) Descriptor() ([]byte, []int) { 690 return fileDescriptor_91e60e98cf7de90f, []int{12} 691 } 692 func (m *GmDoSomeRq) XXX_Unmarshal(b []byte) error { 693 return xxx_messageInfo_GmDoSomeRq.Unmarshal(m, b) 694 } 695 func (m *GmDoSomeRq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 696 return xxx_messageInfo_GmDoSomeRq.Marshal(b, m, deterministic) 697 } 698 func (m *GmDoSomeRq) XXX_Merge(src proto.Message) { 699 xxx_messageInfo_GmDoSomeRq.Merge(m, src) 700 } 701 func (m *GmDoSomeRq) XXX_Size() int { 702 return xxx_messageInfo_GmDoSomeRq.Size(m) 703 } 704 func (m *GmDoSomeRq) XXX_DiscardUnknown() { 705 xxx_messageInfo_GmDoSomeRq.DiscardUnknown(m) 706 } 707 708 var xxx_messageInfo_GmDoSomeRq proto.InternalMessageInfo 709 710 func (m *GmDoSomeRq) GetStrs() []string { 711 if m != nil { 712 return m.Strs 713 } 714 return nil 715 } 716 717 func (m *GmDoSomeRq) GetRoleId() int64 { 718 if m != nil && m.RoleId != nil { 719 return *m.RoleId 720 } 721 return 0 722 } 723 724 var E_GmDoSomeRq_Ext = &proto.ExtensionDesc{ 725 ExtendedType: (*Base)(nil), 726 ExtensionType: (*GmDoSomeRq)(nil), 727 Field: 10017, 728 Name: "GmDoSomeRq.ext", 729 Tag: "bytes,10017,opt,name=ext", 730 Filename: "Cross.proto", 731 } 732 733 func init() { 734 proto.RegisterExtension(E_ServerRegistRq_Ext) 735 proto.RegisterType((*ServerRegistRq)(nil), "ServerRegistRq") 736 proto.RegisterExtension(E_HeartRq_Ext) 737 proto.RegisterType((*HeartRq)(nil), "HeartRq") 738 proto.RegisterExtension(E_HeartRs_Ext) 739 proto.RegisterType((*HeartRs)(nil), "HeartRs") 740 proto.RegisterExtension(E_CrossLoginRq_Ext) 741 proto.RegisterType((*CrossLoginRq)(nil), "CrossLoginRq") 742 proto.RegisterExtension(E_CrossLoginRs_Ext) 743 proto.RegisterType((*CrossLoginRs)(nil), "CrossLoginRs") 744 proto.RegisterExtension(E_SendCrossChatRq_Ext) 745 proto.RegisterType((*SendCrossChatRq)(nil), "SendCrossChatRq") 746 proto.RegisterExtension(E_ChoiceHeroRq_Ext) 747 proto.RegisterType((*ChoiceHeroRq)(nil), "ChoiceHeroRq") 748 proto.RegisterExtension(E_CrossAwardOpRq_Ext) 749 proto.RegisterType((*CrossAwardOpRq)(nil), "CrossAwardOpRq") 750 proto.RegisterExtension(E_CrossAwardOpRs_Ext) 751 proto.RegisterType((*CrossAwardOpRs)(nil), "CrossAwardOpRs") 752 proto.RegisterExtension(E_CrossHeroReviveRq_Ext) 753 proto.RegisterType((*CrossHeroReviveRq)(nil), "CrossHeroReviveRq") 754 proto.RegisterExtension(E_CrossHeroSyncRq_Ext) 755 proto.RegisterType((*CrossHeroSyncRq)(nil), "CrossHeroSyncRq") 756 proto.RegisterExtension(E_CrossStartFinishRs_Ext) 757 proto.RegisterType((*CrossStartFinishRs)(nil), "CrossStartFinishRs") 758 proto.RegisterExtension(E_GmDoSomeRq_Ext) 759 proto.RegisterType((*GmDoSomeRq)(nil), "GmDoSomeRq") 760 } 761 762 func init() { proto.RegisterFile("Cross.proto", fileDescriptor_91e60e98cf7de90f) } 763 764 var fileDescriptor_91e60e98cf7de90f = []byte{ 765 // 656 bytes of a gzipped FileDescriptorProto 766 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x5d, 0x6f, 0x12, 0x4f, 767 0x14, 0xc6, 0x03, 0x0b, 0x2d, 0x3d, 0x50, 0xe8, 0x7f, 0x7a, 0xb3, 0xff, 0x1a, 0x0d, 0x99, 0x68, 768 0x24, 0x26, 0x0e, 0xc9, 0x5e, 0x78, 0x2f, 0x98, 0xda, 0xc6, 0xda, 0xe2, 0xd2, 0x0b, 0xe3, 0x95, 769 0xfb, 0x32, 0xb2, 0x93, 0xee, 0xee, 0xb0, 0x33, 0x03, 0x14, 0xbf, 0x80, 0xd7, 0xc6, 0xb7, 0xa8, 770 0x31, 0xea, 0x37, 0x35, 0x3b, 0x0b, 0xb5, 0xb3, 0xf4, 0xca, 0x3b, 0xe6, 0xcc, 0x3c, 0xbf, 0xe7, 771 0xf0, 0x9c, 0x03, 0xd0, 0x1c, 0x0a, 0x2e, 0x25, 0x99, 0x0a, 0xae, 0xf8, 0x01, 0x0c, 0x3c, 0x49, 772 0x57, 0x9f, 0x5b, 0x43, 0x9e, 0x24, 0x3c, 0x5d, 0x9d, 0x3a, 0x63, 0x2a, 0x98, 0x17, 0xb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e8, 0x60, 0xb5, 0x0c, 0x15, 0xad, 0x31, 0x93, 0xbd, 0x6f, 0x60, 0x7f, 796 0x14, 0x58, 0x44, 0x36, 0x20, 0xf8, 0x1c, 0x3a, 0x57, 0xc5, 0xf1, 0x32, 0x0d, 0x0c, 0xee, 0xe6, 797 0xc4, 0xcc, 0x2d, 0xf8, 0xb9, 0xde, 0x82, 0x12, 0x02, 0xbf, 0x06, 0xa4, 0x4b, 0x63, 0xe5, 0x09, 798 0x75, 0xc8, 0x52, 0x26, 0x23, 0x57, 0xe6, 0x63, 0x60, 0x45, 0x49, 0xaf, 0x56, 0x23, 0x2f, 0x2c, 799 0x58, 0x3a, 0xf4, 0x92, 0xa9, 0xce, 0xae, 0xee, 0xf4, 0x0c, 0xfc, 0xaf, 0x02, 0xbf, 0x4f, 0x36, 800 0x59, 0xf8, 0x04, 0xe0, 0x69, 0xf2, 0x84, 0x8f, 0x79, 0x92, 0x47, 0xd1, 0x82, 0x9a, 0x54, 0xa2, 801 0x58, 0xb2, 0x9d, 0x7c, 0x48, 0x82, 0xc7, 0xf4, 0x38, 0xd4, 0x54, 0xcb, 0xe9, 0x1a, 0xd4, 0xdf, 802 0x05, 0xb5, 0x49, 0xfe, 0xea, 0x07, 0x2f, 0xe0, 0x20, 0xe0, 0x09, 0x89, 0x66, 0x69, 0x28, 0x68, 803 0x18, 0xd0, 0x54, 0x91, 0x89, 0x97, 0x50, 0x92, 0x2c, 0xc8, 0xd4, 0x1f, 0x6c, 0x17, 0x3f, 0x64, 804 0xff, 0xd5, 0x83, 0x09, 0x53, 0xd1, 0xcc, 0x27, 0x01, 0x4f, 0xfa, 0x19, 0x9b, 0x45, 0x7c, 0x16, 805 0xd2, 0xfe, 0x84, 0x3f, 0x5c, 0x50, 0xbf, 0xaf, 0xff, 0xee, 0xfa, 0x73, 0xa7, 0x9f, 0xf0, 0x90, 806 0xc6, 0xf2, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6d, 0xcd, 0xad, 0x9b, 0x31, 0x05, 0x00, 0x00, 807 }