|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Go to the source code of this file.
Classes | |
| struct | FriendInfo |
| class | PlayerSocial |
| class | SocialMgr |
Macros | |
| #define | SOCIALMGR_FRIEND_LIMIT 100 |
| #define | SOCIALMGR_IGNORE_LIMIT 50 |
| #define | sSocialMgr Skyfire::Singleton<SocialMgr, Skyfire::NullMutex>::instance() |
Typedefs | |
| typedef std::map< uint32, FriendInfo > | PlayerSocialMap |
| typedef std::map< uint32, PlayerSocial > | SocialMap |
| #define SOCIALMGR_FRIEND_LIMIT 100 |
Definition at line 86 of file SocialMgr.h.
Referenced by PlayerSocial::AddToSocialList(), and SocialMgr::LoadFromDB().
| #define SOCIALMGR_IGNORE_LIMIT 50 |
Definition at line 87 of file SocialMgr.h.
Referenced by PlayerSocial::AddToSocialList(), and SocialMgr::LoadFromDB().
| #define sSocialMgr Skyfire::Singleton<SocialMgr, Skyfire::NullMutex>::instance() |
Definition at line 134 of file SocialMgr.h.
Referenced by Player::DeleteFromDB(), WorldSession::HandleAddFriendOpcodeCallBack(), WorldSession::HandleAddIgnoreOpcodeCallBack(), WorldSession::HandleDelFriendOpcode(), WorldSession::HandleDelIgnoreOpcode(), WorldSession::HandlePlayerLogin(), Player::LoadFromDB(), WorldSession::LogoutPlayer(), and PlayerSocial::SendSocialList().
| typedef std::map<uint32, FriendInfo> PlayerSocialMap |
Definition at line 51 of file SocialMgr.h.
| typedef std::map<uint32, PlayerSocial> SocialMap |
Definition at line 52 of file SocialMgr.h.
| enum FriendsResult |
Results of friend related commands.
Definition at line 55 of file SocialMgr.h.
| enum FriendStatus |
| Enumerator | |
|---|---|
| FRIEND_STATUS_OFFLINE | |
| FRIEND_STATUS_ONLINE | |
| FRIEND_STATUS_AFK | |
| FRIEND_STATUS_DND | |
| FRIEND_STATUS_RAF | |
Definition at line 18 of file SocialMgr.h.
| enum SocialFlag |
| Enumerator | |
|---|---|
| SOCIAL_FLAG_FRIEND | |
| SOCIAL_FLAG_IGNORED | |
| SOCIAL_FLAG_MUTED | |
| SOCIAL_FLAG_UNK | |
Definition at line 27 of file SocialMgr.h.