TrinityCore
|
#include <SocialMgr.h>
Public Member Functions | |
bool | AddToSocialList (ObjectGuid const &guid, ObjectGuid const &accountGuid, SocialFlag flag) |
void | RemoveFromSocialList (ObjectGuid const &guid, SocialFlag flag) |
void | SetFriendNote (ObjectGuid const &guid, std::string const ¬e) |
void | SendSocialList (Player *player, uint32 flags) |
bool | HasFriend (ObjectGuid const &friendGuid) |
bool | HasIgnore (ObjectGuid const &ignoreGuid, ObjectGuid const &ignoreAccountGuid) |
ObjectGuid const & | GetPlayerGUID () const |
void | SetPlayerGUID (ObjectGuid const &guid) |
uint32 | GetNumberOfSocialsWithFlag (SocialFlag flag) |
Private Types | |
typedef std::map< ObjectGuid, FriendInfo > | PlayerSocialMap |
Private Member Functions | |
bool | _HasContact (ObjectGuid const &guid, SocialFlag flags) |
Private Attributes | |
PlayerSocialMap | _playerSocialMap |
GuidUnorderedSet | _ignoredAccounts |
ObjectGuid | _playerGUID |
Friends | |
class | SocialMgr |
Definition at line 103 of file SocialMgr.h.
|
private |
Definition at line 128 of file SocialMgr.h.
|
private |
bool PlayerSocial::AddToSocialList | ( | ObjectGuid const & | guid, |
ObjectGuid const & | accountGuid, | ||
SocialFlag | flag | ||
) |
uint32 PlayerSocial::GetNumberOfSocialsWithFlag | ( | SocialFlag | flag | ) |
|
inline |
bool PlayerSocial::HasFriend | ( | ObjectGuid const & | friendGuid | ) |
Definition at line 184 of file SocialMgr.cpp.
bool PlayerSocial::HasIgnore | ( | ObjectGuid const & | ignoreGuid, |
ObjectGuid const & | ignoreAccountGuid | ||
) |
Definition at line 189 of file SocialMgr.cpp.
void PlayerSocial::RemoveFromSocialList | ( | ObjectGuid const & | guid, |
SocialFlag | flag | ||
) |
Definition at line 79 of file SocialMgr.cpp.
Definition at line 141 of file SocialMgr.cpp.
void PlayerSocial::SetFriendNote | ( | ObjectGuid const & | guid, |
std::string const & | note | ||
) |
Definition at line 123 of file SocialMgr.cpp.
|
inline |
|
friend |
Definition at line 105 of file SocialMgr.h.
|
private |
Definition at line 130 of file SocialMgr.h.
|
private |
Definition at line 132 of file SocialMgr.h.
|
private |
Definition at line 129 of file SocialMgr.h.