mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 22:37:45 +00:00
bit of cleanup and consistent startup log formatting
This commit is contained in:
parent
1252390c2d
commit
145e0dea5b
1 changed files with 3 additions and 4 deletions
|
@ -167,7 +167,7 @@ bool Sapphire::World::Manager::TerritoryMgr::createDefaultTerritories()
|
||||||
auto pNaviMgr = framework()->get< Manager::NaviMgr >();
|
auto pNaviMgr = framework()->get< Manager::NaviMgr >();
|
||||||
bool hasNaviMesh = pNaviMgr->setupTerritory( territoryInfo->name );
|
bool hasNaviMesh = pNaviMgr->setupTerritory( territoryInfo->name );
|
||||||
|
|
||||||
Logger::info( "{0}\t{1}\t{2}\t{3:<10}\t{4}\t{5:<6}{6}",
|
Logger::info( "{0}\t{1}\t{2}\t{3:<10}\t{4}\t{5}\t{6}",
|
||||||
territoryTypeId,
|
territoryTypeId,
|
||||||
guid,
|
guid,
|
||||||
territoryInfo->territoryIntendedUse,
|
territoryInfo->territoryIntendedUse,
|
||||||
|
@ -199,7 +199,7 @@ bool Sapphire::World::Manager::TerritoryMgr::createHousingTerritories()
|
||||||
auto territoryTypeId = territory.first;
|
auto territoryTypeId = territory.first;
|
||||||
auto territoryInfo = territory.second;
|
auto territoryInfo = territory.second;
|
||||||
uint32_t wardNum;
|
uint32_t wardNum;
|
||||||
uint32_t wardMaxNum = 1;
|
uint32_t wardMaxNum = 18;
|
||||||
|
|
||||||
if( territoryInfo->name.empty() )
|
if( territoryInfo->name.empty() )
|
||||||
continue;
|
continue;
|
||||||
|
@ -213,7 +213,7 @@ bool Sapphire::World::Manager::TerritoryMgr::createHousingTerritories()
|
||||||
{
|
{
|
||||||
uint32_t guid = getNextInstanceId();
|
uint32_t guid = getNextInstanceId();
|
||||||
|
|
||||||
Logger::info( "{0}\t{1}\t{2}\t{3:<10}\tHOUSING\t{4}#{5}",
|
Logger::info( "{0}\t{1}\t{2}\t{3:<10}\tHOUSING\t\t{4}#{5}",
|
||||||
territoryTypeId,
|
territoryTypeId,
|
||||||
guid,
|
guid,
|
||||||
territoryInfo->territoryIntendedUse,
|
territoryInfo->territoryIntendedUse,
|
||||||
|
@ -224,7 +224,6 @@ bool Sapphire::World::Manager::TerritoryMgr::createHousingTerritories()
|
||||||
auto pHousingZone = make_HousingZone( wardNum, territoryTypeId, guid, territoryInfo->name,
|
auto pHousingZone = make_HousingZone( wardNum, territoryTypeId, guid, territoryInfo->name,
|
||||||
pPlaceName->name, framework() );
|
pPlaceName->name, framework() );
|
||||||
pHousingZone->init();
|
pHousingZone->init();
|
||||||
wardMaxNum = 18;
|
|
||||||
|
|
||||||
InstanceIdToZonePtrMap instanceMap;
|
InstanceIdToZonePtrMap instanceMap;
|
||||||
instanceMap[ guid ] = pHousingZone;
|
instanceMap[ guid ] = pHousingZone;
|
||||||
|
|
Loading…
Add table
Reference in a new issue