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

#include <account_types.pb.h>

Public Member Functions

 GameAccountLink ()
 
virtual ~GameAccountLink ()
 
 GameAccountLink (const GameAccountLink &from)
 
GameAccountLinkoperator= (const GameAccountLink &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (GameAccountLink *other)
 
GameAccountLinkNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const GameAccountLink &from)
 
void MergeFrom (const GameAccountLink &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_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_name () const
 
void clear_name ()
 
const ::std::string & name () const
 
void set_name (const ::std::string &value)
 
void set_name (const char *value)
 
void set_name (const char *value, size_t size)
 
inline::std::string * mutable_name ()
 
inline::std::string * release_name ()
 
void set_allocated_name (::std::string *name)
 
- 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 GameAccountLinkdefault_instance ()
 

Static Public Attributes

static const int kGameAccountFieldNumber = 1
 
static const int kNameFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_game_account ()
 
void clear_has_game_account ()
 
void set_has_name ()
 
void clear_has_name ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::account::v1::GameAccountHandlegame_account_
 
::std::string * name_
 

Static Private Attributes

static GameAccountLinkdefault_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::GameAccountLink::GameAccountLink ( )
virtual bgs::protocol::account::v1::GameAccountLink::~GameAccountLink ( )
virtual
bgs::protocol::account::v1::GameAccountLink::GameAccountLink ( const GameAccountLink from)

Member Function Documentation

int bgs::protocol::account::v1::GameAccountLink::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::account::v1::GameAccountLink::clear_game_account ( )
inline
5495  {
5496  if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
5498 }
arena_t NULL
Definition: jemalloc_internal.h:624
void bgs::protocol::account::v1::GameAccountLink::clear_has_game_account ( )
inlineprivate
5492  {
5493  _has_bits_[0] &= ~0x00000001u;
5494 }
void bgs::protocol::account::v1::GameAccountLink::clear_has_name ( )
inlineprivate
5533  {
5534  _has_bits_[0] &= ~0x00000002u;
5535 }
void bgs::protocol::account::v1::GameAccountLink::clear_name ( )
inline
5536  {
5538  name_->clear();
5539  }
5540  clear_has_name();
5541 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79

+ Here is the call graph for this function:

void bgs::protocol::account::v1::GameAccountLink::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::account::v1::GameAccountLink::CopyFrom ( const GameAccountLink from)
static const GameAccountLink& bgs::protocol::account::v1::GameAccountLink::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::account::v1::GameAccountLink::descriptor ( )
static
const ::bgs::protocol::account::v1::GameAccountHandle & bgs::protocol::account::v1::GameAccountLink::game_account ( ) const
inline
5499  {
5500  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountLink.game_account)
5502 }
arena_t NULL
Definition: jemalloc_internal.h:624
int bgs::protocol::account::v1::GameAccountLink::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

911 { return _cached_size_; }
::google::protobuf::Metadata bgs::protocol::account::v1::GameAccountLink::GetMetadata ( ) const
virtual
bool bgs::protocol::account::v1::GameAccountLink::has_game_account ( ) const
inline
5486  {
5487  return (_has_bits_[0] & 0x00000001u) != 0;
5488 }
bool bgs::protocol::account::v1::GameAccountLink::has_name ( ) const
inline
5527  {
5528  return (_has_bits_[0] & 0x00000002u) != 0;
5529 }
void bgs::protocol::account::v1::GameAccountLink::InitAsDefaultInstance ( )
private
bool bgs::protocol::account::v1::GameAccountLink::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::account::v1::GameAccountLink::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::account::v1::GameAccountLink::MergeFrom ( const GameAccountLink from)
bool bgs::protocol::account::v1::GameAccountLink::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::account::v1::GameAccountHandle * bgs::protocol::account::v1::GameAccountLink::mutable_game_account ( )
inline
5503  {
5505  if (game_account_ == NULL) game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle;
5506  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountLink.game_account)
5507  return game_account_;
5508 }
arena_t NULL
Definition: jemalloc_internal.h:624
std::string * bgs::protocol::account::v1::GameAccountLink::mutable_name ( )
inline
5570  {
5571  set_has_name();
5573  name_ = new ::std::string;
5574  }
5575  // @@protoc_insertion_point(field_mutable:bgs.protocol.account.v1.GameAccountLink.name)
5576  return name_;
5577 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::account::v1::GameAccountLink::mutable_unknown_fields ( )
inline
886  {
887  return &_unknown_fields_;
888  }
const ::std::string & bgs::protocol::account::v1::GameAccountLink::name ( ) const
inline
5542  {
5543  // @@protoc_insertion_point(field_get:bgs.protocol.account.v1.GameAccountLink.name)
5544  return *name_;
5545 }
GameAccountLink* bgs::protocol::account::v1::GameAccountLink::New ( ) const
virtual
GameAccountLink& bgs::protocol::account::v1::GameAccountLink::operator= ( const GameAccountLink from)
inline
877  {
878  CopyFrom(from);
879  return *this;
880  }
bgs::protocol::account::v1::GameAccountHandle * bgs::protocol::account::v1::GameAccountLink::release_game_account ( )
inline
5509  {
5512  game_account_ = NULL;
5513  return temp;
5514 }
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: account_types.pb.h:771
std::string * bgs::protocol::account::v1::GameAccountLink::release_name ( )
inline
5578  {
5579  clear_has_name();
5581  return NULL;
5582  } else {
5583  ::std::string* temp = name_;
5584  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5585  return temp;
5586  }
5587 }
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79

