TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Social::ContactInfo Struct Reference

#include <SocialPackets.h>

Public Member Functions

 ContactInfo (ObjectGuid const &guid, FriendInfo const &friendInfo)
 

Public Attributes

ObjectGuid Guid
 
ObjectGuid WowAccountGuid
 
uint32 VirtualRealmAddr = 0
 
uint32 NativeRealmAddr = 0
 
uint32 TypeFlags = 0
 
std::string Notes
 
uint8 Status = 0
 
uint32 AreaID = 0
 
uint32 Level = 0
 
uint32 ClassID = CLASS_NONE
 

Constructor & Destructor Documentation

WorldPackets::Social::ContactInfo::ContactInfo ( ObjectGuid const guid,
FriendInfo const friendInfo 
)
29 {
30  Guid = guid;
31  WowAccountGuid = friendInfo.WowAccountGuid;
34  TypeFlags = friendInfo.Flags;
35  Notes = friendInfo.Note;
36  Status = friendInfo.Status;
37  AreaID = friendInfo.Area;
38  Level = friendInfo.Level;
39  ClassID = friendInfo.Class;
40 }
uint32 NativeRealmAddr
Definition: SocialPackets.h:49
uint32 TypeFlags
Definition: SocialPackets.h:50
uint32 VirtualRealmAddr
Definition: SocialPackets.h:48
uint32 ClassID
Definition: SocialPackets.h:55
std::string Notes
Definition: SocialPackets.h:51
uint32 AreaID
Definition: SocialPackets.h:53
uint8 Status
Definition: SocialPackets.h:52
ObjectGuid Guid
Definition: SocialPackets.h:46
uint32 GetVirtualRealmAddress()
Definition: World.cpp:3487
ObjectGuid WowAccountGuid
Definition: SocialPackets.h:47
uint32 Level
Definition: SocialPackets.h:54

+ Here is the call graph for this function:

Member Data Documentation

uint32 WorldPackets::Social::ContactInfo::AreaID = 0
uint32 WorldPackets::Social::ContactInfo::ClassID = CLASS_NONE
ObjectGuid WorldPackets::Social::ContactInfo::Guid
uint32 WorldPackets::Social::ContactInfo::Level = 0
uint32 WorldPackets::Social::ContactInfo::NativeRealmAddr = 0
std::string WorldPackets::Social::ContactInfo::Notes
uint8 WorldPackets::Social::ContactInfo::Status = 0
See also
enum FriendStatus
uint32 WorldPackets::Social::ContactInfo::TypeFlags = 0
See also
enum SocialFlag
uint32 WorldPackets::Social::ContactInfo::VirtualRealmAddr = 0
ObjectGuid WorldPackets::Social::ContactInfo::WowAccountGuid

The documentation for this struct was generated from the following files: