mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
remove old shit
This commit is contained in:
parent
eb56f5fda2
commit
047d0328e0
2 changed files with 0 additions and 20 deletions
|
@ -85,23 +85,4 @@ bool Sapphire::ConfigMgr::copyDefaultConfig( const std::string& configName )
|
|||
fs::copy_file( configPath.string() + m_configDefaultSuffix, configPath );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void Sapphire::ConfigMgr::initConfigData()
|
||||
{
|
||||
// lobby
|
||||
// m_pConfig->lobby.worldID = getValue< uint16_t >( "Lobby", "WorldID", 67 );
|
||||
// m_pConfig->lobby.allowNoSessionConnect = getValue< bool >( "Lobby", "AllowNoSessionConnect", false );
|
||||
// m_pConfig->lobby.worldName = getValue< std::string >( "Lobby", "WorldName", "Sapphire" );
|
||||
//
|
||||
// // lobby network
|
||||
// m_pConfig->lobbyNetwork.listenIp = getValue< std::string >( "LobbyNetwork", "ListenIp", "0.0.0.0" );
|
||||
// m_pConfig->lobbyNetwork.listenPort = getValue< uint16_t >( "LobbyNetwork", "ListenPort", 54994 );
|
||||
//
|
||||
// // character creation
|
||||
// m_pConfig->characterCreation.defaultGMRank = getValue< uint8_t >( "CharacterCreation", "DefaultGMRank", 255 );
|
||||
//
|
||||
// // rest network
|
||||
// m_pConfig->restNetwork.listenIP = getValue< std::string >( "RestNetwork", "ListenIp", "0.0.0.0" );
|
||||
// m_pConfig->restNetwork.listenPort = getValue< uint16_t >( "RestNetwork", "ListenPort", 80 );
|
||||
}
|
|
@ -59,7 +59,6 @@ namespace Sapphire
|
|||
|
||||
private:
|
||||
bool copyDefaultConfig( const std::string& configName );
|
||||
void initConfigData();
|
||||
|
||||
std::unique_ptr< INIReader > m_pInih;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue