1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-28 20:27:46 +00:00

Moo woops

This commit is contained in:
Maru 2018-03-05 23:55:11 -03:00
parent 348e9916d9
commit 806f235de4
3 changed files with 5 additions and 2 deletions

View file

@ -50,7 +50,7 @@ Core::ServerZone& Core::Framework::getServerZone()
return g_serverZone; return g_serverZone;
} }
Core::Social::SocialMgr< Core::Social::FriendList > Core::Framework::getFriendsListMgr() Core::Social::SocialMgr< Core::Social::FriendList >& Core::Framework::getFriendsListMgr()
{ {
return g_friendListMgr; return g_friendListMgr;
} }

View file

@ -54,7 +54,7 @@ public:
Db::DbWorkerPool< Db::CharaDbConnection >& getCharaDb(); Db::DbWorkerPool< Db::CharaDbConnection >& getCharaDb();
ServerZone& getServerZone(); ServerZone& getServerZone();
Social::SocialMgr< Social::FriendList > getFriendsListMgr(); Social::SocialMgr< Social::FriendList >& getFriendsListMgr();
}; };

View file

@ -44,6 +44,9 @@
#include "Forwards.h" #include "Forwards.h"
#include "Framework.h" #include "Framework.h"
#include "Social/Group.h"
#include "Social/FriendList.h"
extern Core::Framework g_framework; extern Core::Framework g_framework;
using namespace Core::Common; using namespace Core::Common;