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

#include <presence_service.pb.h>

Public Member Functions

 OwnershipRequest ()
 
virtual ~OwnershipRequest ()
 
 OwnershipRequest (const OwnershipRequest &from)
 
OwnershipRequestoperator= (const OwnershipRequest &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (OwnershipRequest *other)
 
OwnershipRequestNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const OwnershipRequest &from)
 
void MergeFrom (const OwnershipRequest &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_entity_id () const
 
void clear_entity_id ()
 
const ::bgs::protocol::EntityIdentity_id () const
 
inline::bgs::protocol::EntityId * mutable_entity_id ()
 
inline::bgs::protocol::EntityId * release_entity_id ()
 
void set_allocated_entity_id (::bgs::protocol::EntityId *entity_id)
 
bool has_release_ownership () const
 
void clear_release_ownership ()
 
bool release_ownership () const
 
void set_release_ownership (bool 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 OwnershipRequestdefault_instance ()
 

Static Public Attributes

static const int kEntityIdFieldNumber = 1
 
static const int kReleaseOwnershipFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_entity_id ()
 
void clear_has_entity_id ()
 
void set_has_release_ownership ()
 
void clear_has_release_ownership ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::EntityIdentity_id_
 
bool release_ownership_
 

Static Private Attributes

static OwnershipRequestdefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_presence_5fservice_2eproto ()
 
void protobuf_AssignDesc_presence_5fservice_2eproto ()
 
void protobuf_ShutdownFile_presence_5fservice_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

bgs::protocol::presence::v1::OwnershipRequest::OwnershipRequest ( )
virtual bgs::protocol::presence::v1::OwnershipRequest::~OwnershipRequest ( )
virtual
bgs::protocol::presence::v1::OwnershipRequest::OwnershipRequest ( const OwnershipRequest from)

Member Function Documentation

int bgs::protocol::presence::v1::OwnershipRequest::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::OwnershipRequest::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::OwnershipRequest::clear_entity_id ( )
inline
1425  {
1426  if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
1428 }
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:750
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_entity_id()
Definition: presence_service.pb.h:1422
void bgs::protocol::presence::v1::OwnershipRequest::clear_has_entity_id ( )
inlineprivate
1422  {
1423  _has_bits_[0] &= ~0x00000001u;
1424 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:748
void bgs::protocol::presence::v1::OwnershipRequest::clear_has_release_ownership ( )
inlineprivate
1463  {
1464  _has_bits_[0] &= ~0x00000002u;
1465 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:748
void bgs::protocol::presence::v1::OwnershipRequest::clear_release_ownership ( )
inline
1466  {
1467  release_ownership_ = false;
1469 }
bool release_ownership_
Definition: presence_service.pb.h:751
void clear_has_release_ownership()
Definition: presence_service.pb.h:1463
void bgs::protocol::presence::v1::OwnershipRequest::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::presence::v1::OwnershipRequest::CopyFrom ( const OwnershipRequest from)
static const OwnershipRequest& bgs::protocol::presence::v1::OwnershipRequest::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::presence::v1::OwnershipRequest::descriptor ( )
static
const ::bgs::protocol::EntityId & bgs::protocol::presence::v1::OwnershipRequest::entity_id ( ) const
inline
1429  {
1430  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.OwnershipRequest.entity_id)
1432 }
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:750
arena_t NULL
Definition: jemalloc_internal.h:624
static OwnershipRequest * default_instance_
Definition: presence_service.pb.h:757
int bgs::protocol::presence::v1::OwnershipRequest::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

711 { return _cached_size_; }
int _cached_size_
Definition: presence_service.pb.h:749
::google::protobuf::Metadata bgs::protocol::presence::v1::OwnershipRequest::GetMetadata ( ) const
virtual
bool bgs::protocol::presence::v1::OwnershipRequest::has_entity_id ( ) const
inline
1416  {
1417  return (_has_bits_[0] & 0x00000001u) != 0;
1418 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:748
bool bgs::protocol::presence::v1::OwnershipRequest::has_release_ownership ( ) const
inline
1457  {
1458  return (_has_bits_[0] & 0x00000002u) != 0;
1459 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:748
void bgs::protocol::presence::v1::OwnershipRequest::InitAsDefaultInstance ( )
private
bool bgs::protocol::presence::v1::OwnershipRequest::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::OwnershipRequest::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::presence::v1::OwnershipRequest::MergeFrom ( const OwnershipRequest from)
bool bgs::protocol::presence::v1::OwnershipRequest::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::EntityId * bgs::protocol::presence::v1::OwnershipRequest::mutable_entity_id ( )
inline
1433  {
1435  if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
1436  // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.OwnershipRequest.entity_id)
1437  return entity_id_;
1438 }
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:750
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_entity_id()
Definition: presence_service.pb.h:1419
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::presence::v1::OwnershipRequest::mutable_unknown_fields ( )
inline
686  {
687  return &_unknown_fields_;
688  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_service.pb.h:746
OwnershipRequest* bgs::protocol::presence::v1::OwnershipRequest::New ( ) const
virtual
OwnershipRequest& bgs::protocol::presence::v1::OwnershipRequest::operator= ( const OwnershipRequest from)
inline
677  {
678  CopyFrom(from);
679  return *this;
680  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::EntityId * bgs::protocol::presence::v1::OwnershipRequest::release_entity_id ( )
inline
1439  {
1442  entity_id_ = NULL;
1443  return temp;
1444 }
Definition: entity_types.pb.h:45
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:750
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_entity_id()
Definition: presence_service.pb.h:1422
bool bgs::protocol::presence::v1::OwnershipRequest::release_ownership ( ) const
inline
1470  {
1471  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.OwnershipRequest.release_ownership)
1472  return release_ownership_;
1473 }
bool release_ownership_
Definition: presence_service.pb.h:751
void bgs::protocol::presence::v1::OwnershipRequest::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::presence::v1::OwnershipRequest::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::presence::v1::OwnershipRequest::set_allocated_entity_id ( ::bgs::protocol::EntityId entity_id)
inline
1445  {
1446  delete entity_id_;
1448  if (entity_id) {
1450  } else {
1452  }
1453  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.OwnershipRequest.entity_id)
1454 }
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:750
const ::bgs::protocol::EntityId & entity_id() const
Definition: presence_service.pb.h:1429
void clear_has_entity_id()
Definition: presence_service.pb.h:1422
void set_has_entity_id()
Definition: presence_service.pb.h:1419
void bgs::protocol::presence::v1::OwnershipRequest::set_has_entity_id ( )
inlineprivate
1419  {
1420  _has_bits_[0] |= 0x00000001u;
1421 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:748
void bgs::protocol::presence::v1::OwnershipRequest::set_has_release_ownership ( )
inlineprivate
1460  {
1461  _has_bits_[0] |= 0x00000002u;
1462 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:748
void bgs::protocol::presence::v1::OwnershipRequest::set_release_ownership ( bool  value)
inline
1474  {
1477  // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.OwnershipRequest.release_ownership)
1478 }
bool release_ownership_
Definition: presence_service.pb.h:751
void set_has_release_ownership()
Definition: presence_service.pb.h:1460
const FieldDescriptor value
Definition: descriptor.h:1522
void bgs::protocol::presence::v1::OwnershipRequest::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::OwnershipRequest::SharedCtor ( )
private
void bgs::protocol::presence::v1::OwnershipRequest::SharedDtor ( )
private
void bgs::protocol::presence::v1::OwnershipRequest::Swap ( OwnershipRequest other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::presence::v1::OwnershipRequest::unknown_fields ( ) const
inline
682  {
683  return _unknown_fields_;
684  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_service.pb.h:746

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_presence_5fservice_2eproto ( )
friend
void protobuf_AssignDesc_presence_5fservice_2eproto ( )
friend
void protobuf_ShutdownFile_presence_5fservice_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::presence::v1::OwnershipRequest::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::presence::v1::OwnershipRequest::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::presence::v1::OwnershipRequest::_unknown_fields_
private
OwnershipRequest* bgs::protocol::presence::v1::OwnershipRequest::default_instance_
staticprivate
::bgs::protocol::EntityId* bgs::protocol::presence::v1::OwnershipRequest::entity_id_
private
const int bgs::protocol::presence::v1::OwnershipRequest::kEntityIdFieldNumber = 1
static
const int bgs::protocol::presence::v1::OwnershipRequest::kReleaseOwnershipFieldNumber = 2
static
bool bgs::protocol::presence::v1::OwnershipRequest::release_ownership_
private

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