refactor(Core/Misc): acore to Acore (#6043)

This commit is contained in:
Kitzunu 2021-05-31 14:21:54 +02:00 committed by GitHub
parent 7eeae6866e
commit 897a02bb75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
224 changed files with 942 additions and 942 deletions

View file

@ -334,7 +334,7 @@ void PoolGroup<T>::SpawnObject(ActivePoolData& spawns, uint32 limit, uint32 trig
return /*object.guid == triggerFrom ||*/ !spawns.IsActiveObject<T>(object.guid);
});
acore::Containers::RandomResize(rolledObjects, count);
Acore::Containers::RandomResize(rolledObjects, count);
}
// try to spawn rolled objects
@ -495,7 +495,7 @@ void PoolGroup<Quest>::SpawnObject(ActivePoolData& spawns, uint32 limit, uint32
{
do
{
uint32 questId = acore::Containers::SelectRandomContainerElement(currentQuests);
uint32 questId = Acore::Containers::SelectRandomContainerElement(currentQuests);
newQuests.insert(questId);
currentQuests.erase(questId);
} while (newQuests.size() < limit && !currentQuests.empty()); // failsafe
@ -507,7 +507,7 @@ void PoolGroup<Quest>::SpawnObject(ActivePoolData& spawns, uint32 limit, uint32
// activate <limit> random quests
do
{
uint32 questId = acore::Containers::SelectRandomContainerElement(newQuests);
uint32 questId = Acore::Containers::SelectRandomContainerElement(newQuests);
spawns.ActivateObject<Quest>(questId, poolId);
PoolObject tempObj(questId, 0.0f);
Spawn1Object(&tempObj);