TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
bgs::protocol::account::v1::Identity Class Reference

#include <account_types.pb.h>

Public Member Functions

 Identity ()
 
virtual ~Identity ()
 
 Identity (const Identity &from)
 
Identityoperator= (const Identity &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Identity *other)
 
IdentityNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Identity &from)
 
void MergeFrom (const Identity &from)
 
void Clear ()
 
bool IsInitialized () const
 
int ByteSize () const
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_account () const
 
void clear_account ()
 
const
::bgs::protocol::account::v1::AccountId
account () const
 
inline::bgs::protocol::account::v1::AccountId * mutable_account ()
 
inline::bgs::protocol::account::v1::AccountId * release_account ()
 
void set_allocated_account (::bgs::protocol::account::v1::AccountId *account)
 
bool has_game_account () const
 
void clear_game_account ()
 
const
::bgs::protocol::account::v1::GameAccountHandle
game_account () const
 
inline::bgs::protocol::account::v1::GameAccountHandle * mutable_game_account ()
 
inline::bgs::protocol::account::v1::GameAccountHandle * release_game_account ()
 
void set_allocated_game_account (::bgs::protocol::account::v1::GameAccountHandle *game_account)
 
bool has_process () const
 
void clear_process ()
 
const ::bgs::protocol::ProcessIdprocess () const
 
inline::bgs::protocol::ProcessId * mutable_process ()
 
inline::bgs::protocol::ProcessId * release_process ()
 
void set_allocated_process (::bgs::protocol::ProcessId *process)
 
- Public Member Functions inherited from google::protobuf::Message
 Message ()
 
virtual ~Message ()
 
virtual void CopyFrom (const Message &from)
 
virtual void MergeFrom (const Message &from)
 
void CheckInitialized () const
 
void FindInitializationErrors (vector< string > *errors) const
 
string InitializationErrorString () const
 
virtual void DiscardUnknownFields ()
 
virtual int SpaceUsed () const
 
string DebugString () const
 
string ShortDebugString () const
 
string Utf8DebugString () const
 
void PrintDebugString () const
 
bool ParseFromFileDescriptor (int file_descriptor)
 
bool ParsePartialFromFileDescriptor (int file_descriptor)
 
bool ParseFromIstream (istream *input)
 
bool ParsePartialFromIstream (istream *input)
 
bool SerializeToFileDescriptor (int file_descriptor) const
 
bool SerializePartialToFileDescriptor (int file_descriptor) const
 
bool SerializeToOstream (ostream *output) const
 
bool SerializePartialToOstream (ostream *output) const
 
virtual string GetTypeName () const
 
virtual void CheckTypeAndMergeFrom (const MessageLite &other)
 
virtual bool MergePartialFromCodedStream (io::CodedInputStream *input)
 
virtual void SerializeWithCachedSizes (io::CodedOutputStream *output) const
 
const DescriptorGetDescriptor () const
 
virtual const ReflectionGetReflection () const
 
- Public Member Functions inherited from google::protobuf::MessageLite
 MessageLite ()
 
virtual ~MessageLite ()
 
bool ParseFromCodedStream (io::CodedInputStream *input)
 
bool ParsePartialFromCodedStream (io::CodedInputStream *input)
 
bool ParseFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParseFromString (const string &data)
 
bool ParsePartialFromString (const string &data)
 
bool ParseFromArray (const void *data, int size)
 
bool ParsePartialFromArray (const void *data, int size)
 
bool MergeFromCodedStream (io::CodedInputStream *input)
 
bool SerializeToCodedStream (io::CodedOutputStream *output) const
 
bool SerializePartialToCodedStream (io::CodedOutputStream *output) const
 
bool SerializeToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializePartialToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializeToString (string *output) const
 
bool SerializePartialToString (string *output) const
 
bool SerializeToArray (void *data, int size) const
 
bool SerializePartialToArray (void *data, int size) const
 
string SerializeAsString () const
 
string SerializePartialAsString () const
 
bool AppendToString (string *output) const
 
bool AppendPartialToString (string *output) const
 
virtual uint8SerializeWithCachedSizesToArray (uint8 *target) const
 

Static Public Member Functions

static const
::google::protobuf::Descriptor
descriptor ()
 
