Core/Battlegrounds: Rework queues

* No more copies of Battleground classes
* FreesSlotQueues now have as key the MapId instead of queue id
* Random queues can now popup already busy specific battelgrounds (queues are NOT merged)
* Removed Holiday handling, this should already be handled in BattlegroundMgr::IsBGWeekend
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ede6c155605da602b3bafaa3a1212d9f924759b)
This commit is contained in:
hondacrx
2023-09-14 06:16:30 -04:00
parent bad3e89ee6
commit 4134796f1b
35 changed files with 364 additions and 418 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ namespace Game.Chat
[Command("areatrigger_teleport", RBACPermissions.CommandReloadAreatriggerTeleport, true)]
static bool HandleReloadAreaTriggerTeleportCommand(CommandHandler handler)
{
Log.outInfo(LogFilter.Server, "Re-Loading AreaTrigger teleport definitions...");
Log.outInfo(LogFilter.Server, "Re-Loading Area Trigger Teleports definitions...");
Global.ObjectMgr.LoadAreaTriggerTeleports();
handler.SendGlobalGMSysMessage("DB table `areatrigger_teleport` reloaded.");
return true;