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

#include <presence_types.pb.h>

Public Member Functions

 ChannelState ()
 
virtual ~ChannelState ()
 
 ChannelState (const ChannelState &from)
 
ChannelStateoperator= (const ChannelState &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (ChannelState *other)
 
ChannelStateNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const ChannelState &from)
 
void MergeFrom (const ChannelState &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)
 
int field_operation_size () const
 
void clear_field_operation ()
 
const
::bgs::protocol::presence::v1::FieldOperation
field_operation (int index) const
 
inline::bgs::protocol::presence::v1::FieldOperation * mutable_field_operation (int index)
 
inline::bgs::protocol::presence::v1::FieldOperation * add_field_operation ()
 
const
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::presence::v1::FieldOperation > & 
field_operation () const
 
inline::google::protobuf::RepeatedPtrField
< ::bgs::protocol::presence::v1::FieldOperation > * 
mutable_field_operation ()
 
bool has_healing () const
 
void clear_healing ()
 
bool healing () const
 
void set_healing (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 ChannelStatedefault_instance ()
 

Public Attributes

static::google::protobuf::internal::ExtensionIdentifier
< ::bgs::protocol::channel::v1::ChannelState,::google::protobuf::internal::MessageTypeTraits
< ::bgs::protocol::presence::v1::ChannelState >
, 11, false
presence
 

Static Public Attributes

static const int kEntityIdFieldNumber = 1
 
static const int kFieldOperationFieldNumber = 2
 
static const int kHealingFieldNumber = 3
 
static const int kPresenceFieldNumber = 101
 

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_healing ()
 
void clear_has_healing ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::EntityIdentity_id_
 
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::presence::v1::FieldOperation
field_operation_
 
bool healing_
 

Static Private Attributes

static ChannelStatedefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_presence_5ftypes_2eproto ()
 
void protobuf_AssignDesc_presence_5ftypes_2eproto ()
 
void protobuf_ShutdownFile_presence_5ftypes_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

bgs::protocol::presence::v1::FieldOperation * bgs::protocol::presence::v1::ChannelState::add_field_operation ( )
inline
991  {
992  // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.ChannelState.field_operation)
993  return field_operation_.Add();
994 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_types.pb.h:584
int bgs::protocol::presence::v1::ChannelState::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::ChannelState::clear_entity_id ( )
inline
945  {
946  if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
948 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_entity_id()
Definition: presence_types.pb.h:942
::bgs::protocol::EntityId * entity_id_
Definition: presence_types.pb.h:583

+ Here is the call graph for this function:

void bgs::protocol::presence::v1::ChannelState::clear_field_operation ( )
inline
980  {
981  field_operation_.Clear();
982 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_types.pb.h:584
void bgs::protocol::presence::v1::ChannelState::clear_has_entity_id ( )
inlineprivate
942  {
943  _has_bits_[0] &= ~0x00000001u;
944 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:581

+ Here is the caller graph for this function:

void bgs::protocol::presence::v1::ChannelState::clear_has_healing ( )
inlineprivate
1013  {
1014  _has_bits_[0] &= ~0x00000004u;
1015 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:581

+ Here is the caller graph for this function:

void bgs::protocol::presence::v1::ChannelState::clear_healing ( )
inline
1016  {
1017  healing_ = false;
1019 }
void clear_has_healing()
Definition: presence_types.pb.h:1013
bool healing_
Definition: presence_types.pb.h:585

+ Here is the call graph for this function:

void bgs::protocol::presence::v1::ChannelState::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::presence::v1::ChannelState::CopyFrom ( const ChannelState from)
static const ChannelState& bgs::protocol::presence::v1::ChannelState::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::presence::v1::ChannelState::descriptor ( )
static
const ::bgs::protocol::EntityId & bgs::protocol::presence::v1::ChannelState::entity_id ( ) const
inline
949  {
950  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.ChannelState.entity_id)
952 }
arena_t NULL
Definition: jemalloc_internal.h:624
static ChannelState * default_instance_
Definition: presence_types.pb.h:591
::bgs::protocol::EntityId * entity_id_
Definition: presence_types.pb.h:583

+ Here is the caller graph for this function:

const ::bgs::protocol::presence::v1::FieldOperation & bgs::protocol::presence::v1::ChannelState::field_operation ( int  index) const
inline
983  {
984  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.ChannelState.field_operation)
985  return field_operation_.Get(index);
986 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_types.pb.h:584
const ::google::protobuf::RepeatedPtrField<::bgs::protocol::presence::v1::FieldOperation > & bgs::protocol::presence::v1::ChannelState::field_operation ( ) const
inline
996  {
997  // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.ChannelState.field_operation)
998  return field_operation_;
999 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_types.pb.h:584
int bgs::protocol::presence::v1::ChannelState::field_operation_size ( ) const
inline
977  {
978  return field_operation_.size();
979 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_types.pb.h:584
int bgs::protocol::presence::v1::ChannelState::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

528 { return _cached_size_; }
int _cached_size_
Definition: presence_types.pb.h:582
::google::protobuf::Metadata bgs::protocol::presence::v1::ChannelState::GetMetadata ( ) const
virtual
bool bgs::protocol::presence::v1::ChannelState::has_entity_id ( ) const
inline
936  {
937  return (_has_bits_[0] & 0x00000001u) != 0;
938 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:581
bool bgs::protocol::presence::v1::ChannelState::has_healing ( ) const
inline
1007  {
1008  return (_has_bits_[0] & 0x00000004u) != 0;
1009 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:581
bool bgs::protocol::presence::v1::ChannelState::healing ( ) const
inline
1020  {
1021  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.ChannelState.healing)
1022  return healing_;
1023 }
bool healing_
Definition: presence_types.pb.h:585
void bgs::protocol::presence::v1::ChannelState::InitAsDefaultInstance ( )
private
bool bgs::protocol::presence::v1::ChannelState::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::ChannelState::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::presence::v1::ChannelState::MergeFrom ( const ChannelState from)
bool bgs::protocol::presence::v1::ChannelState::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::EntityId * bgs::protocol::presence::v1::ChannelState::mutable_entity_id ( )
inline
953  {
955  if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
956  // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.ChannelState.entity_id)
957  return entity_id_;
958 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * entity_id_
Definition: presence_types.pb.h:583
void set_has_entity_id()
Definition: presence_types.pb.h:939

+ Here is the call graph for this function:

bgs::protocol::presence::v1::FieldOperation * bgs::protocol::presence::v1::ChannelState::mutable_field_operation ( int  index)
inline
987  {
988  // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.ChannelState.field_operation)
989  return field_operation_.Mutable(index);
990 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_types.pb.h:584
google::protobuf::RepeatedPtrField<::bgs::protocol::presence::v1::FieldOperation > * bgs::protocol::presence::v1::ChannelState::mutable_field_operation ( )
inline
1001  {
1002  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.ChannelState.field_operation)
1003  return &field_operation_;
1004 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_types.pb.h:584
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::presence::v1::ChannelState::mutable_unknown_fields ( )
inline
503  {
504  return &_unknown_fields_;
505  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_types.pb.h:579
ChannelState* bgs::protocol::presence::v1::ChannelState::New ( ) const
virtual
ChannelState& bgs::protocol::presence::v1::ChannelState::operator= ( const ChannelState from)
inline
494  {
495  CopyFrom(from);
496  return *this;
497  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::EntityId * bgs::protocol::presence::v1::ChannelState::release_entity_id ( )
inline
959  {
962  entity_id_ = NULL;
963  return temp;
964 }
Definition: entity_types.pb.h:45
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_entity_id()
Definition: presence_types.pb.h:942
::bgs::protocol::EntityId * entity_id_
Definition: presence_types.pb.h:583

+ Here is the call graph for this function:

void bgs::protocol::presence::v1::ChannelState::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::presence::v1::ChannelState::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::presence::v1::ChannelState::set_allocated_entity_id ( ::bgs::protocol::EntityId entity_id)
inline
965  {
966  delete entity_id_;
968  if (entity_id) {
970  } else {
972  }
973  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.ChannelState.entity_id)
974 }
const ::bgs::protocol::EntityId & entity_id() const
Definition: presence_types.pb.h:949
void clear_has_entity_id()
Definition: presence_types.pb.h:942
::bgs::protocol::EntityId * entity_id_
Definition: presence_types.pb.h:583
void set_has_entity_id()
Definition: presence_types.pb.h:939

+ Here is the call graph for this function:

void bgs::protocol::presence::v1::ChannelState::set_has_entity_id ( )
inlineprivate
939  {
940  _has_bits_[0] |= 0x00000001u;
941 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:581

+ Here is the caller graph for this function:

void bgs::protocol::presence::v1::ChannelState::set_has_healing ( )
inlineprivate
1010  {
1011  _has_bits_[0] |= 0x00000004u;
1012 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:581

+ Here is the caller graph for this function:

void bgs::protocol::presence::v1::ChannelState::set_healing ( bool  value)
inline
1024  {
1025  set_has_healing();
1026  healing_ = value;
1027  // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.ChannelState.healing)
1028 }
bool healing_
Definition: presence_types.pb.h:585
void set_has_healing()
Definition: presence_types.pb.h:1010
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::presence::v1::ChannelState::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::ChannelState::SharedCtor ( )
private
void bgs::protocol::presence::v1::ChannelState::SharedDtor ( )
private
void bgs::protocol::presence::v1::ChannelState::Swap ( ChannelState other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::presence::v1::ChannelState::unknown_fields ( ) const
inline
499  {
500  return _unknown_fields_;
501  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_types.pb.h:579

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_presence_5ftypes_2eproto ( )
friend
void protobuf_AssignDesc_presence_5ftypes_2eproto ( )
friend
void protobuf_ShutdownFile_presence_5ftypes_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::presence::v1::ChannelState::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::presence::v1::ChannelState::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::presence::v1::ChannelState::_unknown_fields_
private
ChannelState* bgs::protocol::presence::v1::ChannelState::default_instance_
staticprivate
::bgs::protocol::EntityId* bgs::protocol::presence::v1::ChannelState::entity_id_
private
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > bgs::protocol::presence::v1::ChannelState::field_operation_
private
bool bgs::protocol::presence::v1::ChannelState::healing_
private
const int bgs::protocol::presence::v1::ChannelState::kEntityIdFieldNumber = 1
static
const int bgs::protocol::presence::v1::ChannelState::kFieldOperationFieldNumber = 2
static
const int bgs::protocol::presence::v1::ChannelState::kHealingFieldNumber = 3
static
const int bgs::protocol::presence::v1::ChannelState::kPresenceFieldNumber = 101
static

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