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

#include <entity_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_id () const
 
void clear_account_id ()
 
const ::bgs::protocol::EntityIdaccount_id () const
 
inline::bgs::protocol::EntityId * mutable_account_id ()
 
inline::bgs::protocol::EntityId * release_account_id ()
 
void set_allocated_account_id (::bgs::protocol::EntityId *account_id)
 
bool has_game_account_id () const
 
void clear_game_account_id ()
 
const ::bgs::protocol::EntityIdgame_account_id () const
 
inline::bgs::protocol::EntityId * mutable_game_account_id ()
 
inline::bgs::protocol::EntityId * release_game_account_id ()
 
void set_allocated_game_account_id (::bgs::protocol::EntityId *game_account_id)
 
- 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 kAccountIdFieldNumber = 1
 
static const int kGameAccountIdFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_account_id ()
 
void clear_has_account_id ()
 
void set_has_game_account_id ()
 
void clear_has_game_account_id ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::EntityIdaccount_id_
 
::bgs::protocol::EntityIdgame_account_id_
 

Static Private Attributes

static Identitydefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_entity_5ftypes_2eproto ()
 
void protobuf_AssignDesc_entity_5ftypes_2eproto ()
 
void protobuf_ShutdownFile_entity_5ftypes_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

const ::bgs::protocol::EntityId & bgs::protocol::Identity::account_id ( ) const
inline
437  {
438  // @@protoc_insertion_point(field_get:bgs.protocol.Identity.account_id)
440 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * account_id_
Definition: entity_types.pb.h:216
static Identity * default_instance_
Definition: entity_types.pb.h:223

+ Here is the caller graph for this function:

int bgs::protocol::Identity::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::Identity::clear_account_id ( )
inline
433  {
434  if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
436 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_account_id()
Definition: entity_types.pb.h:430
::bgs::protocol::EntityId * account_id_
Definition: entity_types.pb.h:216

+ Here is the call graph for this function:

void bgs::protocol::Identity::clear_game_account_id ( )
inline
474  {
475  if (game_account_id_ != NULL) game_account_id_->::bgs::protocol::EntityId::Clear();
477 }
void clear_has_game_account_id()
Definition: entity_types.pb.h:471
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * game_account_id_
Definition: entity_types.pb.h:217

+ Here is the call graph for this function:

void bgs::protocol::Identity::clear_has_account_id ( )
inlineprivate
430  {
431  _has_bits_[0] &= ~0x00000001u;
432 }
::google::protobuf::uint32 _has_bits_[1]
Definition: entity_types.pb.h:214

+ Here is the caller graph for this function:

void bgs::protocol::Identity::clear_has_game_account_id ( )
inlineprivate
471  {
472  _has_bits_[0] &= ~0x00000002u;
473 }
::google::protobuf::uint32 _has_bits_[1]
Definition: entity_types.pb.h:214

+ Here is the caller graph for this function:

void bgs::protocol::Identity::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::Identity::CopyFrom ( const Identity from)
static const Identity& bgs::protocol::Identity::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::Identity::descriptor ( )
static
const ::bgs::protocol::EntityId & bgs::protocol::Identity::game_account_id ( ) const
inline
478  {
479  // @@protoc_insertion_point(field_get:bgs.protocol.Identity.game_account_id)
481 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * game_account_id_
Definition: entity_types.pb.h:217
static Identity * default_instance_
Definition: entity_types.pb.h:223

+ Here is the caller graph for this function:

int bgs::protocol::Identity::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

175 { return _cached_size_; }
int _cached_size_
Definition: entity_types.pb.h:215
::google::protobuf::Metadata bgs::protocol::Identity::GetMetadata ( ) const
virtual
bool bgs::protocol::Identity::has_account_id ( ) const
inline
424  {
425  return (_has_bits_[0] & 0x00000001u) != 0;
426 }
::google::protobuf::uint32 _has_bits_[1]
Definition: entity_types.pb.h:214
bool bgs::protocol::Identity::has_game_account_id ( ) const
inline
465  {
466  return (_has_bits_[0] & 0x00000002u) != 0;
467 }
::google::protobuf::uint32 _has_bits_[1]
Definition: entity_types.pb.h:214
void bgs::protocol::Identity::InitAsDefaultInstance ( )
private
bool bgs::protocol::Identity::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::Identity::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::Identity::MergeFrom ( const Identity from)
bool bgs::protocol::Identity::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::EntityId * bgs::protocol::Identity::mutable_account_id ( )
inline
441  {
443  if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
444  // @@protoc_insertion_point(field_mutable:bgs.protocol.Identity.account_id)
445  return account_id_;
446 }
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_account_id()
Definition: entity_types.pb.h:427
::bgs::protocol::EntityId * account_id_
Definition: entity_types.pb.h:216

+ Here is the call graph for this function:

bgs::protocol::EntityId * bgs::protocol::Identity::mutable_game_account_id ( )
inline
482  {
484  if (game_account_id_ == NULL) game_account_id_ = new ::bgs::protocol::EntityId;
485  // @@protoc_insertion_point(field_mutable:bgs.protocol.Identity.game_account_id)
486  return game_account_id_;
487 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * game_account_id_
Definition: entity_types.pb.h:217
void set_has_game_account_id()
Definition: entity_types.pb.h:468

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::Identity::mutable_unknown_fields ( )
inline
150  {
151  return &_unknown_fields_;
152  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: entity_types.pb.h:212
Identity* bgs::protocol::Identity::New ( ) const
virtual
Identity& bgs::protocol::Identity::operator= ( const Identity from)
inline
141  {
142  CopyFrom(from);
143  return *this;
144  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::EntityId * bgs::protocol::Identity::release_account_id ( )
inline
447  {
450  account_id_ = NULL;
451  return temp;
452 }
Definition: entity_types.pb.h:45
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_account_id()
Definition: entity_types.pb.h:430
::bgs::protocol::EntityId * account_id_
Definition: entity_types.pb.h:216

+ Here is the call graph for this function:

bgs::protocol::EntityId * bgs::protocol::Identity::release_game_account_id ( )
inline
488  {
492  return temp;
493 }
Definition: entity_types.pb.h:45
void clear_has_game_account_id()
Definition: entity_types.pb.h:471
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * game_account_id_
Definition: entity_types.pb.h:217

+ Here is the call graph for this function:

void bgs::protocol::Identity::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::Identity::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::Identity::set_allocated_account_id ( ::bgs::protocol::EntityId account_id)
inline
453  {
454  delete account_id_;
456  if (account_id) {
458  } else {
460  }
461  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Identity.account_id)
462 }
const ::bgs::protocol::EntityId & account_id() const
Definition: entity_types.pb.h:437
void clear_has_account_id()
Definition: entity_types.pb.h:430
void set_has_account_id()
Definition: entity_types.pb.h:427
::bgs::protocol::EntityId * account_id_
Definition: entity_types.pb.h:216

+ Here is the call graph for this function:

void bgs::protocol::Identity::set_allocated_game_account_id ( ::bgs::protocol::EntityId game_account_id)
inline
494  {
495  delete game_account_id_;
497  if (game_account_id) {
499  } else {
501  }
502  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Identity.game_account_id)
503 }
void clear_has_game_account_id()
Definition: entity_types.pb.h:471
::bgs::protocol::EntityId * game_account_id_
Definition: entity_types.pb.h:217
void set_has_game_account_id()
Definition: entity_types.pb.h:468
const ::bgs::protocol::EntityId & game_account_id() const
Definition: entity_types.pb.h:478

+ Here is the call graph for this function:

void bgs::protocol::Identity::set_has_account_id ( )
inlineprivate
427  {
428  _has_bits_[0] |= 0x00000001u;
429 }
::google::protobuf::uint32 _has_bits_[1]
Definition: entity_types.pb.h:214

+ Here is the caller graph for this function:

void bgs::protocol::Identity::set_has_game_account_id ( )
inlineprivate
468  {
469  _has_bits_[0] |= 0x00000002u;
470 }
::google::protobuf::uint32 _has_bits_[1]
Definition: entity_types.pb.h:214

+ Here is the caller graph for this function:

void bgs::protocol::Identity::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::Identity::SharedCtor ( )
private
void bgs::protocol::Identity::SharedDtor ( )
private
void bgs::protocol::Identity::Swap ( Identity other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::Identity::unknown_fields ( ) const
inline
146  {
147  return _unknown_fields_;
148  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: entity_types.pb.h:212

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_entity_5ftypes_2eproto ( )
friend
void protobuf_AssignDesc_entity_5ftypes_2eproto ( )
friend
void protobuf_ShutdownFile_entity_5ftypes_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::Identity::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::Identity::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::Identity::_unknown_fields_
private
::bgs::protocol::EntityId* bgs::protocol::Identity::account_id_
private
Identity* bgs::protocol::Identity::default_instance_
staticprivate
::bgs::protocol::EntityId* bgs::protocol::Identity::game_account_id_
private
const int bgs::protocol::Identity::kAccountIdFieldNumber = 1
static
const int bgs::protocol::Identity::kGameAccountIdFieldNumber = 2
static

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