lobby_gateway.pb.h
20.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: lobby_gateway.proto
#ifndef PROTOBUF_lobby_5fgateway_2eproto__INCLUDED
#define PROTOBUF_lobby_5fgateway_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2005000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
#include "share_msg.pb.h"
// @@protoc_insertion_point(includes)
namespace lobby_gateway_msg {
// Internal implementation detail -- do not call these.
void protobuf_AddDesc_lobby_5fgateway_2eproto();
void protobuf_AssignDesc_lobby_5fgateway_2eproto();
void protobuf_ShutdownFile_lobby_5fgateway_2eproto();
class lobby_enter_msg;
class lobby_enter_msg_res;
class lobby_out_msg;
class lobby_out_msg_res;
class notify_game_end_msg;
class notify_game_end_msg_res;
// ===================================================================
class lobby_enter_msg : public ::google::protobuf::Message {
public:
lobby_enter_msg();
virtual ~lobby_enter_msg();
lobby_enter_msg(const lobby_enter_msg& from);
inline lobby_enter_msg& operator=(const lobby_enter_msg& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const lobby_enter_msg& default_instance();
void Swap(lobby_enter_msg* other);
// implements Message ----------------------------------------------
lobby_enter_msg* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const lobby_enter_msg& from);
void MergeFrom(const lobby_enter_msg& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional .share_msg.user_show_t user_show = 6;
inline bool has_user_show() const;
inline void clear_user_show();
static const int kUserShowFieldNumber = 6;
inline const ::share_msg::user_show_t& user_show() const;
inline ::share_msg::user_show_t* mutable_user_show();
inline ::share_msg::user_show_t* release_user_show();
inline void set_allocated_user_show(::share_msg::user_show_t* user_show);
// repeated .share_msg.pet_btl_t pet_btl = 7;
inline int pet_btl_size() const;
inline void clear_pet_btl();
static const int kPetBtlFieldNumber = 7;
inline const ::share_msg::pet_btl_t& pet_btl(int index) const;
inline ::share_msg::pet_btl_t* mutable_pet_btl(int index);
inline ::share_msg::pet_btl_t* add_pet_btl();
inline const ::google::protobuf::RepeatedPtrField< ::share_msg::pet_btl_t >&
pet_btl() const;
inline ::google::protobuf::RepeatedPtrField< ::share_msg::pet_btl_t >*
mutable_pet_btl();
// @@protoc_insertion_point(class_scope:lobby_gateway_msg.lobby_enter_msg)
private:
inline void set_has_user_show();
inline void clear_has_user_show();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::share_msg::user_show_t* user_show_;
::google::protobuf::RepeatedPtrField< ::share_msg::pet_btl_t > pet_btl_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
friend void protobuf_AddDesc_lobby_5fgateway_2eproto();
friend void protobuf_AssignDesc_lobby_5fgateway_2eproto();
friend void protobuf_ShutdownFile_lobby_5fgateway_2eproto();
void InitAsDefaultInstance();
static lobby_enter_msg* default_instance_;
};
// -------------------------------------------------------------------
class lobby_enter_msg_res : public ::google::protobuf::Message {
public:
lobby_enter_msg_res();
virtual ~lobby_enter_msg_res();
lobby_enter_msg_res(const lobby_enter_msg_res& from);
inline lobby_enter_msg_res& operator=(const lobby_enter_msg_res& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const lobby_enter_msg_res& default_instance();
void Swap(lobby_enter_msg_res* other);
// implements Message ----------------------------------------------
lobby_enter_msg_res* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const lobby_enter_msg_res& from);
void MergeFrom(const lobby_enter_msg_res& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:lobby_gateway_msg.lobby_enter_msg_res)
private:
::google::protobuf::UnknownFieldSet _unknown_fields_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[1];
friend void protobuf_AddDesc_lobby_5fgateway_2eproto();
friend void protobuf_AssignDesc_lobby_5fgateway_2eproto();
friend void protobuf_ShutdownFile_lobby_5fgateway_2eproto();
void InitAsDefaultInstance();
static lobby_enter_msg_res* default_instance_;
};
// -------------------------------------------------------------------
class lobby_out_msg : public ::google::protobuf::Message {
public:
lobby_out_msg();
virtual ~lobby_out_msg();
lobby_out_msg(const lobby_out_msg& from);
inline lobby_out_msg& operator=(const lobby_out_msg& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const lobby_out_msg& default_instance();
void Swap(lobby_out_msg* other);
// implements Message ----------------------------------------------
lobby_out_msg* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const lobby_out_msg& from);
void MergeFrom(const lobby_out_msg& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:lobby_gateway_msg.lobby_out_msg)
private:
::google::protobuf::UnknownFieldSet _unknown_fields_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[1];
friend void protobuf_AddDesc_lobby_5fgateway_2eproto();
friend void protobuf_AssignDesc_lobby_5fgateway_2eproto();
friend void protobuf_ShutdownFile_lobby_5fgateway_2eproto();
void InitAsDefaultInstance();
static lobby_out_msg* default_instance_;
};
// -------------------------------------------------------------------
class lobby_out_msg_res : public ::google::protobuf::Message {
public:
lobby_out_msg_res();
virtual ~lobby_out_msg_res();
lobby_out_msg_res(const lobby_out_msg_res& from);
inline lobby_out_msg_res& operator=(const lobby_out_msg_res& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const lobby_out_msg_res& default_instance();
void Swap(lobby_out_msg_res* other);
// implements Message ----------------------------------------------
lobby_out_msg_res* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const lobby_out_msg_res& from);
void MergeFrom(const lobby_out_msg_res& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:lobby_gateway_msg.lobby_out_msg_res)
private:
::google::protobuf::UnknownFieldSet _unknown_fields_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[1];
friend void protobuf_AddDesc_lobby_5fgateway_2eproto();
friend void protobuf_AssignDesc_lobby_5fgateway_2eproto();
friend void protobuf_ShutdownFile_lobby_5fgateway_2eproto();
void InitAsDefaultInstance();
static lobby_out_msg_res* default_instance_;
};
// -------------------------------------------------------------------
class notify_game_end_msg : public ::google::protobuf::Message {
public:
notify_game_end_msg();
virtual ~notify_game_end_msg();
notify_game_end_msg(const notify_game_end_msg& from);
inline notify_game_end_msg& operator=(const notify_game_end_msg& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const notify_game_end_msg& default_instance();
void Swap(notify_game_end_msg* other);
// implements Message ----------------------------------------------
notify_game_end_msg* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const notify_game_end_msg& from);
void MergeFrom(const notify_game_end_msg& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:lobby_gateway_msg.notify_game_end_msg)
private:
::google::protobuf::UnknownFieldSet _unknown_fields_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[1];
friend void protobuf_AddDesc_lobby_5fgateway_2eproto();
friend void protobuf_AssignDesc_lobby_5fgateway_2eproto();
friend void protobuf_ShutdownFile_lobby_5fgateway_2eproto();
void InitAsDefaultInstance();
static notify_game_end_msg* default_instance_;
};
// -------------------------------------------------------------------
class notify_game_end_msg_res : public ::google::protobuf::Message {
public:
notify_game_end_msg_res();
virtual ~notify_game_end_msg_res();
notify_game_end_msg_res(const notify_game_end_msg_res& from);
inline notify_game_end_msg_res& operator=(const notify_game_end_msg_res& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const notify_game_end_msg_res& default_instance();
void Swap(notify_game_end_msg_res* other);
// implements Message ----------------------------------------------
notify_game_end_msg_res* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const notify_game_end_msg_res& from);
void MergeFrom(const notify_game_end_msg_res& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional .share_msg.btl_t btl = 2;
inline bool has_btl() const;
inline void clear_btl();
static const int kBtlFieldNumber = 2;
inline const ::share_msg::btl_t& btl() const;
inline ::share_msg::btl_t* mutable_btl();
inline ::share_msg::btl_t* release_btl();
inline void set_allocated_btl(::share_msg::btl_t* btl);
// @@protoc_insertion_point(class_scope:lobby_gateway_msg.notify_game_end_msg_res)
private:
inline void set_has_btl();
inline void clear_has_btl();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::share_msg::btl_t* btl_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
friend void protobuf_AddDesc_lobby_5fgateway_2eproto();
friend void protobuf_AssignDesc_lobby_5fgateway_2eproto();
friend void protobuf_ShutdownFile_lobby_5fgateway_2eproto();
void InitAsDefaultInstance();
static notify_game_end_msg_res* default_instance_;
};
// ===================================================================
// ===================================================================
// lobby_enter_msg
// optional .share_msg.user_show_t user_show = 6;
inline bool lobby_enter_msg::has_user_show() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void lobby_enter_msg::set_has_user_show() {
_has_bits_[0] |= 0x00000001u;
}
inline void lobby_enter_msg::clear_has_user_show() {
_has_bits_[0] &= ~0x00000001u;
}
inline void lobby_enter_msg::clear_user_show() {
if (user_show_ != NULL) user_show_->::share_msg::user_show_t::Clear();
clear_has_user_show();
}
inline const ::share_msg::user_show_t& lobby_enter_msg::user_show() const {
return user_show_ != NULL ? *user_show_ : *default_instance_->user_show_;
}
inline ::share_msg::user_show_t* lobby_enter_msg::mutable_user_show() {
set_has_user_show();
if (user_show_ == NULL) user_show_ = new ::share_msg::user_show_t;
return user_show_;
}
inline ::share_msg::user_show_t* lobby_enter_msg::release_user_show() {
clear_has_user_show();
::share_msg::user_show_t* temp = user_show_;
user_show_ = NULL;
return temp;
}
inline void lobby_enter_msg::set_allocated_user_show(::share_msg::user_show_t* user_show) {
delete user_show_;
user_show_ = user_show;
if (user_show) {
set_has_user_show();
} else {
clear_has_user_show();
}
}
// repeated .share_msg.pet_btl_t pet_btl = 7;
inline int lobby_enter_msg::pet_btl_size() const {
return pet_btl_.size();
}
inline void lobby_enter_msg::clear_pet_btl() {
pet_btl_.Clear();
}
inline const ::share_msg::pet_btl_t& lobby_enter_msg::pet_btl(int index) const {
return pet_btl_.Get(index);
}
inline ::share_msg::pet_btl_t* lobby_enter_msg::mutable_pet_btl(int index) {
return pet_btl_.Mutable(index);
}
inline ::share_msg::pet_btl_t* lobby_enter_msg::add_pet_btl() {
return pet_btl_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::share_msg::pet_btl_t >&
lobby_enter_msg::pet_btl() const {
return pet_btl_;
}
inline ::google::protobuf::RepeatedPtrField< ::share_msg::pet_btl_t >*
lobby_enter_msg::mutable_pet_btl() {
return &pet_btl_;
}
// -------------------------------------------------------------------
// lobby_enter_msg_res
// -------------------------------------------------------------------
// lobby_out_msg
// -------------------------------------------------------------------
// lobby_out_msg_res
// -------------------------------------------------------------------
// notify_game_end_msg
// -------------------------------------------------------------------
// notify_game_end_msg_res
// optional .share_msg.btl_t btl = 2;
inline bool notify_game_end_msg_res::has_btl() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void notify_game_end_msg_res::set_has_btl() {
_has_bits_[0] |= 0x00000001u;
}
inline void notify_game_end_msg_res::clear_has_btl() {
_has_bits_[0] &= ~0x00000001u;
}
inline void notify_game_end_msg_res::clear_btl() {
if (btl_ != NULL) btl_->::share_msg::btl_t::Clear();
clear_has_btl();
}
inline const ::share_msg::btl_t& notify_game_end_msg_res::btl() const {
return btl_ != NULL ? *btl_ : *default_instance_->btl_;
}
inline ::share_msg::btl_t* notify_game_end_msg_res::mutable_btl() {
set_has_btl();
if (btl_ == NULL) btl_ = new ::share_msg::btl_t;
return btl_;
}
inline ::share_msg::btl_t* notify_game_end_msg_res::release_btl() {
clear_has_btl();
::share_msg::btl_t* temp = btl_;
btl_ = NULL;
return temp;
}
inline void notify_game_end_msg_res::set_allocated_btl(::share_msg::btl_t* btl) {
delete btl_;
btl_ = btl;
if (btl) {
set_has_btl();
} else {
clear_has_btl();
}
}
// @@protoc_insertion_point(namespace_scope)
} // namespace lobby_gateway_msg
#ifndef SWIG
namespace google {
namespace protobuf {
} // namespace google
} // namespace protobuf
#endif // SWIG
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_lobby_5fgateway_2eproto__INCLUDED