mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 16:57:47 +00:00
Also subscribe fcmanager to the login event
This commit is contained in:
parent
48c2825df8
commit
3cd60e0633
1 changed files with 1 additions and 0 deletions
|
@ -313,6 +313,7 @@ void WorldServer::run( int32_t argc, char* argv[] )
|
||||||
Common::Service< Manager::TaskMgr >::set( taskMgr );
|
Common::Service< Manager::TaskMgr >::set( taskMgr );
|
||||||
|
|
||||||
dispatcher->subscribe( Common::EventSystem::LoginEvent::descriptor, std::bind( &Manager::PlayerMgr::handleEvent, pPlayerMgr, std::placeholders::_1 ) );
|
dispatcher->subscribe( Common::EventSystem::LoginEvent::descriptor, std::bind( &Manager::PlayerMgr::handleEvent, pPlayerMgr, std::placeholders::_1 ) );
|
||||||
|
dispatcher->subscribe( Common::EventSystem::LoginEvent::descriptor, std::bind( &Manager::FreeCompanyMgr::handleEvent, pFcMgr, std::placeholders::_1 ) );
|
||||||
|
|
||||||
|
|
||||||
Logger::info( "World server running on {0}:{1}", m_ip, m_port );
|
Logger::info( "World server running on {0}:{1}", m_ip, m_port );
|
||||||
|
|
Loading…
Add table
Reference in a new issue