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

#include <friends_types.pb.h>

Public Member Functions

 FriendInvitation ()
 
virtual ~FriendInvitation ()
 
 FriendInvitation (const FriendInvitation &from)
 
FriendInvitationoperator= (const FriendInvitation &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (FriendInvitation *other)
 
FriendInvitationNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const FriendInvitation &from)
 
void MergeFrom (const FriendInvitation &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_first_received () const
 
void clear_first_received ()
 
bool first_received () const
 
void set_first_received (bool value)
 
int role_size () const
 
void clear_role ()
 
inline::google::protobuf::uint32 role (int index) const
 
void set_role (int index,::google::protobuf::uint32 value)
 
void add_role (::google::protobuf::uint32 value)
 
const
::google::protobuf::RepeatedField
< ::google::protobuf::uint32 > & 
role () const
 
inline::google::protobuf::RepeatedField
< ::google::protobuf::uint32 > * 
mutable_role ()
 
- 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 FriendInvitationdefault_instance ()
 

Public Attributes

static::google::protobuf::internal::ExtensionIdentifier
< ::bgs::protocol::Invitation,::google::protobuf::internal::MessageTypeTraits
< ::bgs::protocol::friends::v1::FriendInvitation >
, 11, false
friend_invitation
 

Static Public Attributes

static const int kFirstReceivedFieldNumber = 1
 
static const int kRoleFieldNumber = 2
 
static const int kFriendInvitationFieldNumber = 103
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_first_received ()
 
void clear_has_first_received ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::google::protobuf::RepeatedField
< ::google::protobuf::uint32
role_
 
int _role_cached_byte_size_
 
bool first_received_
 

Static Private Attributes

static FriendInvitationdefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_friends_5ftypes_2eproto ()
 
void protobuf_AssignDesc_friends_5ftypes_2eproto ()
 
void protobuf_ShutdownFile_friends_5ftypes_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

void bgs::protocol::friends::v1::FriendInvitation::add_role ( ::google::protobuf::uint32  value)
inline
832  {
833  role_.Add(value);
834  // @@protoc_insertion_point(field_add:bgs.protocol.friends.v1.FriendInvitation.role)
835 }
void Add(const Element &value)
Definition: repeated_field.h:684
const FieldDescriptor value
Definition: descriptor.h:1522
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_types.pb.h:292
int bgs::protocol::friends::v1::FriendInvitation::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::FriendInvitation::clear_first_received ( )
inline
803  {
804  first_received_ = false;
806 }
void clear_has_first_received()
Definition: friends_types.pb.h:800
bool first_received_
Definition: friends_types.pb.h:294
void bgs::protocol::friends::v1::FriendInvitation::clear_has_first_received ( )
inlineprivate
800  {
801  _has_bits_[0] &= ~0x00000001u;
802 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_types.pb.h:290
void bgs::protocol::friends::v1::FriendInvitation::clear_role ( )
inline
821  {
822  role_.Clear();
823 }
void Clear()
Definition: repeated_field.h:723
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_types.pb.h:292
void bgs::protocol::friends::v1::FriendInvitation::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::friends::v1::FriendInvitation::CopyFrom ( const FriendInvitation from)
static const FriendInvitation& bgs::protocol::friends::v1::FriendInvitation::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::friends::v1::FriendInvitation::descriptor ( )
static
bool bgs::protocol::friends::v1::FriendInvitation::first_received ( ) const
inline
807  {
808  // @@protoc_insertion_point(field_get:bgs.protocol.friends.v1.FriendInvitation.first_received)
809  return first_received_;
810 }
bool first_received_
Definition: friends_types.pb.h:294
int bgs::protocol::friends::v1::FriendInvitation::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

248 { return _cached_size_; }
int _cached_size_
Definition: friends_types.pb.h:291
::google::protobuf::Metadata bgs::protocol::friends::v1::FriendInvitation::GetMetadata ( ) const
virtual
bool bgs::protocol::friends::v1::FriendInvitation::has_first_received ( ) const
inline
794  {
795  return (_has_bits_[0] & 0x00000001u) != 0;
796 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_types.pb.h:290
void bgs::protocol::friends::v1::FriendInvitation::InitAsDefaultInstance ( )
private
bool bgs::protocol::friends::v1::FriendInvitation::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::FriendInvitation::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::friends::v1::FriendInvitation::MergeFrom ( const FriendInvitation from)
bool bgs::protocol::friends::v1::FriendInvitation::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
google::protobuf::RepeatedField<::google::protobuf::uint32 > * bgs::protocol::friends::v1::FriendInvitation::mutable_role ( )
inline
842  {
843  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.friends.v1.FriendInvitation.role)
844  return &role_;
845 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_types.pb.h:292
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::friends::v1::FriendInvitation::mutable_unknown_fields ( )
inline
223  {
224  return &_unknown_fields_;
225  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: friends_types.pb.h:288
FriendInvitation* bgs::protocol::friends::v1::FriendInvitation::New ( ) const
virtual
FriendInvitation& bgs::protocol::friends::v1::FriendInvitation::operator= ( const FriendInvitation from)
inline
214  {
215  CopyFrom(from);
216  return *this;
217  }
void CopyFrom(const ::google::protobuf::Message &from)
google::protobuf::uint32 bgs::protocol::friends::v1::FriendInvitation::role ( int  index) const
inline
824  {
825  // @@protoc_insertion_point(field_get:bgs.protocol.friends.v1.FriendInvitation.role)
826  return role_.Get(index);
827 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_types.pb.h:292
const Element & Get(int index) const
Definition: repeated_field.h:663

+ Here is the call graph for this function:

const ::google::protobuf::RepeatedField<::google::protobuf::uint32 > & bgs::protocol::friends::v1::FriendInvitation::role ( ) const
inline
837  {
838  // @@protoc_insertion_point(field_list:bgs.protocol.friends.v1.FriendInvitation.role)
839  return role_;
840 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_types.pb.h:292
int bgs::protocol::friends::v1::FriendInvitation::role_size ( ) const
inline
818  {
819  return role_.size();
820 }
int size() const
Definition: repeated_field.h:631
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_types.pb.h:292
void bgs::protocol::friends::v1::FriendInvitation::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::friends::v1::FriendInvitation::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::friends::v1::FriendInvitation::set_first_received ( bool  value)
inline
811  {
814  // @@protoc_insertion_point(field_set:bgs.protocol.friends.v1.FriendInvitation.first_received)
815 }
bool first_received_
Definition: friends_types.pb.h:294
void set_has_first_received()
Definition: friends_types.pb.h:797
const FieldDescriptor value
Definition: descriptor.h:1522
void bgs::protocol::friends::v1::FriendInvitation::set_has_first_received ( )
inlineprivate
797  {
798  _has_bits_[0] |= 0x00000001u;
799 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_types.pb.h:290
void bgs::protocol::friends::v1::FriendInvitation::set_role ( int  index,
::google::protobuf::uint32  value 
)
inline
828  {
829  role_.Set(index, value);
830  // @@protoc_insertion_point(field_set:bgs.protocol.friends.v1.FriendInvitation.role)
831 }
const FieldDescriptor value
Definition: descriptor.h:1522
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_types.pb.h:292
void Set(int index, const Element &value)
Definition: repeated_field.h:677
void bgs::protocol::friends::v1::FriendInvitation::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::FriendInvitation::SharedCtor ( )
private
void bgs::protocol::friends::v1::FriendInvitation::SharedDtor ( )
private
void bgs::protocol::friends::v1::FriendInvitation::Swap ( FriendInvitation other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::friends::v1::FriendInvitation::unknown_fields ( ) const
inline
219  {
220  return _unknown_fields_;
221  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: friends_types.pb.h:288

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_friends_5ftypes_2eproto ( )
friend
void protobuf_AssignDesc_friends_5ftypes_2eproto ( )
friend
void protobuf_ShutdownFile_friends_5ftypes_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::friends::v1::FriendInvitation::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::friends::v1::FriendInvitation::_has_bits_[1]
private
int bgs::protocol::friends::v1::FriendInvitation::_role_cached_byte_size_
mutableprivate
::google::protobuf::UnknownFieldSet bgs::protocol::friends::v1::FriendInvitation::_unknown_fields_
private
FriendInvitation* bgs::protocol::friends::v1::FriendInvitation::default_instance_
staticprivate
bool bgs::protocol::friends::v1::FriendInvitation::first_received_
private
const int bgs::protocol::friends::v1::FriendInvitation::kFirstReceivedFieldNumber = 1
static
const int bgs::protocol::friends::v1::FriendInvitation::kFriendInvitationFieldNumber = 103
static
const int bgs::protocol::friends::v1::FriendInvitation::kRoleFieldNumber = 2
static
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > bgs::protocol::friends::v1::FriendInvitation::role_
private

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