mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core/AI: Removed EventAI handling. is not needed more for cataclysm...
move a sql to correct place.
This commit is contained in:
@@ -76,7 +76,6 @@ include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/Addons
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/AI
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/AI/CoreAI
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/AI/EventAI
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/AI/ScriptedAI
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/AI/SmartScripts
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/AuctionHouse
|
||||
|
||||
@@ -27,7 +27,6 @@ EndScriptData */
|
||||
#include "SpellMgr.h"
|
||||
#include "TicketMgr.h"
|
||||
#include "MapManager.h"
|
||||
#include "CreatureEventAIMgr.h"
|
||||
#include "DisableMgr.h"
|
||||
#include "LFGMgr.h"
|
||||
#include "AuctionHouseMgr.h"
|
||||
@@ -50,7 +49,6 @@ public:
|
||||
{
|
||||
{ "achievement", SEC_ADMINISTRATOR, true, &HandleReloadAllAchievementCommand, "", NULL },
|
||||
{ "area", SEC_ADMINISTRATOR, true, &HandleReloadAllAreaCommand, "", NULL },
|
||||
{ "eventai", SEC_ADMINISTRATOR, true, &HandleReloadAllEventAICommand, "", NULL },
|
||||
{ "gossips", SEC_ADMINISTRATOR, true, &HandleReloadAllGossipsCommand, "", NULL },
|
||||
{ "item", SEC_ADMINISTRATOR, true, &HandleReloadAllItemCommand, "", NULL },
|
||||
{ "locales", SEC_ADMINISTRATOR, true, &HandleReloadAllLocalesCommand, "", NULL },
|
||||
@@ -77,9 +75,6 @@ public:
|
||||
{ "conditions", SEC_ADMINISTRATOR, true, &HandleReloadConditions, "", NULL },
|
||||
{ "config", SEC_ADMINISTRATOR, true, &HandleReloadConfigCommand, "", NULL },
|
||||
{ "creature_text", SEC_ADMINISTRATOR, true, &HandleReloadCreatureText, "", NULL },
|
||||
{ "creature_ai_scripts", SEC_ADMINISTRATOR, true, &HandleReloadEventAIScriptsCommand, "", NULL },
|
||||
{ "creature_ai_summons", SEC_ADMINISTRATOR, true, &HandleReloadEventAISummonsCommand, "", NULL },
|
||||
{ "creature_ai_texts", SEC_ADMINISTRATOR, true, &HandleReloadEventAITextsCommand, "", NULL },
|
||||
{ "creature_involvedrelation", SEC_ADMINISTRATOR, true, &HandleReloadCreatureQuestInvRelationsCommand, "", NULL },
|
||||
{ "creature_linked_respawn", SEC_GAMEMASTER, true, &HandleReloadLinkedRespawnCommand, "", NULL },
|
||||
{ "creature_loot_template", SEC_ADMINISTRATOR, true, &HandleReloadLootTemplatesCreatureCommand, "", NULL },
|
||||
@@ -179,7 +174,6 @@ public:
|
||||
|
||||
HandleReloadAllAchievementCommand(handler, "");
|
||||
HandleReloadAllAreaCommand(handler, "");
|
||||
HandleReloadAllEventAICommand(handler, "");
|
||||
HandleReloadAllLootCommand(handler, "");
|
||||
HandleReloadAllNpcCommand(handler, "");
|
||||
HandleReloadAllQuestCommand(handler, "");
|
||||
@@ -271,14 +265,6 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllEventAICommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
HandleReloadEventAITextsCommand(handler, "a");
|
||||
HandleReloadEventAISummonsCommand(handler, "a");
|
||||
HandleReloadEventAIScriptsCommand(handler, "a");
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadAllSpellCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
HandleReloadSkillDiscoveryTemplateCommand(handler, "a");
|
||||
@@ -1018,31 +1004,6 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadEventAITextsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Texts from `creature_ai_texts`...");
|
||||
sEventAIMgr->LoadCreatureEventAI_Texts();
|
||||
handler->SendGlobalGMSysMessage("DB table `creature_ai_texts` reloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadEventAISummonsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Summons from `creature_ai_summons`...");
|
||||
sEventAIMgr->LoadCreatureEventAI_Summons();
|
||||
handler->SendGlobalGMSysMessage("DB table `creature_ai_summons` reloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadEventAIScriptsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Scripts from `creature_ai_scripts`...");
|
||||
sEventAIMgr->LoadCreatureEventAI_Scripts();
|
||||
handler->SendGlobalGMSysMessage("DB table `creature_ai_scripts` reloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleReloadQuestEndScriptsCommand(ChatHandler* handler, const char* args)
|
||||
{
|
||||
if (sScriptMgr->IsScriptScheduled())
|
||||
|
||||
Reference in New Issue
Block a user