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

#include <friends_service.pb.h>

Public Member Functions

 GenericFriendRequest ()
 
virtual ~GenericFriendRequest ()
 
 GenericFriendRequest (const GenericFriendRequest &from)
 
GenericFriendRequestoperator= (const GenericFriendRequest &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (GenericFriendRequest *other)
 
GenericFriendRequestNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const GenericFriendRequest &from)
 
void MergeFrom (const GenericFriendRequest &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_agent_id () const
 
void clear_agent_id ()
 
const ::bgs::protocol::EntityIdagent_id () const
 
inline::bgs::protocol::EntityId * mutable_agent_id ()
 
inline::bgs::protocol::EntityId * release_agent_id ()
 
void set_allocated_agent_id (::bgs::protocol::EntityId *agent_id)
 
bool has_target_id () const
 
void clear_target_id ()
 
const ::bgs::protocol::EntityIdtarget_id () const
 
inline::bgs::protocol::EntityId * mutable_target_id ()
 
inline::bgs::protocol::EntityId * release_target_id ()
 
void set_allocated_target_id (::bgs::protocol::EntityId *target_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 GenericFriendRequestdefault_instance ()
 

Static Public Attributes

static const int kAgentIdFieldNumber = 1
 
static const int kTargetIdFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_agent_id ()
 
void clear_has_agent_id ()
 
void set_has_target_id ()
 
void clear_has_target_id ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::EntityIdagent_id_
 
::bgs::protocol::EntityIdtarget_id_
 

Static Private Attributes

static GenericFriendRequestdefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_friends_5fservice_2eproto ()
 
void protobuf_AssignDesc_friends_5fservice_2eproto ()
 
void protobuf_ShutdownFile_friends_5fservice_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

bgs::protocol::friends::v1::GenericFriendRequest::GenericFriendRequest ( )
virtual bgs::protocol::friends::v1::GenericFriendRequest::~GenericFriendRequest ( )
virtual
bgs::protocol::friends::v1::GenericFriendRequest::GenericFriendRequest ( const GenericFriendRequest from)

Member Function Documentation

const ::bgs::protocol::EntityId & bgs::protocol::friends::v1::GenericFriendRequest::agent_id ( ) const
inline
1790  {
1791  // @@protoc_insertion_point(field_get:bgs.protocol.friends.v1.GenericFriendRequest.agent_id)
1793 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:479
static GenericFriendRequest * default_instance_
Definition: friends_service.pb.h:486

+ Here is the caller graph for this function:

int bgs::protocol::friends::v1::GenericFriendRequest::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::GenericFriendRequest::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::GenericFriendRequest::clear_agent_id ( )
inline
1786  {
1787  if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1789 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_agent_id()
Definition: friends_service.pb.h:1783
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:479

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::GenericFriendRequest::clear_has_agent_id ( )
inlineprivate
1783  {
1784  _has_bits_[0] &= ~0x00000001u;
1785 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:477

+ Here is the caller graph for this function:

void bgs::protocol::friends::v1::GenericFriendRequest::clear_has_target_id ( )
inlineprivate
1824  {
1825  _has_bits_[0] &= ~0x00000002u;
1826 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:477

+ Here is the caller graph for this function:

void bgs::protocol::friends::v1::GenericFriendRequest::clear_target_id ( )
inline
1827  {
1828  if (target_id_ != NULL) target_id_->::bgs::protocol::EntityId::Clear();
1830 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * target_id_
Definition: friends_service.pb.h:480
void clear_has_target_id()
Definition: friends_service.pb.h:1824

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::GenericFriendRequest::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::friends::v1::GenericFriendRequest::CopyFrom ( const GenericFriendRequest from)
static const GenericFriendRequest& bgs::protocol::friends::v1::GenericFriendRequest::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::friends::v1::GenericFriendRequest::descriptor ( )
static
int bgs::protocol::friends::v1::GenericFriendRequest::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

438 { return _cached_size_; }
int _cached_size_
Definition: friends_service.pb.h:478
::google::protobuf::Metadata bgs::protocol::friends::v1::GenericFriendRequest::GetMetadata ( ) const
virtual
bool bgs::protocol::friends::v1::GenericFriendRequest::has_agent_id ( ) const
inline
1777  {
1778  return (_has_bits_[0] & 0x00000001u) != 0;
1779 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:477
bool bgs::protocol::friends::v1::GenericFriendRequest::has_target_id ( ) const
inline
1818  {
1819  return (_has_bits_[0] & 0x00000002u) != 0;
1820 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:477
void bgs::protocol::friends::v1::GenericFriendRequest::InitAsDefaultInstance ( )
private
bool bgs::protocol::friends::v1::GenericFriendRequest::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::GenericFriendRequest::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::friends::v1::GenericFriendRequest::MergeFrom ( const GenericFriendRequest from)
bool bgs::protocol::friends::v1::GenericFriendRequest::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::EntityId * bgs::protocol::friends::v1::GenericFriendRequest::mutable_agent_id ( )
inline
1794  {
1795  set_has_agent_id();
1796  if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1797  // @@protoc_insertion_point(field_mutable:bgs.protocol.friends.v1.GenericFriendRequest.agent_id)
1798  return agent_id_;
1799 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:479
void set_has_agent_id()
Definition: friends_service.pb.h:1780

+ Here is the call graph for this function:

bgs::protocol::EntityId * bgs::protocol::friends::v1::GenericFriendRequest::mutable_target_id ( )
inline
1835  {
1837  if (target_id_ == NULL) target_id_ = new ::bgs::protocol::EntityId;
1838  // @@protoc_insertion_point(field_mutable:bgs.protocol.friends.v1.GenericFriendRequest.target_id)
1839  return target_id_;
1840 }
void set_has_target_id()
Definition: friends_service.pb.h:1821
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * target_id_
Definition: friends_service.pb.h:480

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::friends::v1::GenericFriendRequest::mutable_unknown_fields ( )
inline
413  {
414  return &_unknown_fields_;
415  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: friends_service.pb.h:475
GenericFriendRequest* bgs::protocol::friends::v1::GenericFriendRequest::New ( ) const
virtual
GenericFriendRequest& bgs::protocol::friends::v1::GenericFriendRequest::operator= ( const GenericFriendRequest from)
inline
404  {
405  CopyFrom(from);
406  return *this;
407  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::EntityId * bgs::protocol::friends::v1::GenericFriendRequest::release_agent_id ( )
inline
1800  {
1803  agent_id_ = NULL;
1804  return temp;
1805 }
Definition: entity_types.pb.h:45
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_agent_id()
Definition: friends_service.pb.h:1783
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:479

+ Here is the call graph for this function:

bgs::protocol::EntityId * bgs::protocol::friends::v1::GenericFriendRequest::release_target_id ( )
inline
1841  {
1844  target_id_ = NULL;
1845  return temp;
1846 }
Definition: entity_types.pb.h:45
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * target_id_
Definition: friends_service.pb.h:480
void clear_has_target_id()
Definition: friends_service.pb.h:1824

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::GenericFriendRequest::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::friends::v1::GenericFriendRequest::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::friends::v1::GenericFriendRequest::set_allocated_agent_id ( ::bgs::protocol::EntityId agent_id)
inline
1806  {
1807  delete agent_id_;
1808  agent_id_ = agent_id;
1809  if (agent_id) {
1810  set_has_agent_id();
1811  } else {
1813  }
1814  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.friends.v1.GenericFriendRequest.agent_id)
1815 }
void clear_has_agent_id()
Definition: friends_service.pb.h:1783
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:479
const ::bgs::protocol::EntityId & agent_id() const
Definition: friends_service.pb.h:1790
void set_has_agent_id()
Definition: friends_service.pb.h:1780

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::GenericFriendRequest::set_allocated_target_id ( ::bgs::protocol::EntityId target_id)
inline
1847  {
1848  delete target_id_;
1850  if (target_id) {
1852  } else {
1854  }
1855  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.friends.v1.GenericFriendRequest.target_id)
1856 }
void set_has_target_id()
Definition: friends_service.pb.h:1821
::bgs::protocol::EntityId * target_id_
Definition: friends_service.pb.h:480
void clear_has_target_id()
Definition: friends_service.pb.h:1824
const ::bgs::protocol::EntityId & target_id() const
Definition: friends_service.pb.h:1831

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::GenericFriendRequest::set_has_agent_id ( )
inlineprivate
1780  {
1781  _has_bits_[0] |= 0x00000001u;
1782 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:477

+ Here is the caller graph for this function:

void bgs::protocol::friends::v1::GenericFriendRequest::set_has_target_id ( )
inlineprivate
1821  {
1822  _has_bits_[0] |= 0x00000002u;
1823 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:477

+ Here is the caller graph for this function:

void bgs::protocol::friends::v1::GenericFriendRequest::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::GenericFriendRequest::SharedCtor ( )
private
void bgs::protocol::friends::v1::GenericFriendRequest::SharedDtor ( )
private
void bgs::protocol::friends::v1::GenericFriendRequest::Swap ( GenericFriendRequest other)
const ::bgs::protocol::EntityId & bgs::protocol::friends::v1::GenericFriendRequest::target_id ( ) const
inline
1831  {
1832  // @@protoc_insertion_point(field_get:bgs.protocol.friends.v1.GenericFriendRequest.target_id)
1834 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * target_id_
Definition: friends_service.pb.h:480
static GenericFriendRequest * default_instance_
Definition: friends_service.pb.h:486

+ Here is the caller graph for this function:

const ::google::protobuf::UnknownFieldSet& bgs::protocol::friends::v1::GenericFriendRequest::unknown_fields ( ) const
inline
409  {
410  return _unknown_fields_;
411  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: friends_service.pb.h:475

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_friends_5fservice_2eproto ( )
friend
void protobuf_AssignDesc_friends_5fservice_2eproto ( )
friend
void protobuf_ShutdownFile_friends_5fservice_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::friends::v1::GenericFriendRequest::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::friends::v1::GenericFriendRequest::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::friends::v1::GenericFriendRequest::_unknown_fields_
private
::bgs::protocol::EntityId* bgs::protocol::friends::v1::GenericFriendRequest::agent_id_
private
GenericFriendRequest* bgs::protocol::friends::v1::GenericFriendRequest::default_instance_
staticprivate
const int bgs::protocol::friends::v1::GenericFriendRequest::kAgentIdFieldNumber = 1
static
const int bgs::protocol::friends::v1::GenericFriendRequest::kTargetIdFieldNumber = 2
static
::bgs::protocol::EntityId* bgs::protocol::friends::v1::GenericFriendRequest::target_id_
private

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