![]() |
TrinityCore
|
#include <SocialMgr.h>
Public Member Functions | |
| PlayerSocial () | |
| PlayerSocial (PlayerSocial const &) | |
| PlayerSocial (PlayerSocial &&) noexcept | |
| PlayerSocial & | operator= (PlayerSocial const &) |
| PlayerSocial & | operator= (PlayerSocial &&) noexcept |
| ~PlayerSocial () | |
| 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 135 of file SocialMgr.h.
|
default |
|
default |
|
defaultnoexcept |
|
default |
|
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 201 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, |
| ObjectGuid const & | ignoreAccountGuid | ||
| ) |
Definition at line 206 of file SocialMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
defaultnoexcept |
|
default |
| void PlayerSocial::RemoveFromSocialList | ( | ObjectGuid const & | guid, |
| SocialFlag | flag | ||
| ) |
Definition at line 86 of file SocialMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 148 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 130 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 105 of file SocialMgr.h.
|
private |
Definition at line 137 of file SocialMgr.h.
|
private |
Definition at line 139 of file SocialMgr.h.
|
private |
Definition at line 136 of file SocialMgr.h.