TrinityCore
user_manager_service.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: user_manager_service.proto
3
4#ifndef PROTOBUF_user_5fmanager_5fservice_2eproto__INCLUDED
5#define PROTOBUF_user_5fmanager_5fservice_2eproto__INCLUDED
6
7#include <string>
8
9#include <google/protobuf/stubs/common.h>
10
11#if GOOGLE_PROTOBUF_VERSION < 2006000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/generated_message_util.h>
23#include <google/protobuf/message.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/unknown_field_set.h>
28#include "entity_types.pb.h"
29#include "rpc_types.pb.h"
30#include "ServiceBase.h"
31#include "MessageBuffer.h"
32#include <functional>
33#include <type_traits>
34// @@protoc_insertion_point(includes)
35
36namespace bgs {
37namespace protocol {
38namespace user_manager {
39namespace v1 {
40
41// Internal implementation detail -- do not call these.
45
57
58// ===================================================================
59
60class TC_PROTO_API SubscribeRequest : public ::google::protobuf::Message {
61 public:
64
66
68 CopyFrom(from);
69 return *this;
70 }
71
72 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
73 return _unknown_fields_;
74 }
75
76 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
77 return &_unknown_fields_;
78 }
79
80 static const ::google::protobuf::Descriptor* descriptor();
82
83 void Swap(SubscribeRequest* other);
84
85 // implements Message ----------------------------------------------
86
88 int GetCachedSize() const { return _cached_size_; }
89 private:
90 void SharedCtor();
91 void SharedDtor();
92 void SetCachedSize(int size) const;
93 public:
94 ::google::protobuf::Metadata GetMetadata() const;
95
96 // nested types ----------------------------------------------------
97
98 // accessors -------------------------------------------------------
99
100 // optional .bgs.protocol.EntityId agent_id = 1;
101 inline bool has_agent_id() const;
102 inline void clear_agent_id();
103 static const int kAgentIdFieldNumber = 1;
104 inline const ::bgs::protocol::EntityId& agent_id() const;
105 inline ::bgs::protocol::EntityId* mutable_agent_id();
106 inline ::bgs::protocol::EntityId* release_agent_id();
107 inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id);
108
109 // required uint64 object_id = 2;
110 inline bool has_object_id() const;
111 inline void clear_object_id();
112 static const int kObjectIdFieldNumber = 2;
113 inline ::google::protobuf::uint64 object_id() const;
114 inline void set_object_id(::google::protobuf::uint64 value);
115
116 // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.SubscribeRequest)
117 private:
118 inline void set_has_agent_id();
119 inline void clear_has_agent_id();
120 inline void set_has_object_id();
121 inline void clear_has_object_id();
122
123 ::google::protobuf::UnknownFieldSet _unknown_fields_;
124
126 mutable int _cached_size_;
132
135};
136// -------------------------------------------------------------------
137
138class TC_PROTO_API SubscribeResponse : public ::google::protobuf::Message {
139 public:
142
144
146 CopyFrom(from);
147 return *this;
148 }
149
150 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
151 return _unknown_fields_;
152 }
153
154 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
155 return &_unknown_fields_;
156 }
157
158 static const ::google::protobuf::Descriptor* descriptor();
160
162
163 // implements Message ----------------------------------------------
164
166 int GetCachedSize() const { return _cached_size_; }
167 private:
170 void SetCachedSize(int size) const;
171 public:
172 ::google::protobuf::Metadata GetMetadata() const;
173
174 // nested types ----------------------------------------------------
175
176 // accessors -------------------------------------------------------
177
178 // repeated .bgs.protocol.user_manager.v1.BlockedPlayer blocked_players = 1;
179 inline int blocked_players_size() const;
180 inline void clear_blocked_players();
181 static const int kBlockedPlayersFieldNumber = 1;
182 inline const ::bgs::protocol::user_manager::v1::BlockedPlayer& blocked_players(int index) const;
183 inline ::bgs::protocol::user_manager::v1::BlockedPlayer* mutable_blocked_players(int index);
184 inline ::bgs::protocol::user_manager::v1::BlockedPlayer* add_blocked_players();
185 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer >&
186 blocked_players() const;
187 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer >*
188 mutable_blocked_players();
189
190 // repeated .bgs.protocol.user_manager.v1.RecentPlayer recent_players = 2;
191 inline int recent_players_size() const;
192 inline void clear_recent_players();
193 static const int kRecentPlayersFieldNumber = 2;
194 inline const ::bgs::protocol::user_manager::v1::RecentPlayer& recent_players(int index) const;
195 inline ::bgs::protocol::user_manager::v1::RecentPlayer* mutable_recent_players(int index);
196 inline ::bgs::protocol::user_manager::v1::RecentPlayer* add_recent_players();
197 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >&
198 recent_players() const;
199 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >*
200 mutable_recent_players();
201
202 // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.SubscribeResponse)
203 private:
204
205 ::google::protobuf::UnknownFieldSet _unknown_fields_;
206
208 mutable int _cached_size_;
209 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer > blocked_players_;
210 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > recent_players_;
214
217};
218// -------------------------------------------------------------------
219
220class TC_PROTO_API UnsubscribeRequest : public ::google::protobuf::Message {
221 public:
224
226
228 CopyFrom(from);
229 return *this;
230 }
231
232 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
233 return _unknown_fields_;
234 }
235
236 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
237 return &_unknown_fields_;
238 }
239
240 static const ::google::protobuf::Descriptor* descriptor();
242
244
245 // implements Message ----------------------------------------------
246
248 int GetCachedSize() const { return _cached_size_; }
249 private:
252 void SetCachedSize(int size) const;
253 public:
254 ::google::protobuf::Metadata GetMetadata() const;
255
256 // nested types ----------------------------------------------------
257
258 // accessors -------------------------------------------------------
259
260 // optional .bgs.protocol.EntityId agent_id = 1;
261 inline bool has_agent_id() const;
262 inline void clear_agent_id();
263 static const int kAgentIdFieldNumber = 1;
264 inline const ::bgs::protocol::EntityId& agent_id() const;
265 inline ::bgs::protocol::EntityId* mutable_agent_id();
266 inline ::bgs::protocol::EntityId* release_agent_id();
267 inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id);
268
269 // optional uint64 object_id = 2;
270 inline bool has_object_id() const;
271 inline void clear_object_id();
272 static const int kObjectIdFieldNumber = 2;
273 inline ::google::protobuf::uint64 object_id() const;
274 inline void set_object_id(::google::protobuf::uint64 value);
275
276 // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.UnsubscribeRequest)
277 private:
278 inline void set_has_agent_id();
279 inline void clear_has_agent_id();
280 inline void set_has_object_id();
281 inline void clear_has_object_id();
282
283 ::google::protobuf::UnknownFieldSet _unknown_fields_;
284
286 mutable int _cached_size_;
292
295};
296// -------------------------------------------------------------------
297
298class TC_PROTO_API AddRecentPlayersRequest : public ::google::protobuf::Message {
299 public:
302
304
306 CopyFrom(from);
307 return *this;
308 }
309
310 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
311 return _unknown_fields_;
312 }
313
314 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
315 return &_unknown_fields_;
316 }
317
318 static const ::google::protobuf::Descriptor* descriptor();
320
322
323 // implements Message ----------------------------------------------
324
326 int GetCachedSize() const { return _cached_size_; }
327 private:
330 void SetCachedSize(int size) const;
331 public:
332 ::google::protobuf::Metadata GetMetadata() const;
333
334 // nested types ----------------------------------------------------
335
336 // accessors -------------------------------------------------------
337
338 // repeated .bgs.protocol.user_manager.v1.RecentPlayer players = 1;
339 inline int players_size() const;
340 inline void clear_players();
341 static const int kPlayersFieldNumber = 1;
342 inline const ::bgs::protocol::user_manager::v1::RecentPlayer& players(int index) const;
343 inline ::bgs::protocol::user_manager::v1::RecentPlayer* mutable_players(int index);
344 inline ::bgs::protocol::user_manager::v1::RecentPlayer* add_players();
345 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >&
346 players() const;
347 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >*
348 mutable_players();
349
350 // optional .bgs.protocol.EntityId agent_id = 2;
351 inline bool has_agent_id() const;
352 inline void clear_agent_id();
353 static const int kAgentIdFieldNumber = 2;
354 inline const ::bgs::protocol::EntityId& agent_id() const;
355 inline ::bgs::protocol::EntityId* mutable_agent_id();
356 inline ::bgs::protocol::EntityId* release_agent_id();
357 inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id);
358
359 // optional uint32 program = 3;
360 inline bool has_program() const;
361 inline void clear_program();
362 static const int kProgramFieldNumber = 3;
363 inline ::google::protobuf::uint32 program() const;
364 inline void set_program(::google::protobuf::uint32 value);
365
366 // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.AddRecentPlayersRequest)
367 private:
368 inline void set_has_agent_id();
369 inline void clear_has_agent_id();
370 inline void set_has_program();
371 inline void clear_has_program();
372
373 ::google::protobuf::UnknownFieldSet _unknown_fields_;
374
376 mutable int _cached_size_;
377 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > players_;
383
386};
387// -------------------------------------------------------------------
388
389class TC_PROTO_API ClearRecentPlayersRequest : public ::google::protobuf::Message {
390 public:
393
395
397 CopyFrom(from);
398 return *this;
399 }
400
401 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
402 return _unknown_fields_;
403 }
404
405 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
406 return &_unknown_fields_;
407 }
408
409 static const ::google::protobuf::Descriptor* descriptor();
411
413
414 // implements Message ----------------------------------------------
415
417 int GetCachedSize() const { return _cached_size_; }
418 private:
421 void SetCachedSize(int size) const;
422 public:
423 ::google::protobuf::Metadata GetMetadata() const;
424
425 // nested types ----------------------------------------------------
426
427 // accessors -------------------------------------------------------
428
429 // optional .bgs.protocol.EntityId agent_id = 1;
430 inline bool has_agent_id() const;
431 inline void clear_agent_id();
432 static const int kAgentIdFieldNumber = 1;
433 inline const ::bgs::protocol::EntityId& agent_id() const;
434 inline ::bgs::protocol::EntityId* mutable_agent_id();
435 inline ::bgs::protocol::EntityId* release_agent_id();
436 inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id);
437
438 // optional uint32 program = 2;
439 inline bool has_program() const;
440 inline void clear_program();
441 static const int kProgramFieldNumber = 2;
442 inline ::google::protobuf::uint32 program() const;
443 inline void set_program(::google::protobuf::uint32 value);
444
445 // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest)
446 private:
447 inline void set_has_agent_id();
448 inline void clear_has_agent_id();
449 inline void set_has_program();
450 inline void clear_has_program();
451
452 ::google::protobuf::UnknownFieldSet _unknown_fields_;
453
455 mutable int _cached_size_;
461
464};
465// -------------------------------------------------------------------
466
467class TC_PROTO_API BlockPlayerRequest : public ::google::protobuf::Message {
468 public:
471
473
475 CopyFrom(from);
476 return *this;
477 }
478
479 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
480 return _unknown_fields_;
481 }
482
483 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
484 return &_unknown_fields_;
485 }
486
487 static const ::google::protobuf::Descriptor* descriptor();
489
491
492 // implements Message ----------------------------------------------
493
495 int GetCachedSize() const { return _cached_size_; }
496 private:
499 void SetCachedSize(int size) const;
500 public:
501 ::google::protobuf::Metadata GetMetadata() const;
502
503 // nested types ----------------------------------------------------
504
505 // accessors -------------------------------------------------------
506
507 // optional .bgs.protocol.EntityId agent_id = 1;
508 inline bool has_agent_id() const;
509 inline void clear_agent_id();
510 static const int kAgentIdFieldNumber = 1;
511 inline const ::bgs::protocol::EntityId& agent_id() const;
512 inline ::bgs::protocol::EntityId* mutable_agent_id();
513 inline ::bgs::protocol::EntityId* release_agent_id();
514 inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id);
515
516 // required .bgs.protocol.EntityId target_id = 2;
517 inline bool has_target_id() const;
518 inline void clear_target_id();
519 static const int kTargetIdFieldNumber = 2;
520 inline const ::bgs::protocol::EntityId& target_id() const;
521 inline ::bgs::protocol::EntityId* mutable_target_id();
522 inline ::bgs::protocol::EntityId* release_target_id();
523 inline void set_allocated_target_id(::bgs::protocol::EntityId* target_id);
524
525 // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.BlockPlayerRequest)
526 private:
527 inline void set_has_agent_id();
528 inline void clear_has_agent_id();
529 inline void set_has_target_id();
530 inline void clear_has_target_id();
531
532 ::google::protobuf::UnknownFieldSet _unknown_fields_;
533
535 mutable int _cached_size_;
541
544};
545// -------------------------------------------------------------------
546
547class TC_PROTO_API UnblockPlayerRequest : public ::google::protobuf::Message {
548 public:
551
553
555 CopyFrom(from);
556 return *this;
557 }
558
559 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
560 return _unknown_fields_;
561 }
562
563 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
564 return &_unknown_fields_;
565 }
566
567 static const ::google::protobuf::Descriptor* descriptor();
569
571
572 // implements Message ----------------------------------------------
573
575 int GetCachedSize() const { return _cached_size_; }
576 private:
579 void SetCachedSize(int size) const;
580 public:
581 ::google::protobuf::Metadata GetMetadata() const;
582
583 // nested types ----------------------------------------------------
584
585 // accessors -------------------------------------------------------
586
587 // optional .bgs.protocol.EntityId agent_id = 1;
588 inline bool has_agent_id() const;
589 inline void clear_agent_id();
590 static const int kAgentIdFieldNumber = 1;
591 inline const ::bgs::protocol::EntityId& agent_id() const;
592 inline ::bgs::protocol::EntityId* mutable_agent_id();
593 inline ::bgs::protocol::EntityId* release_agent_id();
594 inline void set_allocated_agent_id(::bgs::protocol::EntityId* agent_id);
595
596 // required .bgs.protocol.EntityId target_id = 2;
597 inline bool has_target_id() const;
598 inline void clear_target_id();
599 static const int kTargetIdFieldNumber = 2;
600 inline const ::bgs::protocol::EntityId& target_id() const;
601 inline ::bgs::protocol::EntityId* mutable_target_id();
602 inline ::bgs::protocol::EntityId* release_target_id();
603 inline void set_allocated_target_id(::bgs::protocol::EntityId* target_id);
604
605 // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.UnblockPlayerRequest)
606 private:
607 inline void set_has_agent_id();
608 inline void clear_has_agent_id();
609 inline void set_has_target_id();
610 inline void clear_has_target_id();
611
612 ::google::protobuf::UnknownFieldSet _unknown_fields_;
613
615 mutable int _cached_size_;
621
624};
625// -------------------------------------------------------------------
626
627class TC_PROTO_API BlockedPlayerAddedNotification : public ::google::protobuf::Message {
628 public:
631
633
635 CopyFrom(from);
636 return *this;
637 }
638
639 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
640 return _unknown_fields_;
641 }
642
643 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
644 return &_unknown_fields_;
645 }
646
647 static const ::google::protobuf::Descriptor* descriptor();
649
651
652 // implements Message ----------------------------------------------
653
655 int GetCachedSize() const { return _cached_size_; }
656 private:
659 void SetCachedSize(int size) const;
660 public:
661 ::google::protobuf::Metadata GetMetadata() const;
662
663 // nested types ----------------------------------------------------
664
665 // accessors -------------------------------------------------------
666
667 // required .bgs.protocol.user_manager.v1.BlockedPlayer player = 1;
668 inline bool has_player() const;
669 inline void clear_player();
670 static const int kPlayerFieldNumber = 1;
671 inline const ::bgs::protocol::user_manager::v1::BlockedPlayer& player() const;
672 inline ::bgs::protocol::user_manager::v1::BlockedPlayer* mutable_player();
673 inline ::bgs::protocol::user_manager::v1::BlockedPlayer* release_player();
674 inline void set_allocated_player(::bgs::protocol::user_manager::v1::BlockedPlayer* player);
675
676 // optional .bgs.protocol.EntityId game_account_id = 2;
677 inline bool has_game_account_id() const;
678 inline void clear_game_account_id();
679 static const int kGameAccountIdFieldNumber = 2;
680 inline const ::bgs::protocol::EntityId& game_account_id() const;
681 inline ::bgs::protocol::EntityId* mutable_game_account_id();
682 inline ::bgs::protocol::EntityId* release_game_account_id();
683 inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
684
685 // optional .bgs.protocol.EntityId account_id = 3;
686 inline bool has_account_id() const;
687 inline void clear_account_id();
688 static const int kAccountIdFieldNumber = 3;
689 inline const ::bgs::protocol::EntityId& account_id() const;
690 inline ::bgs::protocol::EntityId* mutable_account_id();
691 inline ::bgs::protocol::EntityId* release_account_id();
692 inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id);
693
694 // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification)
695 private:
696 inline void set_has_player();
697 inline void clear_has_player();
698 inline void set_has_game_account_id();
699 inline void clear_has_game_account_id();
700 inline void set_has_account_id();
701 inline void clear_has_account_id();
702
703 ::google::protobuf::UnknownFieldSet _unknown_fields_;
704
706 mutable int _cached_size_;
713
716};
717// -------------------------------------------------------------------
718
719class TC_PROTO_API BlockedPlayerRemovedNotification : public ::google::protobuf::Message {
720 public:
723
725
727 CopyFrom(from);
728 return *this;
729 }
730
731 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
732 return _unknown_fields_;
733 }
734
735 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
736 return &_unknown_fields_;
737 }
738
739 static const ::google::protobuf::Descriptor* descriptor();
741
743
744 // implements Message ----------------------------------------------
745
747 int GetCachedSize() const { return _cached_size_; }
748 private:
751 void SetCachedSize(int size) const;
752 public:
753 ::google::protobuf::Metadata GetMetadata() const;
754
755 // nested types ----------------------------------------------------
756
757 // accessors -------------------------------------------------------
758
759 // required .bgs.protocol.user_manager.v1.BlockedPlayer player = 1;
760 inline bool has_player() const;
761 inline void clear_player();
762 static const int kPlayerFieldNumber = 1;
763 inline const ::bgs::protocol::user_manager::v1::BlockedPlayer& player() const;
764 inline ::bgs::protocol::user_manager::v1::BlockedPlayer* mutable_player();
765 inline ::bgs::protocol::user_manager::v1::BlockedPlayer* release_player();
766 inline void set_allocated_player(::bgs::protocol::user_manager::v1::BlockedPlayer* player);
767
768 // optional .bgs.protocol.EntityId game_account_id = 2;
769 inline bool has_game_account_id() const;
770 inline void clear_game_account_id();
771 static const int kGameAccountIdFieldNumber = 2;
772 inline const ::bgs::protocol::EntityId& game_account_id() const;
773 inline ::bgs::protocol::EntityId* mutable_game_account_id();
774 inline ::bgs::protocol::EntityId* release_game_account_id();
775 inline void set_allocated_game_account_id(::bgs::protocol::EntityId* game_account_id);
776
777 // optional .bgs.protocol.EntityId account_id = 3;
778 inline bool has_account_id() const;
779 inline void clear_account_id();
780 static const int kAccountIdFieldNumber = 3;
781 inline const ::bgs::protocol::EntityId& account_id() const;
782 inline ::bgs::protocol::EntityId* mutable_account_id();
783 inline ::bgs::protocol::EntityId* release_account_id();
784 inline void set_allocated_account_id(::bgs::protocol::EntityId* account_id);
785
786 // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification)
787 private:
788 inline void set_has_player();
789 inline void clear_has_player();
790 inline void set_has_game_account_id();
791 inline void clear_has_game_account_id();
792 inline void set_has_account_id();
793 inline void clear_has_account_id();
794
795 ::google::protobuf::UnknownFieldSet _unknown_fields_;
796
798 mutable int _cached_size_;
805
808};
809// -------------------------------------------------------------------
810
811class TC_PROTO_API RecentPlayersAddedNotification : public ::google::protobuf::Message {
812 public:
815
817
819 CopyFrom(from);
820 return *this;
821 }
822
823 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
824 return _unknown_fields_;
825 }
826
827 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
828 return &_unknown_fields_;
829 }
830
831 static const ::google::protobuf::Descriptor* descriptor();
833
835
836 // implements Message ----------------------------------------------
837
839 int GetCachedSize() const { return _cached_size_; }
840 private:
843 void SetCachedSize(int size) const;
844 public:
845 ::google::protobuf::Metadata GetMetadata() const;
846
847 // nested types ----------------------------------------------------
848
849 // accessors -------------------------------------------------------
850
851 // repeated .bgs.protocol.user_manager.v1.RecentPlayer player = 1;
852 inline int player_size() const;
853 inline void clear_player();
854 static const int kPlayerFieldNumber = 1;
855 inline const ::bgs::protocol::user_manager::v1::RecentPlayer& player(int index) const;
856 inline ::bgs::protocol::user_manager::v1::RecentPlayer* mutable_player(int index);
857 inline ::bgs::protocol::user_manager::v1::RecentPlayer* add_player();
858 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >&
859 player() const;
860 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >*
861 mutable_player();
862
863 // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification)
864 private:
865
866 ::google::protobuf::UnknownFieldSet _unknown_fields_;
867
869 mutable int _cached_size_;
870 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > player_;
874
877};
878// -------------------------------------------------------------------
879
880class TC_PROTO_API RecentPlayersRemovedNotification : public ::google::protobuf::Message {
881 public:
884
886
888 CopyFrom(from);
889 return *this;
890 }
891
892 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
893 return _unknown_fields_;
894 }
895
896 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
897 return &_unknown_fields_;
898 }
899
900 static const ::google::protobuf::Descriptor* descriptor();
902
904
905 // implements Message ----------------------------------------------
906
908 int GetCachedSize() const { return _cached_size_; }
909 private:
912 void SetCachedSize(int size) const;
913 public:
914 ::google::protobuf::Metadata GetMetadata() const;
915
916 // nested types ----------------------------------------------------
917
918 // accessors -------------------------------------------------------
919
920 // repeated .bgs.protocol.user_manager.v1.RecentPlayer player = 1;
921 inline int player_size() const;
922 inline void clear_player();
923 static const int kPlayerFieldNumber = 1;
924 inline const ::bgs::protocol::user_manager::v1::RecentPlayer& player(int index) const;
925 inline ::bgs::protocol::user_manager::v1::RecentPlayer* mutable_player(int index);
926 inline ::bgs::protocol::user_manager::v1::RecentPlayer* add_player();
927 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >&
928 player() const;
929 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >*
930 mutable_player();
931
932 // @@protoc_insertion_point(class_scope:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification)
933 private:
934
935 ::google::protobuf::UnknownFieldSet _unknown_fields_;
936
938 mutable int _cached_size_;
939 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > player_;
943
946};
947// ===================================================================
948
950{
951 public:
952
953 explicit UserManagerService(bool use_original_hash);
959
960 typedef std::integral_constant<uint32, 0x3E19268Au> OriginalHash;
961 typedef std::integral_constant<uint32, 0x8EE5694Eu> NameHash;
962
963 static google::protobuf::ServiceDescriptor const* descriptor();
964
965 void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final;
966
967 protected:
968 // server methods --------------------------------------------------
969 virtual uint32 HandleSubscribe(::bgs::protocol::user_manager::v1::SubscribeRequest const* request, ::bgs::protocol::user_manager::v1::SubscribeResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
970 virtual uint32 HandleAddRecentPlayers(::bgs::protocol::user_manager::v1::AddRecentPlayersRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
971 virtual uint32 HandleClearRecentPlayers(::bgs::protocol::user_manager::v1::ClearRecentPlayersRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
972 virtual uint32 HandleBlockPlayer(::bgs::protocol::user_manager::v1::BlockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
973 virtual uint32 HandleUnblockPlayer(::bgs::protocol::user_manager::v1::UnblockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
974 virtual uint32 HandleBlockPlayerForSession(::bgs::protocol::user_manager::v1::BlockPlayerRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
975 virtual uint32 HandleUnsubscribe(::bgs::protocol::user_manager::v1::UnsubscribeRequest const* request, ::bgs::protocol::NoData* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& continuation);
976
977 private:
978 void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer);
981 void ParseAndHandleBlockPlayer(uint32 token, uint32 methodId, MessageBuffer& buffer);
984 void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer& buffer);
985};
986
987// -------------------------------------------------------------------
988
990{
991 public:
992
993 explicit UserManagerListener(bool use_original_hash);
999
1000 typedef std::integral_constant<uint32, 0xBC872C22u> OriginalHash;
1001 typedef std::integral_constant<uint32, 0xB3426BB3u> NameHash;
1002
1003 static google::protobuf::ServiceDescriptor const* descriptor();
1004
1005 // client methods --------------------------------------------------
1006 void OnBlockedPlayerAdded(::bgs::protocol::user_manager::v1::BlockedPlayerAddedNotification const* request, bool client = false, bool server = false);
1007 void OnBlockedPlayerRemoved(::bgs::protocol::user_manager::v1::BlockedPlayerRemovedNotification const* request, bool client = false, bool server = false);
1008 void OnRecentPlayersAdded(::bgs::protocol::user_manager::v1::RecentPlayersAddedNotification const* request, bool client = false, bool server = false);
1009 void OnRecentPlayersRemoved(::bgs::protocol::user_manager::v1::RecentPlayersRemovedNotification const* request, bool client = false, bool server = false);
1010
1011 void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final;
1012};
1013
1014// ===================================================================
1015
1016// ===================================================================
1017
1018// SubscribeRequest
1019
1020// optional .bgs.protocol.EntityId agent_id = 1;
1022 return (_has_bits_[0] & 0x00000001u) != 0;
1023}
1025 _has_bits_[0] |= 0x00000001u;
1026}
1028 _has_bits_[0] &= ~0x00000001u;
1029}
1031 if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1033}
1034inline const ::bgs::protocol::EntityId& SubscribeRequest::agent_id() const {
1035 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.SubscribeRequest.agent_id)
1036 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1037}
1038inline ::bgs::protocol::EntityId* SubscribeRequest::mutable_agent_id() {
1040 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1041 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.SubscribeRequest.agent_id)
1042 return agent_id_;
1043}
1044inline ::bgs::protocol::EntityId* SubscribeRequest::release_agent_id() {
1047 agent_id_ = NULL;
1048 return temp;
1049}
1051 delete agent_id_;
1053 if (agent_id) {
1055 } else {
1057 }
1058 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.SubscribeRequest.agent_id)
1059}
1060
1061// required uint64 object_id = 2;
1063 return (_has_bits_[0] & 0x00000002u) != 0;
1064}
1066 _has_bits_[0] |= 0x00000002u;
1067}
1069 _has_bits_[0] &= ~0x00000002u;
1070}
1072 object_id_ = GOOGLE_ULONGLONG(0);
1074}
1076 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.SubscribeRequest.object_id)
1077 return object_id_;
1078}
1081 object_id_ = value;
1082 // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.SubscribeRequest.object_id)
1083}
1084
1085// -------------------------------------------------------------------
1086
1087// SubscribeResponse
1088
1089// repeated .bgs.protocol.user_manager.v1.BlockedPlayer blocked_players = 1;
1091 return blocked_players_.size();
1092}
1094 blocked_players_.Clear();
1095}
1096inline const ::bgs::protocol::user_manager::v1::BlockedPlayer& SubscribeResponse::blocked_players(int index) const {
1097 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.SubscribeResponse.blocked_players)
1098 return blocked_players_.Get(index);
1099}
1100inline ::bgs::protocol::user_manager::v1::BlockedPlayer* SubscribeResponse::mutable_blocked_players(int index) {
1101 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.SubscribeResponse.blocked_players)
1102 return blocked_players_.Mutable(index);
1103}
1104inline ::bgs::protocol::user_manager::v1::BlockedPlayer* SubscribeResponse::add_blocked_players() {
1105 // @@protoc_insertion_point(field_add:bgs.protocol.user_manager.v1.SubscribeResponse.blocked_players)
1106 return blocked_players_.Add();
1107}
1108inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer >&
1110 // @@protoc_insertion_point(field_list:bgs.protocol.user_manager.v1.SubscribeResponse.blocked_players)
1111 return blocked_players_;
1112}
1113inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer >*
1115 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.user_manager.v1.SubscribeResponse.blocked_players)
1116 return &blocked_players_;
1117}
1118
1119// repeated .bgs.protocol.user_manager.v1.RecentPlayer recent_players = 2;
1121 return recent_players_.size();
1122}
1124 recent_players_.Clear();
1125}
1126inline const ::bgs::protocol::user_manager::v1::RecentPlayer& SubscribeResponse::recent_players(int index) const {
1127 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.SubscribeResponse.recent_players)
1128 return recent_players_.Get(index);
1129}
1130inline ::bgs::protocol::user_manager::v1::RecentPlayer* SubscribeResponse::mutable_recent_players(int index) {
1131 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.SubscribeResponse.recent_players)
1132 return recent_players_.Mutable(index);
1133}
1134inline ::bgs::protocol::user_manager::v1::RecentPlayer* SubscribeResponse::add_recent_players() {
1135 // @@protoc_insertion_point(field_add:bgs.protocol.user_manager.v1.SubscribeResponse.recent_players)
1136 return recent_players_.Add();
1137}
1138inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >&
1140 // @@protoc_insertion_point(field_list:bgs.protocol.user_manager.v1.SubscribeResponse.recent_players)
1141 return recent_players_;
1142}
1143inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >*
1145 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.user_manager.v1.SubscribeResponse.recent_players)
1146 return &recent_players_;
1147}
1148
1149// -------------------------------------------------------------------
1150
1151// UnsubscribeRequest
1152
1153// optional .bgs.protocol.EntityId agent_id = 1;
1155 return (_has_bits_[0] & 0x00000001u) != 0;
1156}
1158 _has_bits_[0] |= 0x00000001u;
1159}
1161 _has_bits_[0] &= ~0x00000001u;
1162}
1164 if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1166}
1167inline const ::bgs::protocol::EntityId& UnsubscribeRequest::agent_id() const {
1168 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.UnsubscribeRequest.agent_id)
1169 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1170}
1171inline ::bgs::protocol::EntityId* UnsubscribeRequest::mutable_agent_id() {
1173 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1174 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.UnsubscribeRequest.agent_id)
1175 return agent_id_;
1176}
1177inline ::bgs::protocol::EntityId* UnsubscribeRequest::release_agent_id() {
1180 agent_id_ = NULL;
1181 return temp;
1182}
1184 delete agent_id_;
1186 if (agent_id) {
1188 } else {
1190 }
1191 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.UnsubscribeRequest.agent_id)
1192}
1193
1194// optional uint64 object_id = 2;
1196 return (_has_bits_[0] & 0x00000002u) != 0;
1197}
1199 _has_bits_[0] |= 0x00000002u;
1200}
1202 _has_bits_[0] &= ~0x00000002u;
1203}
1205 object_id_ = GOOGLE_ULONGLONG(0);
1207}
1209 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.UnsubscribeRequest.object_id)
1210 return object_id_;
1211}
1214 object_id_ = value;
1215 // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.UnsubscribeRequest.object_id)
1216}
1217
1218// -------------------------------------------------------------------
1219
1220// AddRecentPlayersRequest
1221
1222// repeated .bgs.protocol.user_manager.v1.RecentPlayer players = 1;
1224 return players_.size();
1225}
1227 players_.Clear();
1228}
1229inline const ::bgs::protocol::user_manager::v1::RecentPlayer& AddRecentPlayersRequest::players(int index) const {
1230 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.players)
1231 return players_.Get(index);
1232}
1233inline ::bgs::protocol::user_manager::v1::RecentPlayer* AddRecentPlayersRequest::mutable_players(int index) {
1234 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.players)
1235 return players_.Mutable(index);
1236}
1237inline ::bgs::protocol::user_manager::v1::RecentPlayer* AddRecentPlayersRequest::add_players() {
1238 // @@protoc_insertion_point(field_add:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.players)
1239 return players_.Add();
1240}
1241inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >&
1243 // @@protoc_insertion_point(field_list:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.players)
1244 return players_;
1245}
1246inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >*
1248 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.players)
1249 return &players_;
1250}
1251
1252// optional .bgs.protocol.EntityId agent_id = 2;
1254 return (_has_bits_[0] & 0x00000002u) != 0;
1255}
1257 _has_bits_[0] |= 0x00000002u;
1258}
1260 _has_bits_[0] &= ~0x00000002u;
1261}
1263 if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1265}
1266inline const ::bgs::protocol::EntityId& AddRecentPlayersRequest::agent_id() const {
1267 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.agent_id)
1268 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1269}
1270inline ::bgs::protocol::EntityId* AddRecentPlayersRequest::mutable_agent_id() {
1272 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1273 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.agent_id)
1274 return agent_id_;
1275}
1276inline ::bgs::protocol::EntityId* AddRecentPlayersRequest::release_agent_id() {
1279 agent_id_ = NULL;
1280 return temp;
1281}
1283 delete agent_id_;
1285 if (agent_id) {
1287 } else {
1289 }
1290 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.agent_id)
1291}
1292
1293// optional uint32 program = 3;
1295 return (_has_bits_[0] & 0x00000004u) != 0;
1296}
1298 _has_bits_[0] |= 0x00000004u;
1299}
1301 _has_bits_[0] &= ~0x00000004u;
1302}
1304 program_ = 0u;
1306}
1308 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.program)
1309 return program_;
1310}
1313 program_ = value;
1314 // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.AddRecentPlayersRequest.program)
1315}
1316
1317// -------------------------------------------------------------------
1318
1319// ClearRecentPlayersRequest
1320
1321// optional .bgs.protocol.EntityId agent_id = 1;
1323 return (_has_bits_[0] & 0x00000001u) != 0;
1324}
1326 _has_bits_[0] |= 0x00000001u;
1327}
1329 _has_bits_[0] &= ~0x00000001u;
1330}
1332 if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1334}
1335inline const ::bgs::protocol::EntityId& ClearRecentPlayersRequest::agent_id() const {
1336 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest.agent_id)
1337 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1338}
1339inline ::bgs::protocol::EntityId* ClearRecentPlayersRequest::mutable_agent_id() {
1341 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1342 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest.agent_id)
1343 return agent_id_;
1344}
1345inline ::bgs::protocol::EntityId* ClearRecentPlayersRequest::release_agent_id() {
1348 agent_id_ = NULL;
1349 return temp;
1350}
1352 delete agent_id_;
1354 if (agent_id) {
1356 } else {
1358 }
1359 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest.agent_id)
1360}
1361
1362// optional uint32 program = 2;
1364 return (_has_bits_[0] & 0x00000002u) != 0;
1365}
1367 _has_bits_[0] |= 0x00000002u;
1368}
1370 _has_bits_[0] &= ~0x00000002u;
1371}
1373 program_ = 0u;
1375}
1377 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest.program)
1378 return program_;
1379}
1382 program_ = value;
1383 // @@protoc_insertion_point(field_set:bgs.protocol.user_manager.v1.ClearRecentPlayersRequest.program)
1384}
1385
1386// -------------------------------------------------------------------
1387
1388// BlockPlayerRequest
1389
1390// optional .bgs.protocol.EntityId agent_id = 1;
1392 return (_has_bits_[0] & 0x00000001u) != 0;
1393}
1395 _has_bits_[0] |= 0x00000001u;
1396}
1398 _has_bits_[0] &= ~0x00000001u;
1399}
1401 if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1403}
1404inline const ::bgs::protocol::EntityId& BlockPlayerRequest::agent_id() const {
1405 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockPlayerRequest.agent_id)
1406 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1407}
1408inline ::bgs::protocol::EntityId* BlockPlayerRequest::mutable_agent_id() {
1410 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1411 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockPlayerRequest.agent_id)
1412 return agent_id_;
1413}
1414inline ::bgs::protocol::EntityId* BlockPlayerRequest::release_agent_id() {
1417 agent_id_ = NULL;
1418 return temp;
1419}
1421 delete agent_id_;
1423 if (agent_id) {
1425 } else {
1427 }
1428 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockPlayerRequest.agent_id)
1429}
1430
1431// required .bgs.protocol.EntityId target_id = 2;
1433 return (_has_bits_[0] & 0x00000002u) != 0;
1434}
1436 _has_bits_[0] |= 0x00000002u;
1437}
1439 _has_bits_[0] &= ~0x00000002u;
1440}
1442 if (target_id_ != NULL) target_id_->::bgs::protocol::EntityId::Clear();
1444}
1445inline const ::bgs::protocol::EntityId& BlockPlayerRequest::target_id() const {
1446 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockPlayerRequest.target_id)
1447 return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_;
1448}
1449inline ::bgs::protocol::EntityId* BlockPlayerRequest::mutable_target_id() {
1451 if (target_id_ == NULL) target_id_ = new ::bgs::protocol::EntityId;
1452 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockPlayerRequest.target_id)
1453 return target_id_;
1454}
1455inline ::bgs::protocol::EntityId* BlockPlayerRequest::release_target_id() {
1458 target_id_ = NULL;
1459 return temp;
1460}
1462 delete target_id_;
1464 if (target_id) {
1466 } else {
1468 }
1469 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockPlayerRequest.target_id)
1470}
1471
1472// -------------------------------------------------------------------
1473
1474// UnblockPlayerRequest
1475
1476// optional .bgs.protocol.EntityId agent_id = 1;
1478 return (_has_bits_[0] & 0x00000001u) != 0;
1479}
1481 _has_bits_[0] |= 0x00000001u;
1482}
1484 _has_bits_[0] &= ~0x00000001u;
1485}
1487 if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1489}
1490inline const ::bgs::protocol::EntityId& UnblockPlayerRequest::agent_id() const {
1491 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.UnblockPlayerRequest.agent_id)
1492 return agent_id_ != NULL ? *agent_id_ : *default_instance_->agent_id_;
1493}
1494inline ::bgs::protocol::EntityId* UnblockPlayerRequest::mutable_agent_id() {
1496 if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1497 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.UnblockPlayerRequest.agent_id)
1498 return agent_id_;
1499}
1500inline ::bgs::protocol::EntityId* UnblockPlayerRequest::release_agent_id() {
1503 agent_id_ = NULL;
1504 return temp;
1505}
1507 delete agent_id_;
1509 if (agent_id) {
1511 } else {
1513 }
1514 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.UnblockPlayerRequest.agent_id)
1515}
1516
1517// required .bgs.protocol.EntityId target_id = 2;
1519 return (_has_bits_[0] & 0x00000002u) != 0;
1520}
1522 _has_bits_[0] |= 0x00000002u;
1523}
1525 _has_bits_[0] &= ~0x00000002u;
1526}
1528 if (target_id_ != NULL) target_id_->::bgs::protocol::EntityId::Clear();
1530}
1531inline const ::bgs::protocol::EntityId& UnblockPlayerRequest::target_id() const {
1532 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.UnblockPlayerRequest.target_id)
1533 return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_;
1534}
1535inline ::bgs::protocol::EntityId* UnblockPlayerRequest::mutable_target_id() {
1537 if (target_id_ == NULL) target_id_ = new ::bgs::protocol::EntityId;
1538 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.UnblockPlayerRequest.target_id)
1539 return target_id_;
1540}
1541inline ::bgs::protocol::EntityId* UnblockPlayerRequest::release_target_id() {
1544 target_id_ = NULL;
1545 return temp;
1546}
1548 delete target_id_;
1550 if (target_id) {
1552 } else {
1554 }
1555 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.UnblockPlayerRequest.target_id)
1556}
1557
1558// -------------------------------------------------------------------
1559
1560// BlockedPlayerAddedNotification
1561
1562// required .bgs.protocol.user_manager.v1.BlockedPlayer player = 1;
1564 return (_has_bits_[0] & 0x00000001u) != 0;
1565}
1567 _has_bits_[0] |= 0x00000001u;
1568}
1570 _has_bits_[0] &= ~0x00000001u;
1571}
1573 if (player_ != NULL) player_->::bgs::protocol::user_manager::v1::BlockedPlayer::Clear();
1575}
1576inline const ::bgs::protocol::user_manager::v1::BlockedPlayer& BlockedPlayerAddedNotification::player() const {
1577 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.player)
1578 return player_ != NULL ? *player_ : *default_instance_->player_;
1579}
1580inline ::bgs::protocol::user_manager::v1::BlockedPlayer* BlockedPlayerAddedNotification::mutable_player() {
1582 if (player_ == NULL) player_ = new ::bgs::protocol::user_manager::v1::BlockedPlayer;
1583 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.player)
1584 return player_;
1585}
1586inline ::bgs::protocol::user_manager::v1::BlockedPlayer* BlockedPlayerAddedNotification::release_player() {
1589 player_ = NULL;
1590 return temp;
1591}
1593 delete player_;
1594 player_ = player;
1595 if (player) {
1597 } else {
1599 }
1600 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.player)
1601}
1602
1603// optional .bgs.protocol.EntityId game_account_id = 2;
1605 return (_has_bits_[0] & 0x00000002u) != 0;
1606}
1608 _has_bits_[0] |= 0x00000002u;
1609}
1611 _has_bits_[0] &= ~0x00000002u;
1612}
1614 if (game_account_id_ != NULL) game_account_id_->::bgs::protocol::EntityId::Clear();
1616}
1617inline const ::bgs::protocol::EntityId& BlockedPlayerAddedNotification::game_account_id() const {
1618 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.game_account_id)
1620}
1623 if (game_account_id_ == NULL) game_account_id_ = new ::bgs::protocol::EntityId;
1624 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.game_account_id)
1625 return game_account_id_;
1626}
1630 game_account_id_ = NULL;
1631 return temp;
1632}
1634 delete game_account_id_;
1636 if (game_account_id) {
1638 } else {
1640 }
1641 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.game_account_id)
1642}
1643
1644// optional .bgs.protocol.EntityId account_id = 3;
1646 return (_has_bits_[0] & 0x00000004u) != 0;
1647}
1649 _has_bits_[0] |= 0x00000004u;
1650}
1652 _has_bits_[0] &= ~0x00000004u;
1653}
1655 if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
1657}
1658inline const ::bgs::protocol::EntityId& BlockedPlayerAddedNotification::account_id() const {
1659 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.account_id)
1661}
1662inline ::bgs::protocol::EntityId* BlockedPlayerAddedNotification::mutable_account_id() {
1664 if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
1665 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.account_id)
1666 return account_id_;
1667}
1668inline ::bgs::protocol::EntityId* BlockedPlayerAddedNotification::release_account_id() {
1671 account_id_ = NULL;
1672 return temp;
1673}
1675 delete account_id_;
1677 if (account_id) {
1679 } else {
1681 }
1682 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayerAddedNotification.account_id)
1683}
1684
1685// -------------------------------------------------------------------
1686
1687// BlockedPlayerRemovedNotification
1688
1689// required .bgs.protocol.user_manager.v1.BlockedPlayer player = 1;
1691 return (_has_bits_[0] & 0x00000001u) != 0;
1692}
1694 _has_bits_[0] |= 0x00000001u;
1695}
1697 _has_bits_[0] &= ~0x00000001u;
1698}
1700 if (player_ != NULL) player_->::bgs::protocol::user_manager::v1::BlockedPlayer::Clear();
1702}
1703inline const ::bgs::protocol::user_manager::v1::BlockedPlayer& BlockedPlayerRemovedNotification::player() const {
1704 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.player)
1705 return player_ != NULL ? *player_ : *default_instance_->player_;
1706}
1707inline ::bgs::protocol::user_manager::v1::BlockedPlayer* BlockedPlayerRemovedNotification::mutable_player() {
1709 if (player_ == NULL) player_ = new ::bgs::protocol::user_manager::v1::BlockedPlayer;
1710 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.player)
1711 return player_;
1712}
1713inline ::bgs::protocol::user_manager::v1::BlockedPlayer* BlockedPlayerRemovedNotification::release_player() {
1716 player_ = NULL;
1717 return temp;
1718}
1720 delete player_;
1721 player_ = player;
1722 if (player) {
1724 } else {
1726 }
1727 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.player)
1728}
1729
1730// optional .bgs.protocol.EntityId game_account_id = 2;
1732 return (_has_bits_[0] & 0x00000002u) != 0;
1733}
1735 _has_bits_[0] |= 0x00000002u;
1736}
1738 _has_bits_[0] &= ~0x00000002u;
1739}
1741 if (game_account_id_ != NULL) game_account_id_->::bgs::protocol::EntityId::Clear();
1743}
1744inline const ::bgs::protocol::EntityId& BlockedPlayerRemovedNotification::game_account_id() const {
1745 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.game_account_id)
1747}
1750 if (game_account_id_ == NULL) game_account_id_ = new ::bgs::protocol::EntityId;
1751 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.game_account_id)
1752 return game_account_id_;
1753}
1757 game_account_id_ = NULL;
1758 return temp;
1759}
1761 delete game_account_id_;
1763 if (game_account_id) {
1765 } else {
1767 }
1768 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.game_account_id)
1769}
1770
1771// optional .bgs.protocol.EntityId account_id = 3;
1773 return (_has_bits_[0] & 0x00000004u) != 0;
1774}
1776 _has_bits_[0] |= 0x00000004u;
1777}
1779 _has_bits_[0] &= ~0x00000004u;
1780}
1782 if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
1784}
1785inline const ::bgs::protocol::EntityId& BlockedPlayerRemovedNotification::account_id() const {
1786 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.account_id)
1788}
1789inline ::bgs::protocol::EntityId* BlockedPlayerRemovedNotification::mutable_account_id() {
1791 if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
1792 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.account_id)
1793 return account_id_;
1794}
1795inline ::bgs::protocol::EntityId* BlockedPlayerRemovedNotification::release_account_id() {
1798 account_id_ = NULL;
1799 return temp;
1800}
1802 delete account_id_;
1804 if (account_id) {
1806 } else {
1808 }
1809 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.user_manager.v1.BlockedPlayerRemovedNotification.account_id)
1810}
1811
1812// -------------------------------------------------------------------
1813
1814// RecentPlayersAddedNotification
1815
1816// repeated .bgs.protocol.user_manager.v1.RecentPlayer player = 1;
1818 return player_.size();
1819}
1821 player_.Clear();
1822}
1823inline const ::bgs::protocol::user_manager::v1::RecentPlayer& RecentPlayersAddedNotification::player(int index) const {
1824 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification.player)
1825 return player_.Get(index);
1826}
1827inline ::bgs::protocol::user_manager::v1::RecentPlayer* RecentPlayersAddedNotification::mutable_player(int index) {
1828 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification.player)
1829 return player_.Mutable(index);
1830}
1831inline ::bgs::protocol::user_manager::v1::RecentPlayer* RecentPlayersAddedNotification::add_player() {
1832 // @@protoc_insertion_point(field_add:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification.player)
1833 return player_.Add();
1834}
1835inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >&
1837 // @@protoc_insertion_point(field_list:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification.player)
1838 return player_;
1839}
1840inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >*
1842 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.user_manager.v1.RecentPlayersAddedNotification.player)
1843 return &player_;
1844}
1845
1846// -------------------------------------------------------------------
1847
1848// RecentPlayersRemovedNotification
1849
1850// repeated .bgs.protocol.user_manager.v1.RecentPlayer player = 1;
1852 return player_.size();
1853}
1855 player_.Clear();
1856}
1857inline const ::bgs::protocol::user_manager::v1::RecentPlayer& RecentPlayersRemovedNotification::player(int index) const {
1858 // @@protoc_insertion_point(field_get:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification.player)
1859 return player_.Get(index);
1860}
1861inline ::bgs::protocol::user_manager::v1::RecentPlayer* RecentPlayersRemovedNotification::mutable_player(int index) {
1862 // @@protoc_insertion_point(field_mutable:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification.player)
1863 return player_.Mutable(index);
1864}
1865inline ::bgs::protocol::user_manager::v1::RecentPlayer* RecentPlayersRemovedNotification::add_player() {
1866 // @@protoc_insertion_point(field_add:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification.player)
1867 return player_.Add();
1868}
1869inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >&
1871 // @@protoc_insertion_point(field_list:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification.player)
1872 return player_;
1873}
1874inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer >*
1876 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.user_manager.v1.RecentPlayersRemovedNotification.player)
1877 return &player_;
1878}
1879
1880// @@protoc_insertion_point(namespace_scope)
1881
1882} // namespace v1
1883} // namespace user_manager
1884} // namespace protocol
1885} // namespace bgs
1886
1887#ifndef SWIG
1888namespace google {
1889namespace protobuf {
1890} // namespace google
1891} // namespace protobuf
1892#endif // SWIG
1893
1894// @@protoc_insertion_point(global_scope)
1895
1896#endif // PROTOBUF_user_5fmanager_5fservice_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint64_t uint64
Definition: Define.h:141
uint32_t uint32
Definition: Define.h:142
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > & players() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > players_
AddRecentPlayersRequest & operator=(const AddRecentPlayersRequest &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
AddRecentPlayersRequest(const AddRecentPlayersRequest &from)
inline ::bgs::protocol::user_manager::v1::RecentPlayer * add_players()
static const AddRecentPlayersRequest & default_instance()
::google::protobuf::Metadata GetMetadata() const
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > * mutable_players()
friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto()
const ::bgs::protocol::EntityId & target_id() const
BlockPlayerRequest & operator=(const BlockPlayerRequest &from)
BlockPlayerRequest(const BlockPlayerRequest &from)
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
::google::protobuf::Metadata GetMetadata() const
static const BlockPlayerRequest & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_target_id(::bgs::protocol::EntityId *target_id)
friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
const ::bgs::protocol::EntityId & agent_id() const
::bgs::protocol::user_manager::v1::BlockedPlayer * player_
void set_allocated_game_account_id(::bgs::protocol::EntityId *game_account_id)
static const BlockedPlayerAddedNotification & default_instance()
void set_allocated_account_id(::bgs::protocol::EntityId *account_id)
inline ::bgs::protocol::user_manager::v1::BlockedPlayer * mutable_player()
const ::bgs::protocol::user_manager::v1::BlockedPlayer & player() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
BlockedPlayerAddedNotification & operator=(const BlockedPlayerAddedNotification &from)
BlockedPlayerAddedNotification(const BlockedPlayerAddedNotification &from)
inline ::bgs::protocol::user_manager::v1::BlockedPlayer * release_player()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void Swap(BlockedPlayerAddedNotification *other)
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto()
void set_allocated_player(::bgs::protocol::user_manager::v1::BlockedPlayer *player)
BlockedPlayerRemovedNotification(const BlockedPlayerRemovedNotification &from)
inline ::bgs::protocol::user_manager::v1::BlockedPlayer * mutable_player()
::bgs::protocol::user_manager::v1::BlockedPlayer * player_
void Swap(BlockedPlayerRemovedNotification *other)
static const BlockedPlayerRemovedNotification & default_instance()
void set_allocated_game_account_id(::bgs::protocol::EntityId *game_account_id)
inline ::bgs::protocol::user_manager::v1::BlockedPlayer * release_player()
const ::bgs::protocol::user_manager::v1::BlockedPlayer & player() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_player(::bgs::protocol::user_manager::v1::BlockedPlayer *player)
static const ::google::protobuf::Descriptor * descriptor()
BlockedPlayerRemovedNotification & operator=(const BlockedPlayerRemovedNotification &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
ClearRecentPlayersRequest(const ClearRecentPlayersRequest &from)
::google::protobuf::Metadata GetMetadata() const
static const ClearRecentPlayersRequest & default_instance()
void Swap(ClearRecentPlayersRequest *other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
ClearRecentPlayersRequest & operator=(const ClearRecentPlayersRequest &from)
static const ::google::protobuf::Descriptor * descriptor()
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > & player() const
RecentPlayersAddedNotification & operator=(const RecentPlayersAddedNotification &from)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > * mutable_player()
void Swap(RecentPlayersAddedNotification *other)
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::user_manager::v1::RecentPlayer * add_player()
RecentPlayersAddedNotification(const RecentPlayersAddedNotification &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const RecentPlayersAddedNotification & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > player_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > player_
static const ::google::protobuf::Descriptor * descriptor()
RecentPlayersRemovedNotification(const RecentPlayersRemovedNotification &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const RecentPlayersRemovedNotification & default_instance()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > * mutable_player()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
RecentPlayersRemovedNotification & operator=(const RecentPlayersRemovedNotification &from)
void Swap(RecentPlayersRemovedNotification *other)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > & player() const
inline ::bgs::protocol::user_manager::v1::RecentPlayer * add_player()
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
static const SubscribeRequest & default_instance()
SubscribeRequest(const SubscribeRequest &from)
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_object_id(::google::protobuf::uint64 value)
inline ::bgs::protocol::EntityId * release_agent_id()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::EntityId * mutable_agent_id()
inline ::google::protobuf::uint64 object_id() const
SubscribeRequest & operator=(const SubscribeRequest &from)
friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto()
const ::bgs::protocol::EntityId & agent_id() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer > & blocked_players() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer > blocked_players_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
SubscribeResponse & operator=(const SubscribeResponse &from)
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::BlockedPlayer > * mutable_blocked_players()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > recent_players_
inline ::bgs::protocol::user_manager::v1::RecentPlayer * add_recent_players()
SubscribeResponse(const SubscribeResponse &from)
static const SubscribeResponse & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > * mutable_recent_players()
inline ::bgs::protocol::user_manager::v1::BlockedPlayer * add_blocked_players()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::user_manager::v1::RecentPlayer > & recent_players() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_target_id(::bgs::protocol::EntityId *target_id)
static const ::google::protobuf::Descriptor * descriptor()
static const UnblockPlayerRequest & default_instance()
UnblockPlayerRequest & operator=(const UnblockPlayerRequest &from)
UnblockPlayerRequest(const UnblockPlayerRequest &from)
const ::bgs::protocol::EntityId & agent_id() const
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto()
const ::bgs::protocol::EntityId & target_id() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
UnsubscribeRequest & operator=(const UnsubscribeRequest &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::google::protobuf::uint64 object_id() const
const ::bgs::protocol::EntityId & agent_id() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const UnsubscribeRequest & default_instance()
UnsubscribeRequest(const UnsubscribeRequest &from)
static const ::google::protobuf::Descriptor * descriptor()
void set_allocated_agent_id(::bgs::protocol::EntityId *agent_id)
friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto()
void set_object_id(::google::protobuf::uint64 value)
::google::protobuf::Metadata GetMetadata() const
UserManagerListener(UserManagerListener const &)=delete
UserManagerListener & operator=(UserManagerListener &&)=delete
UserManagerListener(UserManagerListener &&)=delete
void OnRecentPlayersAdded(::bgs::protocol::user_manager::v1::RecentPlayersAddedNotification const *request, bool client=false, bool server=false)
static google::protobuf::ServiceDescriptor const * descriptor()
std::integral_constant< uint32, 0xBC872C22u > OriginalHash
void OnBlockedPlayerAdded(::bgs::protocol::user_manager::v1::BlockedPlayerAddedNotification const *request, bool client=false, bool server=false)
void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final
UserManagerListener & operator=(UserManagerListener const &)=delete
void OnBlockedPlayerRemoved(::bgs::protocol::user_manager::v1::BlockedPlayerRemovedNotification const *request, bool client=false, bool server=false)
std::integral_constant< uint32, 0xB3426BB3u > NameHash
void OnRecentPlayersRemoved(::bgs::protocol::user_manager::v1::RecentPlayersRemovedNotification const *request, bool client=false, bool server=false)
virtual uint32 HandleUnsubscribe(::bgs::protocol::user_manager::v1::UnsubscribeRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleSubscribe(::bgs::protocol::user_manager::v1::SubscribeRequest const *request, ::bgs::protocol::user_manager::v1::SubscribeResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleSubscribe(uint32 token, uint32 methodId, MessageBuffer &buffer)
UserManagerService(UserManagerService const &)=delete
virtual uint32 HandleClearRecentPlayers(::bgs::protocol::user_manager::v1::ClearRecentPlayersRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
UserManagerService & operator=(UserManagerService const &)=delete
void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final
UserManagerService(UserManagerService &&)=delete
virtual uint32 HandleBlockPlayer(::bgs::protocol::user_manager::v1::BlockPlayerRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleBlockPlayerForSession(::bgs::protocol::user_manager::v1::BlockPlayerRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleUnblockPlayer(::bgs::protocol::user_manager::v1::UnblockPlayerRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleUnblockPlayer(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleClearRecentPlayers(uint32 token, uint32 methodId, MessageBuffer &buffer)
static google::protobuf::ServiceDescriptor const * descriptor()
std::integral_constant< uint32, 0x8EE5694Eu > NameHash
std::integral_constant< uint32, 0x3E19268Au > OriginalHash
void ParseAndHandleAddRecentPlayers(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleBlockPlayerForSession(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleUnsubscribe(uint32 token, uint32 methodId, MessageBuffer &buffer)
UserManagerService & operator=(UserManagerService &&)=delete
void ParseAndHandleBlockPlayer(uint32 token, uint32 methodId, MessageBuffer &buffer)
virtual uint32 HandleAddRecentPlayers(::bgs::protocol::user_manager::v1::AddRecentPlayersRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
constexpr std::size_t size()
Definition: UpdateField.h:796
void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5fservice_2eproto()
void protobuf_ShutdownFile_user_5fmanager_5fservice_2eproto()
void protobuf_AssignDesc_user_5fmanager_5fservice_2eproto()
Definition: Session.h:36