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

#include <friends_service.pb.h>

Public Member Functions

 SubscribeRequest ()
 
virtual ~SubscribeRequest ()
 
 SubscribeRequest (const SubscribeRequest &from)
 
SubscribeRequestoperator= (const SubscribeRequest &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (SubscribeRequest *other)
 
SubscribeRequestNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const SubscribeRequest &from)
 
void MergeFrom (const SubscribeRequest &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_object_id () const
 
void clear_object_id ()
 
inline::google::protobuf::uint64 object_id () const
 
void set_object_id (::google::protobuf::uint64 value)
 
- 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 SubscribeRequestdefault_instance ()
 

Static Public Attributes

static const int kAgentIdFieldNumber = 1
 
static const int kObjectIdFieldNumber = 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_object_id ()
 
void clear_has_object_id ()
 
void InitAsDefaultInstance ()
 

Private Attributes

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

Static Private Attributes

static SubscribeRequestdefault_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::SubscribeRequest::SubscribeRequest ( )
virtual bgs::protocol::friends::v1::SubscribeRequest::~SubscribeRequest ( )
virtual
bgs::protocol::friends::v1::SubscribeRequest::SubscribeRequest ( const SubscribeRequest from)

Member Function Documentation

const ::bgs::protocol::EntityId & bgs::protocol::friends::v1::SubscribeRequest::agent_id ( ) const
inline
1456  {
1457  // @@protoc_insertion_point(field_get:bgs.protocol.friends.v1.SubscribeRequest.agent_id)
1459 }
arena_t NULL
Definition: jemalloc_internal.h:624
static SubscribeRequest * default_instance_
Definition: friends_service.pb.h:151
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:144

+ Here is the caller graph for this function:

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

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::SubscribeRequest::clear_agent_id ( )
inline
1452  {
1453  if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1455 }
void clear_has_agent_id()
Definition: friends_service.pb.h:1449
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:144

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::SubscribeRequest::clear_has_agent_id ( )
inlineprivate
1449  {
1450  _has_bits_[0] &= ~0x00000001u;
1451 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:142

+ Here is the caller graph for this function:

void bgs::protocol::friends::v1::SubscribeRequest::clear_has_object_id ( )
inlineprivate
1490  {
1491  _has_bits_[0] &= ~0x00000002u;
1492 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:142

+ Here is the caller graph for this function:

void bgs::protocol::friends::v1::SubscribeRequest::clear_object_id ( )
inline
1493  {
1496 }
void clear_has_object_id()
Definition: friends_service.pb.h:1490
#define GOOGLE_ULONGLONG(x)
Definition: common.h:193
::google::protobuf::uint64 object_id_
Definition: friends_service.pb.h:145

+ Here is the call graph for this function:

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

Implements google::protobuf::MessageLite.

105 { return _cached_size_; }
int _cached_size_
Definition: friends_service.pb.h:143
::google::protobuf::Metadata bgs::protocol::friends::v1::SubscribeRequest::GetMetadata ( ) const
virtual
bool bgs::protocol::friends::v1::SubscribeRequest::has_agent_id ( ) const
inline
1443  {
1444  return (_has_bits_[0] & 0x00000001u) != 0;
1445 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:142
bool bgs::protocol::friends::v1::SubscribeRequest::has_object_id ( ) const
inline
1484  {
1485  return (_has_bits_[0] & 0x00000002u) != 0;
1486 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:142
void bgs::protocol::friends::v1::SubscribeRequest::InitAsDefaultInstance ( )
private
bool bgs::protocol::friends::v1::SubscribeRequest::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::SubscribeRequest::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::friends::v1::SubscribeRequest::MergeFrom ( const SubscribeRequest from)
bool bgs::protocol::friends::v1::SubscribeRequest::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::EntityId * bgs::protocol::friends::v1::SubscribeRequest::mutable_agent_id ( )
inline
1460  {
1461  set_has_agent_id();
1462  if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1463  // @@protoc_insertion_point(field_mutable:bgs.protocol.friends.v1.SubscribeRequest.agent_id)
1464  return agent_id_;
1465 }
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_agent_id()
Definition: friends_service.pb.h:1446
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:144

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::friends::v1::SubscribeRequest::mutable_unknown_fields ( )
inline
80  {
81  return &_unknown_fields_;
82  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: friends_service.pb.h:140
SubscribeRequest* bgs::protocol::friends::v1::SubscribeRequest::New ( ) const
virtual
google::protobuf::uint64 bgs::protocol::friends::v1::SubscribeRequest::object_id ( ) const
inline
1497  {
1498  // @@protoc_insertion_point(field_get:bgs.protocol.friends.v1.SubscribeRequest.object_id)
1499  return object_id_;
1500 }
::google::protobuf::uint64 object_id_
Definition: friends_service.pb.h:145
SubscribeRequest& bgs::protocol::friends::v1::SubscribeRequest::operator= ( const SubscribeRequest from)
inline
71  {
72  CopyFrom(from);
73  return *this;
74  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::EntityId * bgs::protocol::friends::v1::SubscribeRequest::release_agent_id ( )
inline
1466  {
1469  agent_id_ = NULL;
1470  return temp;
1471 }
Definition: entity_types.pb.h:45
void clear_has_agent_id()
Definition: friends_service.pb.h:1449
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:144

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::SubscribeRequest::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::friends::v1::SubscribeRequest::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::friends::v1::SubscribeRequest::set_allocated_agent_id ( ::bgs::protocol::EntityId agent_id)
inline
1472  {
1473  delete agent_id_;
1474  agent_id_ = agent_id;
1475  if (agent_id) {
1476  set_has_agent_id();
1477  } else {
1479  }
1480  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.friends.v1.SubscribeRequest.agent_id)
1481 }
const ::bgs::protocol::EntityId & agent_id() const
Definition: friends_service.pb.h:1456
void clear_has_agent_id()
Definition: friends_service.pb.h:1449
void set_has_agent_id()
Definition: friends_service.pb.h:1446
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:144

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::SubscribeRequest::set_has_agent_id ( )
inlineprivate
1446  {
1447  _has_bits_[0] |= 0x00000001u;
1448 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:142

+ Here is the caller graph for this function:

void bgs::protocol::friends::v1::SubscribeRequest::set_has_object_id ( )
inlineprivate
1487  {
1488  _has_bits_[0] |= 0x00000002u;
1489 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:142

+ Here is the caller graph for this function:

void bgs::protocol::friends::v1::SubscribeRequest::set_object_id ( ::google::protobuf::uint64  value)
inline
1501  {
1503  object_id_ = value;
1504  // @@protoc_insertion_point(field_set:bgs.protocol.friends.v1.SubscribeRequest.object_id)
1505 }
void set_has_object_id()
Definition: friends_service.pb.h:1487
const FieldDescriptor value
Definition: descriptor.h:1522
::google::protobuf::uint64 object_id_
Definition: friends_service.pb.h:145

+ Here is the call graph for this function:

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::SubscribeRequest::SharedCtor ( )
private
void bgs::protocol::friends::v1::SubscribeRequest::SharedDtor ( )
private
void bgs::protocol::friends::v1::SubscribeRequest::Swap ( SubscribeRequest other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::friends::v1::SubscribeRequest::unknown_fields ( ) const
inline
76  {
77  return _unknown_fields_;
78  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: friends_service.pb.h:140

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::SubscribeRequest::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::friends::v1::SubscribeRequest::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::friends::v1::SubscribeRequest::_unknown_fields_
private
::bgs::protocol::EntityId* bgs::protocol::friends::v1::SubscribeRequest::agent_id_
private
SubscribeRequest* bgs::protocol::friends::v1::SubscribeRequest::default_instance_
staticprivate
const int bgs::protocol::friends::v1::SubscribeRequest::kAgentIdFieldNumber = 1
static
const int bgs::protocol::friends::v1::SubscribeRequest::kObjectIdFieldNumber = 2
static
::google::protobuf::uint64 bgs::protocol::friends::v1::SubscribeRequest::object_id_
private

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