TrinityCore
|
#include <SocialMgr.h>
Public Member Functions | |
void | RemovePlayerSocial (ObjectGuid const &guid) |
void | SendFriendStatus (Player *player, FriendsResult result, ObjectGuid const &friendGuid, bool broadcast=false) |
void | BroadcastToFriendListers (Player *player, WorldPacket const *packet) |
PlayerSocial * | LoadFromDB (PreparedQueryResult result, ObjectGuid const &guid) |
Static Public Member Functions | |
static SocialMgr * | instance () |
static void | GetFriendInfo (Player *player, ObjectGuid const &friendGUID, FriendInfo &friendInfo) |
Private Types | |
typedef std::map< ObjectGuid, PlayerSocial > | SocialMap |
Private Member Functions | |
SocialMgr () | |
~SocialMgr () | |
Private Attributes | |
SocialMap | _socialMap |
Definition at line 135 of file SocialMgr.h.
|
private |
Definition at line 157 of file SocialMgr.h.
|
inlineprivate |
Definition at line 138 of file SocialMgr.h.
|
inlineprivate |
Definition at line 139 of file SocialMgr.h.
void SocialMgr::BroadcastToFriendListers | ( | Player * | player, |
WorldPacket const * | packet | ||
) |
Definition at line 263 of file SocialMgr.cpp.
|
static |
Definition at line 200 of file SocialMgr.cpp.
|
static |
Definition at line 194 of file SocialMgr.cpp.
PlayerSocial * SocialMgr::LoadFromDB | ( | PreparedQueryResult | result, |
ObjectGuid const & | guid | ||
) |
|
inline |
Definition at line 145 of file SocialMgr.h.
void SocialMgr::SendFriendStatus | ( | Player * | player, |
FriendsResult | result, | ||
ObjectGuid const & | friendGuid, | ||
bool | broadcast = false |
||
) |
|
private |
Definition at line 158 of file SocialMgr.h.