mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 23:50:44 +01:00
Core/Scripts Part 1 of moving all commands to commandscripts
closes issue 4669 (first 5 patches rolled into 1) Patch by Paradox --HG-- branch : trunk
This commit is contained in:
@@ -44,6 +44,16 @@ void AddSC_example_spell_scripts();
|
||||
|
||||
void AddSC_SmartSCripts();
|
||||
|
||||
//Commands
|
||||
void AddSC_account_commandscript();
|
||||
void AddSC_achievement_commandscript();
|
||||
void AddSC_gm_commandscript();
|
||||
void AddSC_npc_commandscript();
|
||||
void AddSC_go_commandscript();
|
||||
void AddSC_learn_commandscript();
|
||||
void AddSC_modify_commandscript();
|
||||
void AddSC_debug_commandscript();
|
||||
|
||||
#ifdef SCRIPTS
|
||||
//world
|
||||
void AddSC_areatrigger_scripts();
|
||||
@@ -569,6 +579,7 @@ void AddScripts()
|
||||
AddExampleScripts();
|
||||
AddSpellScripts();
|
||||
AddSC_SmartSCripts();
|
||||
AddCommandScripts();
|
||||
#ifdef SCRIPTS
|
||||
AddWorldScripts();
|
||||
AddEasternKingdomsScripts();
|
||||
@@ -608,6 +619,18 @@ void AddSpellScripts()
|
||||
AddSC_example_spell_scripts();
|
||||
}
|
||||
|
||||
void AddCommandScripts()
|
||||
{
|
||||
AddSC_account_commandscript();
|
||||
AddSC_achievement_commandscript();
|
||||
AddSC_gm_commandscript();
|
||||
AddSC_npc_commandscript();
|
||||
AddSC_go_commandscript();
|
||||
AddSC_learn_commandscript();
|
||||
AddSC_modify_commandscript();
|
||||
AddSC_debug_commandscript();
|
||||
}
|
||||
|
||||
void AddWorldScripts()
|
||||
{
|
||||
#ifdef SCRIPTS
|
||||
|
||||
Reference in New Issue
Block a user