4#ifndef PROTOBUF_user_5fmanager_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_user_5fmanager_5ftypes_2eproto__INCLUDED
9#include <google/protobuf/stubs/common.h>
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
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.
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>
35namespace user_manager {
61 return _unknown_fields_;
65 return &_unknown_fields_;
68 static const ::google::protobuf::Descriptor*
descriptor();
89 inline bool has_entity_id()
const;
90 inline void clear_entity_id();
91 static const int kEntityIdFieldNumber = 1;
92 inline const ::bgs::protocol::EntityId& entity_id()
const;
93 inline ::bgs::protocol::EntityId* mutable_entity_id();
94 inline ::bgs::protocol::EntityId* release_entity_id();
98 inline bool has_program()
const;
99 inline void clear_program();
100 static const int kProgramFieldNumber = 2;
101 inline const ::std::string& program()
const;
102 inline void set_program(const ::std::string& value);
103 inline void set_program(
const char* value);
104 inline void set_program(
const char* value,
size_t size);
105 inline ::std::string* mutable_program();
106 inline ::std::string* release_program();
107 inline void set_allocated_program(::std::string* program);
110 inline bool has_timestamp_played()
const;
111 inline void clear_timestamp_played();
112 static const int kTimestampPlayedFieldNumber = 3;
117 inline int attributes_size()
const;
118 inline void clear_attributes();
119 static const int kAttributesFieldNumber = 4;
120 inline const ::bgs::protocol::Attribute& attributes(
int index)
const;
121 inline ::bgs::protocol::Attribute* mutable_attributes(
int index);
122 inline ::bgs::protocol::Attribute* add_attributes();
123 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
125 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
126 mutable_attributes();
129 inline bool has_counter()
const;
130 inline void clear_counter();
131 static const int kCounterFieldNumber = 6;
137 inline void set_has_entity_id();
138 inline void clear_has_entity_id();
139 inline void set_has_program();
140 inline void clear_has_program();
141 inline void set_has_timestamp_played();
142 inline void clear_has_timestamp_played();
143 inline void set_has_counter();
144 inline void clear_has_counter();
153 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >
attributes_;
177 return _unknown_fields_;
181 return &_unknown_fields_;
205 inline bool has_account_id()
const;
206 inline void clear_account_id();
207 static const int kAccountIdFieldNumber = 1;
208 inline const ::bgs::protocol::EntityId& account_id()
const;
209 inline ::bgs::protocol::EntityId* mutable_account_id();
210 inline ::bgs::protocol::EntityId* release_account_id();
214 inline bool has_battle_tag()
const;
215 inline void clear_battle_tag();
216 static const int kBattleTagFieldNumber = 2;
217 inline const ::std::string& battle_tag()
const;
218 inline void set_battle_tag(const ::std::string& value);
219 inline void set_battle_tag(
const char* value);
220 inline void set_battle_tag(
const char* value,
size_t size);
221 inline ::std::string* mutable_battle_tag();
222 inline ::std::string* release_battle_tag();
223 inline void set_allocated_battle_tag(::std::string* battle_tag);
226 inline int role_size() const PROTOBUF_DEPRECATED;
227 inline
void clear_role() PROTOBUF_DEPRECATED;
228 static const
int kRoleFieldNumber = 3;
229 inline ::
google::protobuf::
uint32 role(
int index) const PROTOBUF_DEPRECATED;
230 inline
void set_role(
int index, ::
google::protobuf::
uint32 value) PROTOBUF_DEPRECATED;
231 inline
void add_role(::
google::protobuf::
uint32 value) PROTOBUF_DEPRECATED;
233 role() const PROTOBUF_DEPRECATED;
235 mutable_role() PROTOBUF_DEPRECATED;
238 inline
bool has_privileges() const PROTOBUF_DEPRECATED;
239 inline
void clear_privileges() PROTOBUF_DEPRECATED;
240 static const
int kPrivilegesFieldNumber = 4;
241 inline ::
google::protobuf::
uint64 privileges() const PROTOBUF_DEPRECATED;
242 inline
void set_privileges(::
google::protobuf::
uint64 value) PROTOBUF_DEPRECATED;
246 inline
void set_has_account_id();
247 inline
void clear_has_account_id();
248 inline
void set_has_battle_tag();
249 inline
void clear_has_battle_tag();
250 inline
void set_has_privileges();
251 inline
void clear_has_privileges();
253 ::
google::protobuf::UnknownFieldSet _unknown_fields_;
256 mutable
int _cached_size_;
258 ::
std::
string* battle_tag_;
265 void InitAsDefaultInstance();
278 return (_has_bits_[0] & 0x00000001u) != 0;
281 _has_bits_[0] |= 0x00000001u;
284 _has_bits_[0] &= ~0x00000001u;
287 if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
288 clear_has_entity_id();
292 return entity_id_ != NULL ? *entity_id_ : *default_instance_->entity_id_;
296 if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
301 clear_has_entity_id();
308 entity_id_ = entity_id;
312 clear_has_entity_id();
319 return (_has_bits_[0] & 0x00000002u) != 0;
322 _has_bits_[0] |= 0x00000002u;
325 _has_bits_[0] &= ~0x00000002u;
328 if (program_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
339 if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
340 program_ = new ::std::string;
342 program_->assign(value);
347 if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
348 program_ = new ::std::string;
350 program_->assign(value);
355 if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
356 program_ = new ::std::string;
358 program_->assign(
reinterpret_cast<const char*
>(value),
size);
363 if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
364 program_ = new ::std::string;
371 if (program_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
374 ::std::string* temp = program_;
375 program_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
380 if (program_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
388 program_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
395 return (_has_bits_[0] & 0x00000004u) != 0;
398 _has_bits_[0] |= 0x00000004u;
401 _has_bits_[0] &= ~0x00000004u;
404 timestamp_played_ = GOOGLE_ULONGLONG(0);
405 clear_has_timestamp_played();
409 return timestamp_played_;
412 set_has_timestamp_played();
413 timestamp_played_ = value;
419 return attributes_.size();
426 return attributes_.Get(index);
430 return attributes_.Mutable(index);
434 return attributes_.Add();
436inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
441inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
449 return (_has_bits_[0] & 0x00000010u) != 0;
452 _has_bits_[0] |= 0x00000010u;
455 _has_bits_[0] &= ~0x00000010u;
477 return (_has_bits_[0] & 0x00000001u) != 0;
480 _has_bits_[0] |= 0x00000001u;
483 _has_bits_[0] &= ~0x00000001u;
486 if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
487 clear_has_account_id();
491 return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_;
494 set_has_account_id();
495 if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
500 clear_has_account_id();
507 account_id_ = account_id;
509 set_has_account_id();
511 clear_has_account_id();
518 return (_has_bits_[0] & 0x00000002u) != 0;
521 _has_bits_[0] |= 0x00000002u;
524 _has_bits_[0] &= ~0x00000002u;
527 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
528 battle_tag_->clear();
530 clear_has_battle_tag();
537 set_has_battle_tag();
538 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
539 battle_tag_ = new ::std::string;
541 battle_tag_->assign(value);
545 set_has_battle_tag();
546 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
547 battle_tag_ = new ::std::string;
549 battle_tag_->assign(value);
553 set_has_battle_tag();
554 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
555 battle_tag_ = new ::std::string;
557 battle_tag_->assign(
reinterpret_cast<const char*
>(value),
size);
561 set_has_battle_tag();
562 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
563 battle_tag_ = new ::std::string;
569 clear_has_battle_tag();
570 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
573 ::std::string* temp = battle_tag_;
574 battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
579 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
583 set_has_battle_tag();
584 battle_tag_ = battle_tag;
586 clear_has_battle_tag();
587 battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
601 return role_.Get(index);
604 role_.Set(index, value);
611inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
616inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
624 return (_has_bits_[0] & 0x00000008u) != 0;
627 _has_bits_[0] |= 0x00000008u;
630 _has_bits_[0] &= ~0x00000008u;
633 privileges_ = GOOGLE_ULONGLONG(0);
634 clear_has_privileges();
641 set_has_privileges();
void SetCachedSize(int size) const
void set_role(int index, ::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
::google::protobuf::Metadata GetMetadata() const
bool has_privileges() const PROTOBUF_DEPRECATED
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & role() const PROTOBUF_DEPRECATED
inline ::bgs::protocol::EntityId * release_account_id()
void set_has_battle_tag()
inline ::std::string * mutable_battle_tag()
void set_battle_tag(const ::std::string &value)
const ::std::string & battle_tag() const
void Swap(BlockedPlayer *other)
void add_role(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
BlockedPlayer * New() const
BlockedPlayer & operator=(const BlockedPlayer &from)
bool has_battle_tag() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_has_account_id()
static const ::google::protobuf::Descriptor * descriptor()
void clear_has_battle_tag()
void set_privileges(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED
inline ::google::protobuf::uint64 privileges() const PROTOBUF_DEPRECATED
void clear_has_account_id()
void set_allocated_battle_tag(::std::string *battle_tag)
void clear_privileges() PROTOBUF_DEPRECATED
BlockedPlayer(const BlockedPlayer &from)
void clear_has_privileges()
bool has_account_id() const
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_role() PROTOBUF_DEPRECATED
static const BlockedPlayer & default_instance()
void set_allocated_account_id(::bgs::protocol::EntityId *account_id)
int GetCachedSize() const
inline ::bgs::protocol::EntityId * mutable_account_id()
void set_has_privileges()
int role_size() const PROTOBUF_DEPRECATED
const ::bgs::protocol::EntityId & account_id() const
inline ::std::string * release_battle_tag()
void clear_role() PROTOBUF_DEPRECATED
void Swap(RecentPlayer *other)
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
::google::protobuf::uint32 counter_
void InitAsDefaultInstance()
::google::protobuf::Metadata GetMetadata() const
RecentPlayer * New() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attributes_
int attributes_size() const
void SetCachedSize(int size) const
void set_timestamp_played(::google::protobuf::uint64 value)
static RecentPlayer * default_instance_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5ftypes_2eproto()
void clear_has_entity_id()
void clear_has_timestamp_played()
bool has_timestamp_played() const
inline ::std::string * mutable_program()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attributes()
void set_program(const ::std::string &value)
int GetCachedSize() const
inline ::bgs::protocol::Attribute * add_attributes()
friend void protobuf_AssignDesc_user_5fmanager_5ftypes_2eproto()
inline ::std::string * release_program()
void set_counter(::google::protobuf::uint32 value)
friend void protobuf_ShutdownFile_user_5fmanager_5ftypes_2eproto()
const ::bgs::protocol::EntityId & entity_id() const
inline ::google::protobuf::uint32 counter() const
inline ::bgs::protocol::EntityId * mutable_entity_id()
::google::protobuf::uint64 timestamp_played_
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attributes() const
static const RecentPlayer & default_instance()
::bgs::protocol::EntityId * entity_id_
inline ::bgs::protocol::EntityId * release_entity_id()
void clear_timestamp_played()
static const ::google::protobuf::Descriptor * descriptor()
void set_allocated_program(::std::string *program)
void set_has_timestamp_played()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
RecentPlayer & operator=(const RecentPlayer &from)
const ::std::string & program() const
inline ::google::protobuf::uint64 timestamp_played() const
RecentPlayer(const RecentPlayer &from)
constexpr std::size_t size()
void TC_PROTO_API protobuf_AddDesc_user_5fmanager_5ftypes_2eproto()
void protobuf_ShutdownFile_user_5fmanager_5ftypes_2eproto()
void protobuf_AssignDesc_user_5fmanager_5ftypes_2eproto()