![]() |
TrinityCore
|
#include <SocialMgr.h>
Public Member Functions | |
| PlayerSocial () | |
| bool | AddToSocialList (ObjectGuid const &guid, 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 & | 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 |
| ObjectGuid | _playerGUID |
Friends | |
| class | SocialMgr |
Definition at line 101 of file SocialMgr.h.
|
private |
Definition at line 127 of file SocialMgr.h.
| PlayerSocial::PlayerSocial | ( | ) |
Definition at line 27 of file SocialMgr.cpp.
|
private |
| bool PlayerSocial::AddToSocialList | ( | ObjectGuid const & | guid, |
| SocialFlag | flag | ||
| ) |
| uint32 PlayerSocial::GetNumberOfSocialsWithFlag | ( | SocialFlag | flag | ) |
|
inline |
| bool PlayerSocial::HasFriend | ( | ObjectGuid const & | friendGuid | ) |
Definition at line 185 of file SocialMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool PlayerSocial::HasIgnore | ( | ObjectGuid const & | ignoreGuid | ) |
Definition at line 190 of file SocialMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void PlayerSocial::RemoveFromSocialList | ( | ObjectGuid const & | guid, |
| SocialFlag | flag | ||
| ) |
Definition at line 75 of file SocialMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 124 of file SocialMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void PlayerSocial::SetFriendNote | ( | ObjectGuid const & | guid, |
| std::string const & | note | ||
| ) |
Definition at line 106 of file SocialMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
friend |
Definition at line 103 of file SocialMgr.h.
|
private |
Definition at line 130 of file SocialMgr.h.
|
private |
Definition at line 128 of file SocialMgr.h.