mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 07:37:45 +00:00
Removed unused functions
This commit is contained in:
parent
8439b9a922
commit
5afe39cf59
2 changed files with 0 additions and 20 deletions
|
@ -335,15 +335,6 @@ void Core::ServerZone::removeSession( uint32_t sessionId )
|
|||
m_sessionMapById.erase( sessionId );
|
||||
}
|
||||
|
||||
void Core::ServerZone::updateSession( uint32_t id )
|
||||
{
|
||||
std::lock_guard< std::mutex > lock( m_sessionMutex );
|
||||
auto it = m_sessionMapById.find( id );
|
||||
|
||||
if( it != m_sessionMapById.end() )
|
||||
it->second->loadPlayer();
|
||||
}
|
||||
|
||||
Core::SessionPtr Core::ServerZone::getSession( uint32_t id )
|
||||
{
|
||||
//std::lock_guard<std::mutex> lock( m_sessionMutex );
|
||||
|
@ -373,14 +364,6 @@ void Core::ServerZone::removeSession( std::string playerName )
|
|||
m_sessionMapByName.erase( playerName );
|
||||
}
|
||||
|
||||
void Core::ServerZone::updateSession( std::string playerName )
|
||||
{
|
||||
std::lock_guard< std::mutex > lock( m_sessionMutex );
|
||||
auto it = m_sessionMapByName.find( playerName );
|
||||
|
||||
if( it != m_sessionMapByName.end() )
|
||||
it->second->loadPlayer();
|
||||
}
|
||||
|
||||
bool Core::ServerZone::isRunning() const
|
||||
{
|
||||
|
|
|
@ -27,8 +27,6 @@ namespace Core {
|
|||
|
||||
SessionPtr getSession( uint32_t id );
|
||||
SessionPtr getSession( std::string playerName );
|
||||
void updateSession( uint32_t id );
|
||||
void updateSession( std::string playerName );
|
||||
|
||||
size_t getSessionCount() const;
|
||||
|
||||
|
@ -38,7 +36,6 @@ namespace Core {
|
|||
|
||||
void printBanner() const;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
uint16_t m_port;
|
||||
|
|
Loading…
Add table
Reference in a new issue