mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 14:37:44 +00:00
minor instance script fixes, eobj parser should work as well as produce usable scripts now
This commit is contained in:
parent
8b99bb8d37
commit
f16be26e4c
4 changed files with 5 additions and 5 deletions
|
@ -14,7 +14,7 @@ public:
|
|||
EOBJ_INIT
|
||||
}
|
||||
|
||||
void onUpdate( InstanceContent& instance, uint32_t currTime ) override
|
||||
void onUpdate( InstanceContent& instance, uint64_t tickCount ) override
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -137,7 +137,7 @@ void loadAllInstanceContentEntries()
|
|||
if( !ic )
|
||||
continue;
|
||||
type = ic->instanceContentType;
|
||||
name = ic->name;
|
||||
name = cfc->name;
|
||||
}
|
||||
else if( cfc->contentLinkType == 5 )
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ public:
|
|||
EOBJ_INIT
|
||||
}
|
||||
|
||||
void onUpdate( QuestBattle& instance, uint32_t currTime ) override
|
||||
void onUpdate( QuestBattle& instance, uint64_t tickCount ) override
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -345,13 +345,13 @@ Sapphire::TerritoryPtr Sapphire::World::Manager::TerritoryMgr::createInstanceCon
|
|||
|
||||
auto pTeri = getTerritoryDetail( pContentFinderCondition->territoryType );
|
||||
|
||||
if( !pTeri || pInstanceContent->name.empty() )
|
||||
if( !pTeri || pContentFinderCondition->name.empty() )
|
||||
return nullptr;
|
||||
|
||||
Logger::debug( "Starting instance for InstanceContent id: {0} ({1})", instanceContentId, pInstanceContent->name );
|
||||
|
||||
auto pZone = make_InstanceContent( pInstanceContent, pContentFinderCondition->territoryType, getNextInstanceId(),
|
||||
pTeri->name, pInstanceContent->name, instanceContentId, framework() );
|
||||
pTeri->name, pContentFinderCondition->name, instanceContentId, framework() );
|
||||
pZone->init();
|
||||
|
||||
m_instanceContentIdToInstanceMap[ instanceContentId ][ pZone->getGuId() ] = pZone;
|
||||
|
|
Loading…
Add table
Reference in a new issue