TrinityCore
Loading...
Searching...
No Matches
presence_types.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: presence_types.proto
3
4#ifndef PROTOBUF_presence_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_presence_5ftypes_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/generated_enum_reflection.h>
27#include <google/protobuf/unknown_field_set.h>
28#include "attribute_types.pb.h"
29#include "entity_types.pb.h"
32#include "Define.h" // for TC_PROTO_API
33// @@protoc_insertion_point(includes)
34
35namespace bgs {
36namespace protocol {
37namespace presence {
38namespace v1 {
39
40// Internal implementation detail -- do not call these.
44
46class FieldKey;
47class Field;
48class FieldOperation;
49class PresenceState;
50class ChannelState;
55
64
65TC_PROTO_API const ::google::protobuf::EnumDescriptor* FieldOperation_OperationType_descriptor();
67 return ::google::protobuf::internal::NameOfEnum(
69}
71 const ::std::string& name, FieldOperation_OperationType* value) {
72 return ::google::protobuf::internal::ParseNamedEnum<FieldOperation_OperationType>(
74}
75// ===================================================================
76
77class TC_PROTO_API RichPresenceLocalizationKey : public ::google::protobuf::Message {
78 public:
81
83
85 CopyFrom(from);
86 return *this;
87 }
88
89 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
90 return _unknown_fields_;
91 }
92
93 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
94 return &_unknown_fields_;
95 }
96
97 static const ::google::protobuf::Descriptor* descriptor();
99
101
102 // implements Message ----------------------------------------------
103
105 int GetCachedSize() const { return _cached_size_; }
106 private:
109 void SetCachedSize(int size) const;
110 public:
111 ::google::protobuf::Metadata GetMetadata() const;
112
113 // nested types ----------------------------------------------------
114
115 // accessors -------------------------------------------------------
116
117 // required fixed32 program = 1;
118 inline bool has_program() const;
119 inline void clear_program();
120 static const int kProgramFieldNumber = 1;
121 inline ::google::protobuf::uint32 program() const;
122 inline void set_program(::google::protobuf::uint32 value);
123
124 // required fixed32 stream = 2;
125 inline bool has_stream() const;
126 inline void clear_stream();
127 static const int kStreamFieldNumber = 2;
128 inline ::google::protobuf::uint32 stream() const;
129 inline void set_stream(::google::protobuf::uint32 value);
130
131 // required uint32 localization_id = 3;
132 inline bool has_localization_id() const;
133 inline void clear_localization_id();
134 static const int kLocalizationIdFieldNumber = 3;
135 inline ::google::protobuf::uint32 localization_id() const;
136 inline void set_localization_id(::google::protobuf::uint32 value);
137
138 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.RichPresenceLocalizationKey)
139 private:
140 inline void set_has_program();
141 inline void clear_has_program();
142 inline void set_has_stream();
143 inline void clear_has_stream();
144 inline void set_has_localization_id();
145 inline void clear_has_localization_id();
146
147 ::google::protobuf::UnknownFieldSet _unknown_fields_;
148
149 ::google::protobuf::uint32 _has_bits_[1];
150 mutable int _cached_size_;
151 ::google::protobuf::uint32 program_;
152 ::google::protobuf::uint32 stream_;
153 ::google::protobuf::uint32 localization_id_;
157
160};
161// -------------------------------------------------------------------
162
163class TC_PROTO_API FieldKey : public ::google::protobuf::Message {
164 public:
166 virtual ~FieldKey();
167
168 FieldKey(const FieldKey& from);
169
170 inline FieldKey& operator=(const FieldKey& from) {
171 CopyFrom(from);
172 return *this;
173 }
174
175 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
176 return _unknown_fields_;
177 }
178
179 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
180 return &_unknown_fields_;
181 }
182
183 static const ::google::protobuf::Descriptor* descriptor();
184 static const FieldKey& default_instance();
185
186 void Swap(FieldKey* other);
187
188 // implements Message ----------------------------------------------
189
190 FieldKey* New() const;
191 int GetCachedSize() const { return _cached_size_; }
192 private:
195 void SetCachedSize(int size) const;
196 public:
197 ::google::protobuf::Metadata GetMetadata() const;
198
199 // nested types ----------------------------------------------------
200
201 // accessors -------------------------------------------------------
202
203 // required uint32 program = 1;
204 inline bool has_program() const;
205 inline void clear_program();
206 static const int kProgramFieldNumber = 1;
207 inline ::google::protobuf::uint32 program() const;
208 inline void set_program(::google::protobuf::uint32 value);
209
210 // required uint32 group = 2;
211 inline bool has_group() const;
212 inline void clear_group();
213 static const int kGroupFieldNumber = 2;
214 inline ::google::protobuf::uint32 group() const;
215 inline void set_group(::google::protobuf::uint32 value);
216
217 // required uint32 field = 3;
218 inline bool has_field() const;
219 inline void clear_field();
220 static const int kFieldFieldNumber = 3;
221 inline ::google::protobuf::uint32 field() const;
222 inline void set_field(::google::protobuf::uint32 value);
223
224 // optional uint64 unique_id = 4;
225 inline bool has_unique_id() const;
226 inline void clear_unique_id();
227 static const int kUniqueIdFieldNumber = 4;
228 inline ::google::protobuf::uint64 unique_id() const;
229 inline void set_unique_id(::google::protobuf::uint64 value);
230
231 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.FieldKey)
232 private:
233 inline void set_has_program();
234 inline void clear_has_program();
235 inline void set_has_group();
236 inline void clear_has_group();
237 inline void set_has_field();
238 inline void clear_has_field();
239 inline void set_has_unique_id();
240 inline void clear_has_unique_id();
241
242 ::google::protobuf::UnknownFieldSet _unknown_fields_;
243
244 ::google::protobuf::uint32 _has_bits_[1];
245 mutable int _cached_size_;
246 ::google::protobuf::uint32 program_;
247 ::google::protobuf::uint32 group_;
248 ::google::protobuf::uint64 unique_id_;
249 ::google::protobuf::uint32 field_;
253
256};
257// -------------------------------------------------------------------
258
259class TC_PROTO_API Field : public ::google::protobuf::Message {
260 public:
262 virtual ~Field();
263
264 Field(const Field& from);
265
266 inline Field& operator=(const Field& from) {
267 CopyFrom(from);
268 return *this;
269 }
270
271 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
272 return _unknown_fields_;
273 }
274
275 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
276 return &_unknown_fields_;
277 }
278
279 static const ::google::protobuf::Descriptor* descriptor();
280 static const Field& default_instance();
281
282 void Swap(Field* other);
283
284 // implements Message ----------------------------------------------
285
286 Field* New() const;
287 int GetCachedSize() const { return _cached_size_; }
288 private:
291 void SetCachedSize(int size) const;
292 public:
293 ::google::protobuf::Metadata GetMetadata() const;
294
295 // nested types ----------------------------------------------------
296
297 // accessors -------------------------------------------------------
298
299 // required .bgs.protocol.presence.v1.FieldKey key = 1;
300 inline bool has_key() const;
301 inline void clear_key();
302 static const int kKeyFieldNumber = 1;
303 inline const ::bgs::protocol::presence::v1::FieldKey& key() const;
304 inline ::bgs::protocol::presence::v1::FieldKey* mutable_key();
305 inline ::bgs::protocol::presence::v1::FieldKey* release_key();
306 inline void set_allocated_key(::bgs::protocol::presence::v1::FieldKey* key);
307
308 // required .bgs.protocol.Variant value = 2;
309 inline bool has_value() const;
310 inline void clear_value();
311 static const int kValueFieldNumber = 2;
312 inline const ::bgs::protocol::Variant& value() const;
313 inline ::bgs::protocol::Variant* mutable_value();
314 inline ::bgs::protocol::Variant* release_value();
315 inline void set_allocated_value(::bgs::protocol::Variant* value);
316
317 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.Field)
318 private:
319 inline void set_has_key();
320 inline void clear_has_key();
321 inline void set_has_value();
322 inline void clear_has_value();
323
324 ::google::protobuf::UnknownFieldSet _unknown_fields_;
325
326 ::google::protobuf::uint32 _has_bits_[1];
327 mutable int _cached_size_;
333
336};
337// -------------------------------------------------------------------
338
339class TC_PROTO_API FieldOperation : public ::google::protobuf::Message {
340 public:
343
345
347 CopyFrom(from);
348 return *this;
349 }
350
351 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
352 return _unknown_fields_;
353 }
354
355 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
356 return &_unknown_fields_;
357 }
358
359 static const ::google::protobuf::Descriptor* descriptor();
361
362 void Swap(FieldOperation* other);
363
364 // implements Message ----------------------------------------------
365
367 int GetCachedSize() const { return _cached_size_; }
368 private:
371 void SetCachedSize(int size) const;
372 public:
373 ::google::protobuf::Metadata GetMetadata() const;
374
375 // nested types ----------------------------------------------------
376
380 static inline bool OperationType_IsValid(int value) {
382 }
383 static const OperationType OperationType_MIN =
385 static const OperationType OperationType_MAX =
387 static const int OperationType_ARRAYSIZE =
389 static inline const ::google::protobuf::EnumDescriptor*
393 static inline const ::std::string& OperationType_Name(OperationType value) {
395 }
396 static inline bool OperationType_Parse(const ::std::string& name,
397 OperationType* value) {
398 return FieldOperation_OperationType_Parse(name, value);
399 }
400
401 // accessors -------------------------------------------------------
402
403 // required .bgs.protocol.presence.v1.Field field = 1;
404 inline bool has_field() const;
405 inline void clear_field();
406 static const int kFieldFieldNumber = 1;
407 inline const ::bgs::protocol::presence::v1::Field& field() const;
408 inline ::bgs::protocol::presence::v1::Field* mutable_field();
409 inline ::bgs::protocol::presence::v1::Field* release_field();
410 inline void set_allocated_field(::bgs::protocol::presence::v1::Field* field);
411
412 // optional .bgs.protocol.presence.v1.FieldOperation.OperationType operation = 2 [default = SET];
413 inline bool has_operation() const;
414 inline void clear_operation();
415 static const int kOperationFieldNumber = 2;
416 inline ::bgs::protocol::presence::v1::FieldOperation_OperationType operation() const;
418
419 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.FieldOperation)
420 private:
421 inline void set_has_field();
422 inline void clear_has_field();
423 inline void set_has_operation();
424 inline void clear_has_operation();
425
426 ::google::protobuf::UnknownFieldSet _unknown_fields_;
427
428 ::google::protobuf::uint32 _has_bits_[1];
429 mutable int _cached_size_;
435
438};
439// -------------------------------------------------------------------
440
441class TC_PROTO_API PresenceState : public ::google::protobuf::Message {
442 public:
444 virtual ~PresenceState();
445
447
448 inline PresenceState& operator=(const PresenceState& from) {
449 CopyFrom(from);
450 return *this;
451 }
452
453 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
454 return _unknown_fields_;
455 }
456
457 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
458 return &_unknown_fields_;
459 }
460
461 static const ::google::protobuf::Descriptor* descriptor();
463
464 void Swap(PresenceState* other);
465
466 // implements Message ----------------------------------------------
467
469 int GetCachedSize() const { return _cached_size_; }
470 private:
473 void SetCachedSize(int size) const;
474 public:
475 ::google::protobuf::Metadata GetMetadata() const;
476
477 // nested types ----------------------------------------------------
478
479 // accessors -------------------------------------------------------
480
481 // optional .bgs.protocol.EntityId entity_id = 1;
482 inline bool has_entity_id() const;
483 inline void clear_entity_id();
484 static const int kEntityIdFieldNumber = 1;
485 inline const ::bgs::protocol::EntityId& entity_id() const;
486 inline ::bgs::protocol::EntityId* mutable_entity_id();
487 inline ::bgs::protocol::EntityId* release_entity_id();
488 inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
489
490 // repeated .bgs.protocol.presence.v1.FieldOperation field_operation = 2;
491 inline int field_operation_size() const;
492 inline void clear_field_operation();
493 static const int kFieldOperationFieldNumber = 2;
494 inline const ::bgs::protocol::presence::v1::FieldOperation& field_operation(int index) const;
495 inline ::bgs::protocol::presence::v1::FieldOperation* mutable_field_operation(int index);
496 inline ::bgs::protocol::presence::v1::FieldOperation* add_field_operation();
497 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
498 field_operation() const;
499 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
500 mutable_field_operation();
501
502 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.PresenceState)
503 private:
504 inline void set_has_entity_id();
505 inline void clear_has_entity_id();
506
507 ::google::protobuf::UnknownFieldSet _unknown_fields_;
508
509 ::google::protobuf::uint32 _has_bits_[1];
510 mutable int _cached_size_;
512 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_;
516
519};
520// -------------------------------------------------------------------
521
522class TC_PROTO_API ChannelState : public ::google::protobuf::Message {
523 public:
525 virtual ~ChannelState();
526
528
529 inline ChannelState& operator=(const ChannelState& from) {
530 CopyFrom(from);
531 return *this;
532 }
533
534 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
535 return _unknown_fields_;
536 }
537
538 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
539 return &_unknown_fields_;
540 }
541
542 static const ::google::protobuf::Descriptor* descriptor();
544
545 void Swap(ChannelState* other);
546
547 // implements Message ----------------------------------------------
548
550 int GetCachedSize() const { return _cached_size_; }
551 private:
554 void SetCachedSize(int size) const;
555 public:
556 ::google::protobuf::Metadata GetMetadata() const;
557
558 // nested types ----------------------------------------------------
559
560 // accessors -------------------------------------------------------
561
562 // optional .bgs.protocol.EntityId entity_id = 1;
563 inline bool has_entity_id() const;
564 inline void clear_entity_id();
565 static const int kEntityIdFieldNumber = 1;
566 inline const ::bgs::protocol::EntityId& entity_id() const;
567 inline ::bgs::protocol::EntityId* mutable_entity_id();
568 inline ::bgs::protocol::EntityId* release_entity_id();
569 inline void set_allocated_entity_id(::bgs::protocol::EntityId* entity_id);
570
571 // repeated .bgs.protocol.presence.v1.FieldOperation field_operation = 2;
572 inline int field_operation_size() const;
573 inline void clear_field_operation();
574 static const int kFieldOperationFieldNumber = 2;
575 inline const ::bgs::protocol::presence::v1::FieldOperation& field_operation(int index) const;
576 inline ::bgs::protocol::presence::v1::FieldOperation* mutable_field_operation(int index);
577 inline ::bgs::protocol::presence::v1::FieldOperation* add_field_operation();
578 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
579 field_operation() const;
580 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
581 mutable_field_operation();
582
583 // optional bool healing = 3;
584 inline bool has_healing() const;
585 inline void clear_healing();
586 static const int kHealingFieldNumber = 3;
587 inline bool healing() const;
588 inline void set_healing(bool value);
589
590 static const int kPresenceFieldNumber = 101;
591 static ::google::protobuf::internal::ExtensionIdentifier< ::bgs::protocol::channel::v1::ChannelState,
592 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::presence::v1::ChannelState >, 11, false >
594 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.ChannelState)
595 private:
596 inline void set_has_entity_id();
597 inline void clear_has_entity_id();
598 inline void set_has_healing();
599 inline void clear_has_healing();
600
601 ::google::protobuf::UnknownFieldSet _unknown_fields_;
602
603 ::google::protobuf::uint32 _has_bits_[1];
604 mutable int _cached_size_;
606 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_;
611
614};
615// -------------------------------------------------------------------
616
617class TC_PROTO_API LocalizedStringMapEntry : public ::google::protobuf::Message {
618 public:
621
623
625 CopyFrom(from);
626 return *this;
627 }
628
629 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
630 return _unknown_fields_;
631 }
632
633 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
634 return &_unknown_fields_;
635 }
636
637 static const ::google::protobuf::Descriptor* descriptor();
639
641
642 // implements Message ----------------------------------------------
643
645 int GetCachedSize() const { return _cached_size_; }
646 private:
649 void SetCachedSize(int size) const;
650 public:
651 ::google::protobuf::Metadata GetMetadata() const;
652
653 // nested types ----------------------------------------------------
654
655 // accessors -------------------------------------------------------
656
657 // optional string locale = 1;
658 inline bool has_locale() const;
659 inline void clear_locale();
660 static const int kLocaleFieldNumber = 1;
661 inline const ::std::string& locale() const;
662 inline void set_locale(const ::std::string& value);
663 inline void set_locale(const char* value);
664 inline void set_locale(const char* value, size_t size);
665 inline ::std::string* mutable_locale();
666 inline ::std::string* release_locale();
667 inline void set_allocated_locale(::std::string* locale);
668
669 // optional string value = 2;
670 inline bool has_value() const;
671 inline void clear_value();
672 static const int kValueFieldNumber = 2;
673 inline const ::std::string& value() const;
674 inline void set_value(const ::std::string& value);
675 inline void set_value(const char* value);
676 inline void set_value(const char* value, size_t size);
677 inline ::std::string* mutable_value();
678 inline ::std::string* release_value();
679 inline void set_allocated_value(::std::string* value);
680
681 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.LocalizedStringMapEntry)
682 private:
683 inline void set_has_locale();
684 inline void clear_has_locale();
685 inline void set_has_value();
686 inline void clear_has_value();
687
688 ::google::protobuf::UnknownFieldSet _unknown_fields_;
689
690 ::google::protobuf::uint32 _has_bits_[1];
691 mutable int _cached_size_;
692 ::std::string* locale_;
693 ::std::string* value_;
697
700};
701// -------------------------------------------------------------------
702
703class TC_PROTO_API LocalizedStringMap : public ::google::protobuf::Message {
704 public:
707
709
711 CopyFrom(from);
712 return *this;
713 }
714
715 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
716 return _unknown_fields_;
717 }
718
719 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
720 return &_unknown_fields_;
721 }
722
723 static const ::google::protobuf::Descriptor* descriptor();
725
727
728 // implements Message ----------------------------------------------
729
731 int GetCachedSize() const { return _cached_size_; }
732 private:
735 void SetCachedSize(int size) const;
736 public:
737 ::google::protobuf::Metadata GetMetadata() const;
738
739 // nested types ----------------------------------------------------
740
741 // accessors -------------------------------------------------------
742
743 // optional string default_string = 1;
744 inline bool has_default_string() const;
745 inline void clear_default_string();
746 static const int kDefaultStringFieldNumber = 1;
747 inline const ::std::string& default_string() const;
748 inline void set_default_string(const ::std::string& value);
749 inline void set_default_string(const char* value);
750 inline void set_default_string(const char* value, size_t size);
751 inline ::std::string* mutable_default_string();
752 inline ::std::string* release_default_string();
753 inline void set_allocated_default_string(::std::string* default_string);
754
755 // repeated .bgs.protocol.presence.v1.LocalizedStringMapEntry localized_entry = 2;
756 inline int localized_entry_size() const;
757 inline void clear_localized_entry();
758 static const int kLocalizedEntryFieldNumber = 2;
759 inline const ::bgs::protocol::presence::v1::LocalizedStringMapEntry& localized_entry(int index) const;
760 inline ::bgs::protocol::presence::v1::LocalizedStringMapEntry* mutable_localized_entry(int index);
761 inline ::bgs::protocol::presence::v1::LocalizedStringMapEntry* add_localized_entry();
762 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::LocalizedStringMapEntry >&
763 localized_entry() const;
764 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::LocalizedStringMapEntry >*
765 mutable_localized_entry();
766
767 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.LocalizedStringMap)
768 private:
769 inline void set_has_default_string();
770 inline void clear_has_default_string();
771
772 ::google::protobuf::UnknownFieldSet _unknown_fields_;
773
774 ::google::protobuf::uint32 _has_bits_[1];
775 mutable int _cached_size_;
776 ::std::string* default_string_;
777 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::LocalizedStringMapEntry > localized_entry_;
781
784};
785// -------------------------------------------------------------------
786
787class TC_PROTO_API RichPresenceParty : public ::google::protobuf::Message {
788 public:
791
793
795 CopyFrom(from);
796 return *this;
797 }
798
799 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
800 return _unknown_fields_;
801 }
802
803 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
804 return &_unknown_fields_;
805 }
806
807 static const ::google::protobuf::Descriptor* descriptor();
809
811
812 // implements Message ----------------------------------------------
813
815 int GetCachedSize() const { return _cached_size_; }
816 private:
819 void SetCachedSize(int size) const;
820 public:
821 ::google::protobuf::Metadata GetMetadata() const;
822
823 // nested types ----------------------------------------------------
824
825 // accessors -------------------------------------------------------
826
827 // optional string id = 1;
828 inline bool has_id() const;
829 inline void clear_id();
830 static const int kIdFieldNumber = 1;
831 inline const ::std::string& id() const;
832 inline void set_id(const ::std::string& value);
833 inline void set_id(const char* value);
834 inline void set_id(const char* value, size_t size);
835 inline ::std::string* mutable_id();
836 inline ::std::string* release_id();
837 inline void set_allocated_id(::std::string* id);
838
839 // optional uint32 current_size = 2;
840 inline bool has_current_size() const;
841 inline void clear_current_size();
842 static const int kCurrentSizeFieldNumber = 2;
843 inline ::google::protobuf::uint32 current_size() const;
844 inline void set_current_size(::google::protobuf::uint32 value);
845
846 // optional uint32 max_size = 3;
847 inline bool has_max_size() const;
848 inline void clear_max_size();
849 static const int kMaxSizeFieldNumber = 3;
850 inline ::google::protobuf::uint32 max_size() const;
851 inline void set_max_size(::google::protobuf::uint32 value);
852
853 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.RichPresenceParty)
854 private:
855 inline void set_has_id();
856 inline void clear_has_id();
857 inline void set_has_current_size();
858 inline void clear_has_current_size();
859 inline void set_has_max_size();
860 inline void clear_has_max_size();
861
862 ::google::protobuf::UnknownFieldSet _unknown_fields_;
863
864 ::google::protobuf::uint32 _has_bits_[1];
865 mutable int _cached_size_;
866 ::std::string* id_;
867 ::google::protobuf::uint32 current_size_;
868 ::google::protobuf::uint32 max_size_;
872
875};
876// -------------------------------------------------------------------
877
878class TC_PROTO_API RichPresenceDetails : public ::google::protobuf::Message {
879 public:
882
884
886 CopyFrom(from);
887 return *this;
888 }
889
890 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
891 return _unknown_fields_;
892 }
893
894 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
895 return &_unknown_fields_;
896 }
897
898 static const ::google::protobuf::Descriptor* descriptor();
900
902
903 // implements Message ----------------------------------------------
904
906 int GetCachedSize() const { return _cached_size_; }
907 private:
910 void SetCachedSize(int size) const;
911 public:
912 ::google::protobuf::Metadata GetMetadata() const;
913
914 // nested types ----------------------------------------------------
915
916 // accessors -------------------------------------------------------
917
918 // optional .bgs.protocol.presence.v1.LocalizedStringMap state = 1;
919 inline bool has_state() const;
920 inline void clear_state();
921 static const int kStateFieldNumber = 1;
922 inline const ::bgs::protocol::presence::v1::LocalizedStringMap& state() const;
923 inline ::bgs::protocol::presence::v1::LocalizedStringMap* mutable_state();
924 inline ::bgs::protocol::presence::v1::LocalizedStringMap* release_state();
925 inline void set_allocated_state(::bgs::protocol::presence::v1::LocalizedStringMap* state);
926
927 // optional .bgs.protocol.presence.v1.RichPresenceParty party = 2;
928 inline bool has_party() const;
929 inline void clear_party();
930 static const int kPartyFieldNumber = 2;
931 inline const ::bgs::protocol::presence::v1::RichPresenceParty& party() const;
932 inline ::bgs::protocol::presence::v1::RichPresenceParty* mutable_party();
933 inline ::bgs::protocol::presence::v1::RichPresenceParty* release_party();
934 inline void set_allocated_party(::bgs::protocol::presence::v1::RichPresenceParty* party);
935
936 // optional string large_image_url = 3;
937 inline bool has_large_image_url() const;
938 inline void clear_large_image_url();
939 static const int kLargeImageUrlFieldNumber = 3;
940 inline const ::std::string& large_image_url() const;
941 inline void set_large_image_url(const ::std::string& value);
942 inline void set_large_image_url(const char* value);
943 inline void set_large_image_url(const char* value, size_t size);
944 inline ::std::string* mutable_large_image_url();
945 inline ::std::string* release_large_image_url();
946 inline void set_allocated_large_image_url(::std::string* large_image_url);
947
948 // optional string small_image_url = 4;
949 inline bool has_small_image_url() const;
950 inline void clear_small_image_url();
951 static const int kSmallImageUrlFieldNumber = 4;
952 inline const ::std::string& small_image_url() const;
953 inline void set_small_image_url(const ::std::string& value);
954 inline void set_small_image_url(const char* value);
955 inline void set_small_image_url(const char* value, size_t size);
956 inline ::std::string* mutable_small_image_url();
957 inline ::std::string* release_small_image_url();
958 inline void set_allocated_small_image_url(::std::string* small_image_url);
959
960 // @@protoc_insertion_point(class_scope:bgs.protocol.presence.v1.RichPresenceDetails)
961 private:
962 inline void set_has_state();
963 inline void clear_has_state();
964 inline void set_has_party();
965 inline void clear_has_party();
966 inline void set_has_large_image_url();
967 inline void clear_has_large_image_url();
968 inline void set_has_small_image_url();
969 inline void clear_has_small_image_url();
970
971 ::google::protobuf::UnknownFieldSet _unknown_fields_;
972
973 ::google::protobuf::uint32 _has_bits_[1];
974 mutable int _cached_size_;
977 ::std::string* large_image_url_;
978 ::std::string* small_image_url_;
982
985};
986// ===================================================================
987
988// ===================================================================
989
990// ===================================================================
991
992// RichPresenceLocalizationKey
993
994// required fixed32 program = 1;
996 return (_has_bits_[0] & 0x00000001u) != 0;
997}
999 _has_bits_[0] |= 0x00000001u;
1000}
1002 _has_bits_[0] &= ~0x00000001u;
1003}
1008inline ::google::protobuf::uint32 RichPresenceLocalizationKey::program() const {
1009 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.RichPresenceLocalizationKey.program)
1010 return program_;
1011}
1012inline void RichPresenceLocalizationKey::set_program(::google::protobuf::uint32 value) {
1014 program_ = value;
1015 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.RichPresenceLocalizationKey.program)
1016}
1017
1018// required fixed32 stream = 2;
1020 return (_has_bits_[0] & 0x00000002u) != 0;
1021}
1023 _has_bits_[0] |= 0x00000002u;
1024}
1026 _has_bits_[0] &= ~0x00000002u;
1027}
1032inline ::google::protobuf::uint32 RichPresenceLocalizationKey::stream() const {
1033 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.RichPresenceLocalizationKey.stream)
1034 return stream_;
1035}
1036inline void RichPresenceLocalizationKey::set_stream(::google::protobuf::uint32 value) {
1038 stream_ = value;
1039 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.RichPresenceLocalizationKey.stream)
1040}
1041
1042// required uint32 localization_id = 3;
1044 return (_has_bits_[0] & 0x00000004u) != 0;
1045}
1047 _has_bits_[0] |= 0x00000004u;
1048}
1050 _has_bits_[0] &= ~0x00000004u;
1051}
1056inline ::google::protobuf::uint32 RichPresenceLocalizationKey::localization_id() const {
1057 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.RichPresenceLocalizationKey.localization_id)
1058 return localization_id_;
1059}
1060inline void RichPresenceLocalizationKey::set_localization_id(::google::protobuf::uint32 value) {
1062 localization_id_ = value;
1063 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.RichPresenceLocalizationKey.localization_id)
1064}
1065
1066// -------------------------------------------------------------------
1067
1068// FieldKey
1069
1070// required uint32 program = 1;
1071inline bool FieldKey::has_program() const {
1072 return (_has_bits_[0] & 0x00000001u) != 0;
1073}
1075 _has_bits_[0] |= 0x00000001u;
1076}
1078 _has_bits_[0] &= ~0x00000001u;
1079}
1081 program_ = 0u;
1083}
1084inline ::google::protobuf::uint32 FieldKey::program() const {
1085 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.FieldKey.program)
1086 return program_;
1087}
1088inline void FieldKey::set_program(::google::protobuf::uint32 value) {
1090 program_ = value;
1091 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.FieldKey.program)
1092}
1093
1094// required uint32 group = 2;
1095inline bool FieldKey::has_group() const {
1096 return (_has_bits_[0] & 0x00000002u) != 0;
1097}
1099 _has_bits_[0] |= 0x00000002u;
1100}
1102 _has_bits_[0] &= ~0x00000002u;
1103}
1105 group_ = 0u;
1107}
1108inline ::google::protobuf::uint32 FieldKey::group() const {
1109 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.FieldKey.group)
1110 return group_;
1111}
1112inline void FieldKey::set_group(::google::protobuf::uint32 value) {
1113 set_has_group();
1114 group_ = value;
1115 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.FieldKey.group)
1116}
1117
1118// required uint32 field = 3;
1119inline bool FieldKey::has_field() const {
1120 return (_has_bits_[0] & 0x00000004u) != 0;
1121}
1123 _has_bits_[0] |= 0x00000004u;
1124}
1126 _has_bits_[0] &= ~0x00000004u;
1127}
1129 field_ = 0u;
1131}
1132inline ::google::protobuf::uint32 FieldKey::field() const {
1133 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.FieldKey.field)
1134 return field_;
1135}
1136inline void FieldKey::set_field(::google::protobuf::uint32 value) {
1137 set_has_field();
1138 field_ = value;
1139 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.FieldKey.field)
1140}
1141
1142// optional uint64 unique_id = 4;
1143inline bool FieldKey::has_unique_id() const {
1144 return (_has_bits_[0] & 0x00000008u) != 0;
1145}
1147 _has_bits_[0] |= 0x00000008u;
1148}
1150 _has_bits_[0] &= ~0x00000008u;
1151}
1153 unique_id_ = GOOGLE_ULONGLONG(0);
1155}
1156inline ::google::protobuf::uint64 FieldKey::unique_id() const {
1157 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.FieldKey.unique_id)
1158 return unique_id_;
1159}
1160inline void FieldKey::set_unique_id(::google::protobuf::uint64 value) {
1162 unique_id_ = value;
1163 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.FieldKey.unique_id)
1164}
1165
1166// -------------------------------------------------------------------
1167
1168// Field
1169
1170// required .bgs.protocol.presence.v1.FieldKey key = 1;
1171inline bool Field::has_key() const {
1172 return (_has_bits_[0] & 0x00000001u) != 0;
1173}
1174inline void Field::set_has_key() {
1175 _has_bits_[0] |= 0x00000001u;
1176}
1178 _has_bits_[0] &= ~0x00000001u;
1179}
1180inline void Field::clear_key() {
1181 if (key_ != NULL) key_->::bgs::protocol::presence::v1::FieldKey::Clear();
1182 clear_has_key();
1183}
1184inline const ::bgs::protocol::presence::v1::FieldKey& Field::key() const {
1185 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.Field.key)
1186 return key_ != NULL ? *key_ : *default_instance_->key_;
1187}
1188inline ::bgs::protocol::presence::v1::FieldKey* Field::mutable_key() {
1189 set_has_key();
1190 if (key_ == NULL) key_ = new ::bgs::protocol::presence::v1::FieldKey;
1191 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.Field.key)
1192 return key_;
1193}
1194inline ::bgs::protocol::presence::v1::FieldKey* Field::release_key() {
1195 clear_has_key();
1197 key_ = NULL;
1198 return temp;
1199}
1201 delete key_;
1202 key_ = key;
1203 if (key) {
1204 set_has_key();
1205 } else {
1206 clear_has_key();
1207 }
1208 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.Field.key)
1209}
1210
1211// required .bgs.protocol.Variant value = 2;
1212inline bool Field::has_value() const {
1213 return (_has_bits_[0] & 0x00000002u) != 0;
1214}
1216 _has_bits_[0] |= 0x00000002u;
1217}
1219 _has_bits_[0] &= ~0x00000002u;
1220}
1221inline void Field::clear_value() {
1222 if (value_ != NULL) value_->::bgs::protocol::Variant::Clear();
1224}
1225inline const ::bgs::protocol::Variant& Field::value() const {
1226 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.Field.value)
1227 return value_ != NULL ? *value_ : *default_instance_->value_;
1228}
1229inline ::bgs::protocol::Variant* Field::mutable_value() {
1230 set_has_value();
1231 if (value_ == NULL) value_ = new ::bgs::protocol::Variant;
1232 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.Field.value)
1233 return value_;
1234}
1235inline ::bgs::protocol::Variant* Field::release_value() {
1238 value_ = NULL;
1239 return temp;
1240}
1242 delete value_;
1243 value_ = value;
1244 if (value) {
1245 set_has_value();
1246 } else {
1248 }
1249 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.Field.value)
1250}
1251
1252// -------------------------------------------------------------------
1253
1254// FieldOperation
1255
1256// required .bgs.protocol.presence.v1.Field field = 1;
1257inline bool FieldOperation::has_field() const {
1258 return (_has_bits_[0] & 0x00000001u) != 0;
1259}
1261 _has_bits_[0] |= 0x00000001u;
1262}
1264 _has_bits_[0] &= ~0x00000001u;
1265}
1267 if (field_ != NULL) field_->::bgs::protocol::presence::v1::Field::Clear();
1269}
1270inline const ::bgs::protocol::presence::v1::Field& FieldOperation::field() const {
1271 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.FieldOperation.field)
1272 return field_ != NULL ? *field_ : *default_instance_->field_;
1273}
1274inline ::bgs::protocol::presence::v1::Field* FieldOperation::mutable_field() {
1275 set_has_field();
1276 if (field_ == NULL) field_ = new ::bgs::protocol::presence::v1::Field;
1277 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.FieldOperation.field)
1278 return field_;
1279}
1280inline ::bgs::protocol::presence::v1::Field* FieldOperation::release_field() {
1283 field_ = NULL;
1284 return temp;
1285}
1287 delete field_;
1288 field_ = field;
1289 if (field) {
1290 set_has_field();
1291 } else {
1293 }
1294 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.FieldOperation.field)
1295}
1296
1297// optional .bgs.protocol.presence.v1.FieldOperation.OperationType operation = 2 [default = SET];
1299 return (_has_bits_[0] & 0x00000002u) != 0;
1300}
1302 _has_bits_[0] |= 0x00000002u;
1303}
1305 _has_bits_[0] &= ~0x00000002u;
1306}
1311inline ::bgs::protocol::presence::v1::FieldOperation_OperationType FieldOperation::operation() const {
1312 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.FieldOperation.operation)
1314}
1318 operation_ = value;
1319 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.FieldOperation.operation)
1320}
1321
1322// -------------------------------------------------------------------
1323
1324// PresenceState
1325
1326// optional .bgs.protocol.EntityId entity_id = 1;
1327inline bool PresenceState::has_entity_id() const {
1328 return (_has_bits_[0] & 0x00000001u) != 0;
1329}
1331 _has_bits_[0] |= 0x00000001u;
1332}
1334 _has_bits_[0] &= ~0x00000001u;
1335}
1337 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
1339}
1340inline const ::bgs::protocol::EntityId& PresenceState::entity_id() const {
1341 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.PresenceState.entity_id)
1342 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
1343}
1344inline ::bgs::protocol::EntityId* PresenceState::mutable_entity_id() {
1346 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
1347 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.PresenceState.entity_id)
1348 return entity_id_;
1349}
1350inline ::bgs::protocol::EntityId* PresenceState::release_entity_id() {
1353 entity_id_ = NULL;
1354 return temp;
1355}
1357 delete entity_id_;
1359 if (entity_id) {
1361 } else {
1363 }
1364 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.PresenceState.entity_id)
1365}
1366
1367// repeated .bgs.protocol.presence.v1.FieldOperation field_operation = 2;
1369 return field_operation_.size();
1370}
1372 field_operation_.Clear();
1373}
1374inline const ::bgs::protocol::presence::v1::FieldOperation& PresenceState::field_operation(int index) const {
1375 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.PresenceState.field_operation)
1376 return field_operation_.Get(index);
1377}
1378inline ::bgs::protocol::presence::v1::FieldOperation* PresenceState::mutable_field_operation(int index) {
1379 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.PresenceState.field_operation)
1380 return field_operation_.Mutable(index);
1381}
1382inline ::bgs::protocol::presence::v1::FieldOperation* PresenceState::add_field_operation() {
1383 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.PresenceState.field_operation)
1384 return field_operation_.Add();
1385}
1386inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
1388 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.PresenceState.field_operation)
1389 return field_operation_;
1390}
1391inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
1393 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.PresenceState.field_operation)
1394 return &field_operation_;
1395}
1396
1397// -------------------------------------------------------------------
1398
1399// ChannelState
1400
1401// optional .bgs.protocol.EntityId entity_id = 1;
1402inline bool ChannelState::has_entity_id() const {
1403 return (_has_bits_[0] & 0x00000001u) != 0;
1404}
1406 _has_bits_[0] |= 0x00000001u;
1407}
1409 _has_bits_[0] &= ~0x00000001u;
1410}
1412 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
1414}
1415inline const ::bgs::protocol::EntityId& ChannelState::entity_id() const {
1416 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.ChannelState.entity_id)
1417 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
1418}
1419inline ::bgs::protocol::EntityId* ChannelState::mutable_entity_id() {
1421 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
1422 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.ChannelState.entity_id)
1423 return entity_id_;
1424}
1425inline ::bgs::protocol::EntityId* ChannelState::release_entity_id() {
1428 entity_id_ = NULL;
1429 return temp;
1430}
1432 delete entity_id_;
1434 if (entity_id) {
1436 } else {
1438 }
1439 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.ChannelState.entity_id)
1440}
1441
1442// repeated .bgs.protocol.presence.v1.FieldOperation field_operation = 2;
1444 return field_operation_.size();
1445}
1447 field_operation_.Clear();
1448}
1449inline const ::bgs::protocol::presence::v1::FieldOperation& ChannelState::field_operation(int index) const {
1450 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.ChannelState.field_operation)
1451 return field_operation_.Get(index);
1452}
1453inline ::bgs::protocol::presence::v1::FieldOperation* ChannelState::mutable_field_operation(int index) {
1454 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.ChannelState.field_operation)
1455 return field_operation_.Mutable(index);
1456}
1457inline ::bgs::protocol::presence::v1::FieldOperation* ChannelState::add_field_operation() {
1458 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.ChannelState.field_operation)
1459 return field_operation_.Add();
1460}
1461inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
1463 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.ChannelState.field_operation)
1464 return field_operation_;
1465}
1466inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
1468 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.ChannelState.field_operation)
1469 return &field_operation_;
1470}
1471
1472// optional bool healing = 3;
1473inline bool ChannelState::has_healing() const {
1474 return (_has_bits_[0] & 0x00000004u) != 0;
1475}
1477 _has_bits_[0] |= 0x00000004u;
1478}
1480 _has_bits_[0] &= ~0x00000004u;
1481}
1483 healing_ = false;
1485}
1486inline bool ChannelState::healing() const {
1487 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.ChannelState.healing)
1488 return healing_;
1489}
1490inline void ChannelState::set_healing(bool value) {
1492 healing_ = value;
1493 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.ChannelState.healing)
1494}
1495
1496// -------------------------------------------------------------------
1497
1498// LocalizedStringMapEntry
1499
1500// optional string locale = 1;
1502 return (_has_bits_[0] & 0x00000001u) != 0;
1503}
1505 _has_bits_[0] |= 0x00000001u;
1506}
1508 _has_bits_[0] &= ~0x00000001u;
1509}
1511 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1512 locale_->clear();
1513 }
1515}
1516inline const ::std::string& LocalizedStringMapEntry::locale() const {
1517 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.LocalizedStringMapEntry.locale)
1518 return *locale_;
1519}
1520inline void LocalizedStringMapEntry::set_locale(const ::std::string& value) {
1522 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1523 locale_ = new ::std::string;
1524 }
1525 locale_->assign(value);
1526 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.LocalizedStringMapEntry.locale)
1527}
1528inline void LocalizedStringMapEntry::set_locale(const char* value) {
1530 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1531 locale_ = new ::std::string;
1532 }
1533 locale_->assign(value);
1534 // @@protoc_insertion_point(field_set_char:bgs.protocol.presence.v1.LocalizedStringMapEntry.locale)
1535}
1536inline void LocalizedStringMapEntry::set_locale(const char* value, size_t size) {
1538 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1539 locale_ = new ::std::string;
1540 }
1541 locale_->assign(reinterpret_cast<const char*>(value), size);
1542 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.presence.v1.LocalizedStringMapEntry.locale)
1543}
1546 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1547 locale_ = new ::std::string;
1548 }
1549 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.LocalizedStringMapEntry.locale)
1550 return locale_;
1551}
1554 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1555 return NULL;
1556 } else {
1557 ::std::string* temp = locale_;
1558 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1559 return temp;
1560 }
1561}
1562inline void LocalizedStringMapEntry::set_allocated_locale(::std::string* locale) {
1563 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1564 delete locale_;
1565 }
1566 if (locale) {
1568 locale_ = locale;
1569 } else {
1571 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1572 }
1573 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.LocalizedStringMapEntry.locale)
1574}
1575
1576// optional string value = 2;
1578 return (_has_bits_[0] & 0x00000002u) != 0;
1579}
1581 _has_bits_[0] |= 0x00000002u;
1582}
1584 _has_bits_[0] &= ~0x00000002u;
1585}
1587 if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1588 value_->clear();
1589 }
1591}
1592inline const ::std::string& LocalizedStringMapEntry::value() const {
1593 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.LocalizedStringMapEntry.value)
1594 return *value_;
1595}
1596inline void LocalizedStringMapEntry::set_value(const ::std::string& value) {
1597 set_has_value();
1598 if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1599 value_ = new ::std::string;
1600 }
1601 value_->assign(value);
1602 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.LocalizedStringMapEntry.value)
1603}
1604inline void LocalizedStringMapEntry::set_value(const char* value) {
1605 set_has_value();
1606 if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1607 value_ = new ::std::string;
1608 }
1609 value_->assign(value);
1610 // @@protoc_insertion_point(field_set_char:bgs.protocol.presence.v1.LocalizedStringMapEntry.value)
1611}
1612inline void LocalizedStringMapEntry::set_value(const char* value, size_t size) {
1613 set_has_value();
1614 if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1615 value_ = new ::std::string;
1616 }
1617 value_->assign(reinterpret_cast<const char*>(value), size);
1618 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.presence.v1.LocalizedStringMapEntry.value)
1619}
1621 set_has_value();
1622 if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1623 value_ = new ::std::string;
1624 }
1625 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.LocalizedStringMapEntry.value)
1626 return value_;
1627}
1630 if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1631 return NULL;
1632 } else {
1633 ::std::string* temp = value_;
1634 value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1635 return temp;
1636 }
1637}
1638inline void LocalizedStringMapEntry::set_allocated_value(::std::string* value) {
1639 if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1640 delete value_;
1641 }
1642 if (value) {
1643 set_has_value();
1644 value_ = value;
1645 } else {
1647 value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1648 }
1649 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.LocalizedStringMapEntry.value)
1650}
1651
1652// -------------------------------------------------------------------
1653
1654// LocalizedStringMap
1655
1656// optional string default_string = 1;
1658 return (_has_bits_[0] & 0x00000001u) != 0;
1659}
1661 _has_bits_[0] |= 0x00000001u;
1662}
1664 _has_bits_[0] &= ~0x00000001u;
1665}
1667 if (default_string_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1668 default_string_->clear();
1669 }
1671}
1672inline const ::std::string& LocalizedStringMap::default_string() const {
1673 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.LocalizedStringMap.default_string)
1674 return *default_string_;
1675}
1676inline void LocalizedStringMap::set_default_string(const ::std::string& value) {
1678 if (default_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1679 default_string_ = new ::std::string;
1680 }
1681 default_string_->assign(value);
1682 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.LocalizedStringMap.default_string)
1683}
1684inline void LocalizedStringMap::set_default_string(const char* value) {
1686 if (default_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1687 default_string_ = new ::std::string;
1688 }
1689 default_string_->assign(value);
1690 // @@protoc_insertion_point(field_set_char:bgs.protocol.presence.v1.LocalizedStringMap.default_string)
1691}
1692inline void LocalizedStringMap::set_default_string(const char* value, size_t size) {
1694 if (default_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1695 default_string_ = new ::std::string;
1696 }
1697 default_string_->assign(reinterpret_cast<const char*>(value), size);
1698 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.presence.v1.LocalizedStringMap.default_string)
1699}
1702 if (default_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1703 default_string_ = new ::std::string;
1704 }
1705 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.LocalizedStringMap.default_string)
1706 return default_string_;
1707}
1710 if (default_string_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1711 return NULL;
1712 } else {
1713 ::std::string* temp = default_string_;
1714 default_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1715 return temp;
1716 }
1717}
1718inline void LocalizedStringMap::set_allocated_default_string(::std::string* default_string) {
1719 if (default_string_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1720 delete default_string_;
1721 }
1722 if (default_string) {
1725 } else {
1727 default_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1728 }
1729 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.LocalizedStringMap.default_string)
1730}
1731
1732// repeated .bgs.protocol.presence.v1.LocalizedStringMapEntry localized_entry = 2;
1734 return localized_entry_.size();
1735}
1739inline const ::bgs::protocol::presence::v1::LocalizedStringMapEntry& LocalizedStringMap::localized_entry(int index) const {
1740 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.LocalizedStringMap.localized_entry)
1741 return localized_entry_.Get(index);
1742}
1743inline ::bgs::protocol::presence::v1::LocalizedStringMapEntry* LocalizedStringMap::mutable_localized_entry(int index) {
1744 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.LocalizedStringMap.localized_entry)
1745 return localized_entry_.Mutable(index);
1746}
1747inline ::bgs::protocol::presence::v1::LocalizedStringMapEntry* LocalizedStringMap::add_localized_entry() {
1748 // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.LocalizedStringMap.localized_entry)
1749 return localized_entry_.Add();
1750}
1751inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::LocalizedStringMapEntry >&
1753 // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.LocalizedStringMap.localized_entry)
1754 return localized_entry_;
1755}
1756inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::LocalizedStringMapEntry >*
1758 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.LocalizedStringMap.localized_entry)
1759 return &localized_entry_;
1760}
1761
1762// -------------------------------------------------------------------
1763
1764// RichPresenceParty
1765
1766// optional string id = 1;
1767inline bool RichPresenceParty::has_id() const {
1768 return (_has_bits_[0] & 0x00000001u) != 0;
1769}
1771 _has_bits_[0] |= 0x00000001u;
1772}
1774 _has_bits_[0] &= ~0x00000001u;
1775}
1777 if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1778 id_->clear();
1779 }
1780 clear_has_id();
1781}
1782inline const ::std::string& RichPresenceParty::id() const {
1783 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.RichPresenceParty.id)
1784 return *id_;
1785}
1786inline void RichPresenceParty::set_id(const ::std::string& value) {
1787 set_has_id();
1788 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1789 id_ = new ::std::string;
1790 }
1791 id_->assign(value);
1792 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.RichPresenceParty.id)
1793}
1794inline void RichPresenceParty::set_id(const char* value) {
1795 set_has_id();
1796 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1797 id_ = new ::std::string;
1798 }
1799 id_->assign(value);
1800 // @@protoc_insertion_point(field_set_char:bgs.protocol.presence.v1.RichPresenceParty.id)
1801}
1802inline void RichPresenceParty::set_id(const char* value, size_t size) {
1803 set_has_id();
1804 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1805 id_ = new ::std::string;
1806 }
1807 id_->assign(reinterpret_cast<const char*>(value), size);
1808 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.presence.v1.RichPresenceParty.id)
1809}
1810inline ::std::string* RichPresenceParty::mutable_id() {
1811 set_has_id();
1812 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1813 id_ = new ::std::string;
1814 }
1815 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.RichPresenceParty.id)
1816 return id_;
1817}
1818inline ::std::string* RichPresenceParty::release_id() {
1819 clear_has_id();
1820 if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1821 return NULL;
1822 } else {
1823 ::std::string* temp = id_;
1824 id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1825 return temp;
1826 }
1827}
1828inline void RichPresenceParty::set_allocated_id(::std::string* id) {
1829 if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1830 delete id_;
1831 }
1832 if (id) {
1833 set_has_id();
1834 id_ = id;
1835 } else {
1836 clear_has_id();
1837 id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1838 }
1839 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.RichPresenceParty.id)
1840}
1841
1842// optional uint32 current_size = 2;
1844 return (_has_bits_[0] & 0x00000002u) != 0;
1845}
1847 _has_bits_[0] |= 0x00000002u;
1848}
1850 _has_bits_[0] &= ~0x00000002u;
1851}
1856inline ::google::protobuf::uint32 RichPresenceParty::current_size() const {
1857 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.RichPresenceParty.current_size)
1858 return current_size_;
1859}
1860inline void RichPresenceParty::set_current_size(::google::protobuf::uint32 value) {
1862 current_size_ = value;
1863 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.RichPresenceParty.current_size)
1864}
1865
1866// optional uint32 max_size = 3;
1868 return (_has_bits_[0] & 0x00000004u) != 0;
1869}
1871 _has_bits_[0] |= 0x00000004u;
1872}
1874 _has_bits_[0] &= ~0x00000004u;
1875}
1877 max_size_ = 0u;
1879}
1880inline ::google::protobuf::uint32 RichPresenceParty::max_size() const {
1881 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.RichPresenceParty.max_size)
1882 return max_size_;
1883}
1884inline void RichPresenceParty::set_max_size(::google::protobuf::uint32 value) {
1886 max_size_ = value;
1887 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.RichPresenceParty.max_size)
1888}
1889
1890// -------------------------------------------------------------------
1891
1892// RichPresenceDetails
1893
1894// optional .bgs.protocol.presence.v1.LocalizedStringMap state = 1;
1896 return (_has_bits_[0] & 0x00000001u) != 0;
1897}
1899 _has_bits_[0] |= 0x00000001u;
1900}
1902 _has_bits_[0] &= ~0x00000001u;
1903}
1905 if (state_ != NULL) state_->::bgs::protocol::presence::v1::LocalizedStringMap::Clear();
1907}
1908inline const ::bgs::protocol::presence::v1::LocalizedStringMap& RichPresenceDetails::state() const {
1909 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.RichPresenceDetails.state)
1910 return state_ != NULL ? *state_ : *default_instance_->state_;
1911}
1912inline ::bgs::protocol::presence::v1::LocalizedStringMap* RichPresenceDetails::mutable_state() {
1913 set_has_state();
1914 if (state_ == NULL) state_ = new ::bgs::protocol::presence::v1::LocalizedStringMap;
1915 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.RichPresenceDetails.state)
1916 return state_;
1917}
1918inline ::bgs::protocol::presence::v1::LocalizedStringMap* RichPresenceDetails::release_state() {
1921 state_ = NULL;
1922 return temp;
1923}
1925 delete state_;
1926 state_ = state;
1927 if (state) {
1928 set_has_state();
1929 } else {
1931 }
1932 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.RichPresenceDetails.state)
1933}
1934
1935// optional .bgs.protocol.presence.v1.RichPresenceParty party = 2;
1937 return (_has_bits_[0] & 0x00000002u) != 0;
1938}
1940 _has_bits_[0] |= 0x00000002u;
1941}
1943 _has_bits_[0] &= ~0x00000002u;
1944}
1946 if (party_ != NULL) party_->::bgs::protocol::presence::v1::RichPresenceParty::Clear();
1948}
1949inline const ::bgs::protocol::presence::v1::RichPresenceParty& RichPresenceDetails::party() const {
1950 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.RichPresenceDetails.party)
1951 return party_ != NULL ? *party_ : *default_instance_->party_;
1952}
1953inline ::bgs::protocol::presence::v1::RichPresenceParty* RichPresenceDetails::mutable_party() {
1954 set_has_party();
1955 if (party_ == NULL) party_ = new ::bgs::protocol::presence::v1::RichPresenceParty;
1956 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.RichPresenceDetails.party)
1957 return party_;
1958}
1959inline ::bgs::protocol::presence::v1::RichPresenceParty* RichPresenceDetails::release_party() {
1962 party_ = NULL;
1963 return temp;
1964}
1966 delete party_;
1967 party_ = party;
1968 if (party) {
1969 set_has_party();
1970 } else {
1972 }
1973 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.RichPresenceDetails.party)
1974}
1975
1976// optional string large_image_url = 3;
1978 return (_has_bits_[0] & 0x00000004u) != 0;
1979}
1981 _has_bits_[0] |= 0x00000004u;
1982}
1984 _has_bits_[0] &= ~0x00000004u;
1985}
1987 if (large_image_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1988 large_image_url_->clear();
1989 }
1991}
1992inline const ::std::string& RichPresenceDetails::large_image_url() const {
1993 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.RichPresenceDetails.large_image_url)
1994 return *large_image_url_;
1995}
1996inline void RichPresenceDetails::set_large_image_url(const ::std::string& value) {
1998 if (large_image_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1999 large_image_url_ = new ::std::string;
2000 }
2001 large_image_url_->assign(value);
2002 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.RichPresenceDetails.large_image_url)
2003}
2004inline void RichPresenceDetails::set_large_image_url(const char* value) {
2006 if (large_image_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2007 large_image_url_ = new ::std::string;
2008 }
2009 large_image_url_->assign(value);
2010 // @@protoc_insertion_point(field_set_char:bgs.protocol.presence.v1.RichPresenceDetails.large_image_url)
2011}
2012inline void RichPresenceDetails::set_large_image_url(const char* value, size_t size) {
2014 if (large_image_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2015 large_image_url_ = new ::std::string;
2016 }
2017 large_image_url_->assign(reinterpret_cast<const char*>(value), size);
2018 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.presence.v1.RichPresenceDetails.large_image_url)
2019}
2022 if (large_image_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2023 large_image_url_ = new ::std::string;
2024 }
2025 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.RichPresenceDetails.large_image_url)
2026 return large_image_url_;
2027}
2030 if (large_image_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2031 return NULL;
2032 } else {
2033 ::std::string* temp = large_image_url_;
2034 large_image_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2035 return temp;
2036 }
2037}
2038inline void RichPresenceDetails::set_allocated_large_image_url(::std::string* large_image_url) {
2039 if (large_image_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2040 delete large_image_url_;
2041 }
2042 if (large_image_url) {
2045 } else {
2047 large_image_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2048 }
2049 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.RichPresenceDetails.large_image_url)
2050}
2051
2052// optional string small_image_url = 4;
2054 return (_has_bits_[0] & 0x00000008u) != 0;
2055}
2057 _has_bits_[0] |= 0x00000008u;
2058}
2060 _has_bits_[0] &= ~0x00000008u;
2061}
2063 if (small_image_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2064 small_image_url_->clear();
2065 }
2067}
2068inline const ::std::string& RichPresenceDetails::small_image_url() const {
2069 // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.RichPresenceDetails.small_image_url)
2070 return *small_image_url_;
2071}
2072inline void RichPresenceDetails::set_small_image_url(const ::std::string& value) {
2074 if (small_image_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2075 small_image_url_ = new ::std::string;
2076 }
2077 small_image_url_->assign(value);
2078 // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.RichPresenceDetails.small_image_url)
2079}
2080inline void RichPresenceDetails::set_small_image_url(const char* value) {
2082 if (small_image_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2083 small_image_url_ = new ::std::string;
2084 }
2085 small_image_url_->assign(value);
2086 // @@protoc_insertion_point(field_set_char:bgs.protocol.presence.v1.RichPresenceDetails.small_image_url)
2087}
2088inline void RichPresenceDetails::set_small_image_url(const char* value, size_t size) {
2090 if (small_image_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2091 small_image_url_ = new ::std::string;
2092 }
2093 small_image_url_->assign(reinterpret_cast<const char*>(value), size);
2094 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.presence.v1.RichPresenceDetails.small_image_url)
2095}
2098 if (small_image_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2099 small_image_url_ = new ::std::string;
2100 }
2101 // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.RichPresenceDetails.small_image_url)
2102 return small_image_url_;
2103}
2106 if (small_image_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2107 return NULL;
2108 } else {
2109 ::std::string* temp = small_image_url_;
2110 small_image_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2111 return temp;
2112 }
2113}
2114inline void RichPresenceDetails::set_allocated_small_image_url(::std::string* small_image_url) {
2115 if (small_image_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2116 delete small_image_url_;
2117 }
2118 if (small_image_url) {
2121 } else {
2123 small_image_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2124 }
2125 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.RichPresenceDetails.small_image_url)
2126}
2127
2128// @@protoc_insertion_point(namespace_scope)
2129
2130} // namespace v1
2131} // namespace presence
2132} // namespace protocol
2133} // namespace bgs
2134
2135#ifndef SWIG
2136namespace google {
2137namespace protobuf {
2138template <> struct is_proto_enum< ::bgs::protocol::presence::v1::FieldOperation_OperationType> : ::google::protobuf::internal::true_type {};
2139template <>
2141 return ::bgs::protocol::presence::v1::FieldOperation_OperationType_descriptor();
2142}
2143} // namespace google
2144} // namespace protobuf
2145#endif // SWIG
2146
2147// @@protoc_insertion_point(global_scope)
2148
2149#endif // PROTOBUF_presence_5ftypes_2eproto__INCLUDED
#define TC_PROTO_API
Definition Define.h:105
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
static const ChannelState & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_ShutdownFile_presence_5ftypes_2eproto()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > & field_operation() const
::google::protobuf::uint32 _has_bits_[1]
inline ::bgs::protocol::EntityId * mutable_entity_id()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > * mutable_field_operation()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::EntityId * release_entity_id()
inline ::bgs::protocol::presence::v1::FieldOperation * add_field_operation()
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
static ::google::protobuf::internal::ExtensionIdentifier< ::bgs::protocol::channel::v1::ChannelState, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::presence::v1::ChannelState >, 11, false > presence
ChannelState(const ChannelState &from)
const ::bgs::protocol::EntityId & entity_id() const
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_AssignDesc_presence_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
ChannelState & operator=(const ChannelState &from)
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
void set_unique_id(::google::protobuf::uint64 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
FieldKey & operator=(const FieldKey &from)
inline ::google::protobuf::uint32 field() const
friend void protobuf_ShutdownFile_presence_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
static const FieldKey & default_instance()
inline ::google::protobuf::uint64 unique_id() const
::google::protobuf::uint32 _has_bits_[1]
void set_program(::google::protobuf::uint32 value)
void set_group(::google::protobuf::uint32 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_AssignDesc_presence_5ftypes_2eproto()
inline ::google::protobuf::uint32 group() const
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::uint64 unique_id_
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
void set_field(::google::protobuf::uint32 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::uint32 program() const
static const ::std::string & OperationType_Name(OperationType value)
FieldOperation(const FieldOperation &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::EnumDescriptor * OperationType_descriptor()
const ::bgs::protocol::presence::v1::Field & field() const
void set_operation(::bgs::protocol::presence::v1::FieldOperation_OperationType value)
static const FieldOperation & default_instance()
inline ::bgs::protocol::presence::v1::Field * mutable_field()
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::presence::v1::Field * release_field()
inline ::bgs::protocol::presence::v1::FieldOperation_OperationType operation() const
::google::protobuf::UnknownFieldSet _unknown_fields_
static bool OperationType_Parse(const ::std::string &name, OperationType *value)
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
::bgs::protocol::presence::v1::Field * field_
void set_allocated_field(::bgs::protocol::presence::v1::Field *field)
FieldOperation & operator=(const FieldOperation &from)
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::presence::v1::FieldKey * release_key()
static const Field & default_instance()
::google::protobuf::uint32 _has_bits_[1]
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::bgs::protocol::presence::v1::FieldKey * key_
friend void protobuf_ShutdownFile_presence_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Field & operator=(const Field &from)
const ::bgs::protocol::presence::v1::FieldKey & key() const
void set_allocated_value(::bgs::protocol::Variant *value)
inline ::bgs::protocol::presence::v1::FieldKey * mutable_key()
void SetCachedSize(int size) const
friend void protobuf_AssignDesc_presence_5ftypes_2eproto()
::bgs::protocol::Variant * value_
const ::bgs::protocol::Variant & value() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
inline ::bgs::protocol::Variant * release_value()
inline ::bgs::protocol::Variant * mutable_value()
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_allocated_key(::bgs::protocol::presence::v1::FieldKey *key)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void Swap(LocalizedStringMapEntry *other)
::google::protobuf::UnknownFieldSet _unknown_fields_
static const LocalizedStringMapEntry & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::Metadata GetMetadata() const
LocalizedStringMapEntry(const LocalizedStringMapEntry &from)
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
LocalizedStringMapEntry & operator=(const LocalizedStringMapEntry &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_default_string(::std::string *default_string)
void Swap(LocalizedStringMap *other)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::LocalizedStringMapEntry > localized_entry_
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::LocalizedStringMapEntry > & localized_entry() const
void set_default_string(const ::std::string &value)
LocalizedStringMap & operator=(const LocalizedStringMap &from)
static const LocalizedStringMap & default_instance()
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::LocalizedStringMapEntry > * mutable_localized_entry()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::presence::v1::LocalizedStringMapEntry * add_localized_entry()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
LocalizedStringMap(const LocalizedStringMap &from)
const ::bgs::protocol::EntityId & entity_id() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > & field_operation() const
inline ::bgs::protocol::presence::v1::FieldOperation * add_field_operation()
PresenceState & operator=(const PresenceState &from)
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
static const PresenceState & default_instance()
friend void protobuf_ShutdownFile_presence_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > * mutable_field_operation()
PresenceState(const PresenceState &from)
inline ::bgs::protocol::EntityId * mutable_entity_id()
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
inline ::bgs::protocol::EntityId * release_entity_id()
void set_allocated_party(::bgs::protocol::presence::v1::RichPresenceParty *party)
inline ::bgs::protocol::presence::v1::RichPresenceParty * release_party()
::google::protobuf::Metadata GetMetadata() const
RichPresenceDetails & operator=(const RichPresenceDetails &from)
static const RichPresenceDetails & default_instance()
inline ::bgs::protocol::presence::v1::LocalizedStringMap * release_state()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::bgs::protocol::presence::v1::RichPresenceParty & party() const
::bgs::protocol::presence::v1::RichPresenceParty * party_
void Swap(RichPresenceDetails *other)
void set_large_image_url(const ::std::string &value)
inline ::bgs::protocol::presence::v1::LocalizedStringMap * mutable_state()
void set_allocated_large_image_url(::std::string *large_image_url)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_small_image_url(::std::string *small_image_url)
RichPresenceDetails(const RichPresenceDetails &from)
void set_small_image_url(const ::std::string &value)
::google::protobuf::UnknownFieldSet _unknown_fields_
::bgs::protocol::presence::v1::LocalizedStringMap * state_
const ::bgs::protocol::presence::v1::LocalizedStringMap & state() const
void set_allocated_state(::bgs::protocol::presence::v1::LocalizedStringMap *state)
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
inline ::bgs::protocol::presence::v1::RichPresenceParty * mutable_party()
static const ::google::protobuf::Descriptor * descriptor()
void set_localization_id(::google::protobuf::uint32 value)
RichPresenceLocalizationKey & operator=(const RichPresenceLocalizationKey &from)
inline ::google::protobuf::uint32 localization_id() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::uint32 program() const
inline ::google::protobuf::uint32 stream() const
static const RichPresenceLocalizationKey & default_instance()
RichPresenceLocalizationKey * New() const
void Swap(RichPresenceLocalizationKey *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
RichPresenceLocalizationKey(const RichPresenceLocalizationKey &from)
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
void set_current_size(::google::protobuf::uint32 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
RichPresenceParty(const RichPresenceParty &from)
inline ::google::protobuf::uint32 current_size() const
void set_max_size(::google::protobuf::uint32 value)
void Swap(RichPresenceParty *other)
static const RichPresenceParty & default_instance()
inline ::google::protobuf::uint32 max_size() const
RichPresenceParty & operator=(const RichPresenceParty &from)
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
void protobuf_ShutdownFile_presence_5ftypes_2eproto()
const int FieldOperation_OperationType_OperationType_ARRAYSIZE
bool FieldOperation_OperationType_Parse(const ::std::string &name, FieldOperation_OperationType *value)
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * FieldOperation_OperationType_descriptor()
const FieldOperation_OperationType FieldOperation_OperationType_OperationType_MIN
const ::std::string & FieldOperation_OperationType_Name(FieldOperation_OperationType value)
TC_PROTO_API bool FieldOperation_OperationType_IsValid(int value)
void protobuf_AssignDesc_presence_5ftypes_2eproto()
const FieldOperation_OperationType FieldOperation_OperationType_OperationType_MAX
Definition Session.h:37
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::presence::v1::FieldOperation_OperationType >()