+ Here is the call graph for this function:

void bgs::protocol::account::v1::GameAccountLink::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::account::v1::GameAccountLink::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::account::v1::GameAccountLink::set_allocated_game_account ( ::bgs::protocol::account::v1::GameAccountHandle game_account)
inline
5515  {
5516  delete game_account_;
5518  if (game_account) {
5520  } else {
5522  }
5523  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountLink.game_account)
5524 }
void bgs::protocol::account::v1::GameAccountLink::set_allocated_name ( ::std::string *  name)
inline
5588  {
5590  delete name_;
5591  }
5592  if (name) {
5593  set_has_name();
5594  name_ = name;
5595  } else {
5596  clear_has_name();
5597  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5598  }
5599  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.account.v1.GameAccountLink.name)
5600 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79

+ Here is the call graph for this function:

void bgs::protocol::account::v1::GameAccountLink::set_has_game_account ( )
inlineprivate
5489  {
5490  _has_bits_[0] |= 0x00000001u;
5491 }
void bgs::protocol::account::v1::GameAccountLink::set_has_name ( )
inlineprivate
5530  {
5531  _has_bits_[0] |= 0x00000002u;
5532 }
void bgs::protocol::account::v1::GameAccountLink::set_name ( const ::std::string &  value)
inline
5546  {
5547  set_has_name();
5549  name_ = new ::std::string;
5550  }
5551  name_->assign(value);
5552  // @@protoc_insertion_point(field_set:bgs.protocol.account.v1.GameAccountLink.name)
5553 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::account::v1::GameAccountLink::set_name ( const char *  value)
inline
5554  {
5555  set_has_name();
5557  name_ = new ::std::string;
5558  }
5559  name_->assign(value);
5560  // @@protoc_insertion_point(field_set_char:bgs.protocol.account.v1.GameAccountLink.name)
5561 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::account::v1::GameAccountLink::set_name ( const char *  value,
size_t  size 
)
inline
5562  {
5563  set_has_name();
5565  name_ = new ::std::string;
5566  }
5567  name_->assign(reinterpret_cast<const char*>(value), size);
5568  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.account.v1.GameAccountLink.name)
5569 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::account::v1::GameAccountLink::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::account::v1::GameAccountLink::SharedCtor ( )
private
void bgs::protocol::account::v1::GameAccountLink::SharedDtor ( )
private
void bgs::protocol::account::v1::GameAccountLink::Swap ( GameAccountLink other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::account::v1::GameAccountLink::unknown_fields ( ) const
inline
882  {
883  return _unknown_fields_;
884  }

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::GameAccountLink::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::account::v1::GameAccountLink::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::account::v1::GameAccountLink::_unknown_fields_
private
GameAccountLink* bgs::protocol::account::v1::GameAccountLink::default_instance_
staticprivate
::bgs::protocol::account::v1::GameAccountHandle* bgs::protocol::account::v1::GameAccountLink::game_account_
private
const int bgs::protocol::account::v1::GameAccountLink::kGameAccountFieldNumber = 1
static
const int bgs::protocol::account::v1::GameAccountLink::kNameFieldNumber = 2
static
::std::string* bgs::protocol::account::v1::GameAccountLink::name_
private

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