From 38bb4d8531a4cec176ac404d92b61be34fe03691 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Wed, 26 May 2021 22:48:59 +0200 Subject: [PATCH] chore(Misc): acore -> Acore --- UnitMethods.h | 8 ++++---- WorldObjectMethods.h | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/UnitMethods.h b/UnitMethods.h index 9b2bf23..8d60aa8 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -1262,8 +1262,8 @@ namespace LuaUnit Trinity::UnitListSearcher searcher(unit, list, checker); Cell::VisitAllObjects(unit, searcher, range); #elif AZEROTHCORE - acore::AnyFriendlyUnitInObjectRangeCheck checker(unit, unit, range); - acore::UnitListSearcher searcher(unit, list, checker); + Acore::AnyFriendlyUnitInObjectRangeCheck checker(unit, unit, range); + Acore::UnitListSearcher searcher(unit, list, checker); unit->VisitNearbyObject(range, searcher); #else MaNGOS::AnyFriendlyUnitInObjectRangeCheck checker(unit, range); @@ -1303,8 +1303,8 @@ namespace LuaUnit Trinity::UnitListSearcher searcher(unit, list, checker); Cell::VisitAllObjects(unit, searcher, range); #elif AZEROTHCORE - acore::AnyUnfriendlyUnitInObjectRangeCheck checker(unit, unit, range); - acore::UnitListSearcher searcher(unit, list, checker); + Acore::AnyUnfriendlyUnitInObjectRangeCheck checker(unit, unit, range); + Acore::UnitListSearcher searcher(unit, list, checker); unit->VisitNearbyObject(range, searcher); #else MaNGOS::AnyUnfriendlyUnitInObjectRangeCheck checker(unit, range); diff --git a/WorldObjectMethods.h b/WorldObjectMethods.h index 98187c6..3883d24 100644 --- a/WorldObjectMethods.h +++ b/WorldObjectMethods.h @@ -188,7 +188,7 @@ namespace LuaWorldObject Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::UnitLastSearcher searcher(obj, target, checker); + Acore::UnitLastSearcher searcher(obj, target, checker); obj->VisitNearbyObject(range,searcher); #else MaNGOS::UnitLastSearcher searcher(target, checker); @@ -220,7 +220,7 @@ namespace LuaWorldObject Trinity::GameObjectLastSearcher searcher(obj, target, checker); Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::GameObjectLastSearcher searcher(obj, target, checker); + Acore::GameObjectLastSearcher searcher(obj, target, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::GameObjectLastSearcher searcher(target, checker); @@ -254,7 +254,7 @@ namespace LuaWorldObject Trinity::CreatureLastSearcher searcher(obj, target, checker); Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::CreatureLastSearcher searcher(obj, target, checker); + Acore::CreatureLastSearcher searcher(obj, target, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::CreatureLastSearcher searcher(target, checker); @@ -287,7 +287,7 @@ namespace LuaWorldObject Trinity::PlayerListSearcher searcher(obj, list, checker); Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::PlayerListSearcher searcher(obj, list, checker); + Acore::PlayerListSearcher searcher(obj, list, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::PlayerListSearcher searcher(list, checker); @@ -331,7 +331,7 @@ namespace LuaWorldObject Trinity::CreatureListSearcher searcher(obj, list, checker); Cell::VisitAllObjects(obj, searcher, range); #elif defined AZEROTHCORE - acore::CreatureListSearcher searcher(obj, list, checker); + Acore::CreatureListSearcher searcher(obj, list, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::CreatureListSearcher searcher(list, checker); @@ -373,7 +373,7 @@ namespace LuaWorldObject Trinity::GameObjectListSearcher searcher(obj, list, checker); Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::GameObjectListSearcher searcher(obj, list, checker); + Acore::GameObjectListSearcher searcher(obj, list, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::GameObjectListSearcher searcher(list, checker); @@ -423,7 +423,7 @@ namespace LuaWorldObject Trinity::WorldObjectLastSearcher searcher(obj, target, checker); Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::WorldObjectLastSearcher searcher(obj, target, checker); + Acore::WorldObjectLastSearcher searcher(obj, target, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::WorldObjectLastSearcher searcher(target, checker); @@ -463,7 +463,7 @@ namespace LuaWorldObject Trinity::WorldObjectListSearcher searcher(obj, list, checker); Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::WorldObjectListSearcher searcher(obj, list, checker); + Acore::WorldObjectListSearcher searcher(obj, list, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::WorldObjectListSearcher searcher(list, checker);