static const Identitydefault_instance ()
 

Static Public Attributes

static const int kAccountFieldNumber = 1
 
static const int kGameAccountFieldNumber = 2
 
static const int kProcessFieldNumber = 3
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_account ()
 
void clear_has_account ()
 
void set_has_game_account ()
 
void clear_has_game_account ()
 
void set_has_process ()
 
void clear_has_process ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::account::v1::AccountIdaccount_
 
::bgs::protocol::account::v1::GameAccountHandlegame_account_
 
::bgs::protocol::ProcessIdprocess_
 

Static Private Attributes

static Identitydefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_account_5ftypes_2eproto ()
 
void protobuf_AssignDesc_account_5ftypes_2eproto ()
 
void protobuf_ShutdownFile_account_5ftypes_2eproto ()
 

Additional Inherited Members

- Public Types inherited from google::protobuf::Message
typedef
google::protobuf::Reflection 
Reflection
 

Constructor & Destructor Documentation

bgs::protocol::account::v1::Identity::Identity ( )
virtual bgs::protocol::account::v1::Identity::~Identity ( )
virtual
bgs::protocol::account::v1::Identity::Identity ( const Identity from)

Member Function Documentation

const ::bgs::protocol::account::v1::AccountId & bgs::protocol::account::v1::Identity::account ( ) const
inline
6414  {
6415  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.Identity.account)
6416  return account_ != NULL ? *account_ : *default_instance_->account_;
6417 }
arena_t NULL
Definition: jemalloc_internal.h:624
static Identity * default_instance_
Definition: account_types.pb.h:1524
::bgs::protocol::account::v1::AccountId * account_
Definition: account_types.pb.h:1516
int bgs::protocol::account::v1::Identity::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::account::v1::Identity::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::account::v1::Identity::clear_account ( )
inline
6410  {
6411  if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear();
6413 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::account::v1::AccountId * account_
Definition: account_types.pb.h:1516
void clear_has_account()
Definition: account_types.pb.h:6407
void bgs::protocol::account::v1::Identity::clear_game_account ( )
inline
6451  {
6452  if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
6454 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::account::v1::GameAccountHandle * game_account_
Definition: account_types.pb.h:1517
void clear_has_game_account()
Definition: account_types.pb.h:6448
void bgs::protocol::account::v1::Identity::clear_has_account ( )
inlineprivate
6407  {
6408  _has_bits_[0] &= ~0x00000001u;
6409 }
::google::protobuf::uint32 _has_bits_[1]
Definition: account_types.pb.h:1514
void bgs::protocol::account::v1::Identity::clear_has_game_account ( )
inlineprivate
6448  {
6449  _has_bits_[0] &= ~0x00000002u;
6450 }
::google::protobuf::uint32 _has_bits_[1]
Definition: account_types.pb.h:1514
void bgs::protocol::account::v1::Identity::clear_has_process ( )
inlineprivate
6489  {
6490  _has_bits_[0] &= ~0x00000004u;
6491 }
::google::protobuf::uint32 _has_bits_[1]
Definition: account_types.pb.h:1514
void bgs::protocol::account::v1::Identity::clear_process ( )
inline
6492  {
6493  if (process_ != NULL) process_->::bgs::protocol::ProcessId::Clear();
6495 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_process()
Definition: account_types.pb.h:6489
::bgs::protocol::ProcessId * process_
Definition: account_types.pb.h:1518
void bgs::protocol::account::v1::Identity::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::account::v1::Identity::CopyFrom ( const Identity from)
static const Identity& bgs::protocol::account::v1::Identity::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::account::v1::Identity::descriptor ( )
static
const ::bgs::protocol::account::v1::GameAccountHandle & bgs::protocol::account::v1::Identity::game_account ( ) const
inline
6455  {
6456  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.Identity.game_account)
6458 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::account::v1::GameAccountHandle * game_account_
Definition: account_types.pb.h:1517
static Identity * default_instance_
Definition: account_types.pb.h:1524
int bgs::protocol::account::v1::Identity::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

1464 { return _cached_size_; }
int _cached_size_
Definition: account_types.pb.h:1515
::google::protobuf::Metadata bgs::protocol::account::v1::Identity::GetMetadata ( ) const
virtual
bool bgs::protocol::account::v1::Identity::has_account ( ) const
inline
6401  {
6402  return (_has_bits_[0] & 0x00000001u) != 0;
6403 }
::google::protobuf::uint32 _has_bits_[1]
Definition: account_types.pb.h:1514
bool bgs::protocol::account::v1::Identity::has_game_account ( ) const
inline
6442  {
6443  return (_has_bits_[0] & 0x00000002u) != 0;
6444 }
::google::protobuf::uint32 _has_bits_[1]
Definition: account_types.pb.h:1514
bool bgs::protocol::account::v1::Identity::has_process ( ) const
inline
6483  {
6484  return (_has_bits_[0] & 0x00000004u) != 0;
6485 }
::google::protobuf::uint32 _has_bits_[1]
Definition: account_types.pb.h:1514
void bgs::protocol::account::v1::Identity::InitAsDefaultInstance ( )
private
bool bgs::protocol::account::v1::Identity::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::account::v1::Identity::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::account::v1::Identity::MergeFrom ( const Identity from)
bool bgs::protocol::account::v1::Identity::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::account::v1::AccountId * bgs::protocol::account::v1::Identity::mutable_account ( )
inline
6418  {
6419  set_has_account();
6420  if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId;
6421  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.Identity.account)
6422  return account_;
6423 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::account::v1::AccountId * account_
Definition: account_types.pb.h:1516
void set_has_account()
Definition: account_types.pb.h:6404
bgs::protocol::account::v1::GameAccountHandle * bgs::protocol::account::v1::Identity::mutable_game_account ( )
inline
6459  {
6461  if (game_account_ == NULL) game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle;
6462  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.Identity.game_account)
6463  return game_account_;
6464 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::account::v1::GameAccountHandle * game_account_
Definition: account_types.pb.h:1517
void set_has_game_account()
Definition: account_types.pb.h:6445
bgs::protocol::ProcessId * bgs::protocol::account::v1::Identity::mutable_process ( )
inline
6500  {
6501  set_has_process();
6502  if (process_ == NULL) process_ = new ::bgs::protocol::ProcessId;
6503  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.Identity.process)
6504  return process_;
6505 }
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_process()
Definition: account_types.pb.h:6486
::bgs::protocol::ProcessId * process_
Definition: account_types.pb.h:1518
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::account::v1::Identity::mutable_unknown_fields ( )
inline
1439  {
1440  return &_unknown_fields_;
1441  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: account_types.pb.h:1512
Identity* bgs::protocol::account::v1::Identity::New ( ) const
virtual
Identity& bgs::protocol::account::v1::Identity::operator= ( const Identity from)
inline
1430  {
1431  CopyFrom(from);
1432  return *this;
1433  }
void CopyFrom(const ::google::protobuf::Message &from)
const ::bgs::protocol::ProcessId & bgs::protocol::account::v1::Identity::process ( ) const
inline
6496  {
6497  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.Identity.process)
6498  return process_ != NULL ? *process_ : *default_instance_->process_;
6499 }
arena_t NULL
Definition: jemalloc_internal.h:624
static Identity * default_instance_
Definition: account_types.pb.h:1524
::bgs::protocol::ProcessId * process_
Definition: account_types.pb.h:1518
bgs::protocol::account::v1::AccountId * bgs::protocol::account::v1::Identity::release_account ( )
inline
6424  {
6427  account_ = NULL;
6428  return temp;
6429 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::account::v1::AccountId * account_
Definition: account_types.pb.h:1516
void clear_has_account()
Definition: account_types.pb.h:6407
Definition: account_types.pb.h:125
bgs::protocol::account::v1::GameAccountHandle * bgs::protocol::account::v1::Identity::release_game_account ( )
inline
6465  {
6468  game_account_ = NULL;
6469  return temp;
6470 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::account::v1::GameAccountHandle * game_account_
Definition: account_types.pb.h:1517
Definition: account_types.pb.h:771
void clear_has_game_account()
Definition: account_types.pb.h:6448
bgs::protocol::ProcessId * bgs::protocol::account::v1::Identity::release_process ( )
inline
6506  {
6509  process_ = NULL;
6510  return temp;
6511 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_process()
Definition: account_types.pb.h:6489
::bgs::protocol::ProcessId * process_
Definition: account_types.pb.h:1518
Definition: rpc_types.pb.h:214
void bgs::protocol::account::v1::Identity::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::account::v1::Identity::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::account::v1::Identity::set_allocated_account ( ::bgs::protocol::account::v1::AccountId account)
inline
6430  {
6431  delete account_;
6432  account_ = account;
6433  if (account) {
6434  set_has_account();
6435  } else {
6437  }
6438  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.Identity.account)
6439 }
const ::bgs::protocol::account::v1::AccountId & account() const
Definition: account_types.pb.h:6414
::bgs::protocol::account::v1::AccountId * account_
Definition: account_types.pb.h:1516
void clear_has_account()
Definition: account_types.pb.h:6407
void set_has_account()
Definition: account_types.pb.h:6404
void bgs::protocol::account::v1::Identity::set_allocated_game_account ( ::bgs::protocol::account::v1::GameAccountHandle game_account)
inline
6471  {
6472  delete game_account_;
6474  if (game_account) {
6476  } else {
6478  }
6479  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.Identity.game_account)
6480 }
const ::bgs::protocol::account::v1::GameAccountHandle & game_account() const
Definition: account_types.pb.h:6455
::bgs::protocol::account::v1::GameAccountHandle * game_account_
Definition: account_types.pb.h:1517
void set_has_game_account()
Definition: account_types.pb.h:6445
void clear_has_game_account()
Definition: account_types.pb.h:6448
void bgs::protocol::account::v1::Identity::set_allocated_process ( ::bgs::protocol::ProcessId process)
inline
6512  {
6513  delete process_;
6514  process_ = process;
6515  if (process) {
6516  set_has_process();
6517  } else {
6519  }
6520  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.Identity.process)
6521 }
const ::bgs::protocol::ProcessId & process() const
Definition: account_types.pb.h:6496
void set_has_process()
Definition: account_types.pb.h:6486
void clear_has_process()
Definition: account_types.pb.h:6489
::bgs::protocol::ProcessId * process_
Definition: account_types.pb.h:1518
void bgs::protocol::account::v1::Identity::set_has_account ( )
inlineprivate
6404  {
6405  _has_bits_[0] |= 0x00000001u;
6406 }
::google::protobuf::uint32 _has_bits_[1]
Definition: account_types.pb.h:1514
void bgs::protocol::account::v1::Identity::set_has_game_account ( )
inlineprivate
6445  {
6446  _has_bits_[0] |= 0x00000002u;
6447 }
::google::protobuf::uint32 _has_bits_[1]
Definition: account_types.pb.h:1514
void bgs::protocol::account::v1::Identity::set_has_process ( )
inlineprivate
6486  {
6487  _has_bits_[0] |= 0x00000004u;
6488 }
::google::protobuf::uint32 _has_bits_[1]
Definition: account_types.pb.h:1514
void bgs::protocol::account::v1::Identity::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::account::v1::Identity::SharedCtor ( )
private
void bgs::protocol::account::v1::Identity::SharedDtor ( )
private
void bgs::protocol::account::v1::Identity::Swap ( Identity other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::account::v1::Identity::unknown_fields ( ) const
inline
1435  {
1436  return _unknown_fields_;
1437  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: account_types.pb.h:1512

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_account_5ftypes_2eproto ( )
friend
void protobuf_AssignDesc_account_5ftypes_2eproto ( )
friend
void protobuf_ShutdownFile_account_5ftypes_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::account::v1::Identity::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::account::v1::Identity::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::account::v1::Identity::_unknown_fields_
private
::bgs::protocol::account::v1::AccountId* bgs::protocol::account::v1::Identity::account_
private
Identity* bgs::protocol::account::v1::Identity::default_instance_
staticprivate
::bgs::protocol::account::v1::GameAccountHandle* bgs::protocol::account::v1::Identity::game_account_
private
const int bgs::protocol::account::v1::Identity::kAccountFieldNumber = 1
static
const int bgs::protocol::account::v1::Identity::kGameAccountFieldNumber = 2
static
const int bgs::protocol::account::v1::Identity::kProcessFieldNumber = 3
static
::bgs::protocol::ProcessId* bgs::protocol::account::v1::Identity::process_
private

The documentation for this class was generated from the following file: