* Implement item restore command & move itemmove to new item cmd * Implement LANG_COMMAND_DISABLED * Prevent command usage if no config is set * WIP: `.item restore list` * Fix restore list & create base for restore item * Send item to player via mail * Put player as last argument * Use Postmaster & fix restore list * Show item name in restore list * Update HandleItemMoveCommand to be using the api Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com> * Send item instantly if online
102 lines
3.5 KiB
C++
102 lines
3.5 KiB
C++
/*
|
|
* This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU Affero General Public License as published by the
|
|
* Free Software Foundation; either version 3 of the License, or (at your
|
|
* option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
|
|
* more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
// This is where scripts' loading functions should be declared:
|
|
void AddSC_account_commandscript();
|
|
void AddSC_achievement_commandscript();
|
|
void AddSC_arena_commandscript();
|
|
void AddSC_ban_commandscript();
|
|
void AddSC_bf_commandscript();
|
|
void AddSC_cast_commandscript();
|
|
void AddSC_character_commandscript();
|
|
void AddSC_cheat_commandscript();
|
|
void AddSC_debug_commandscript();
|
|
void AddSC_deserter_commandscript();
|
|
void AddSC_disable_commandscript();
|
|
void AddSC_event_commandscript();
|
|
void AddSC_gm_commandscript();
|
|
void AddSC_go_commandscript();
|
|
void AddSC_gobject_commandscript();
|
|
void AddSC_guild_commandscript();
|
|
void AddSC_honor_commandscript();
|
|
void AddSC_instance_commandscript();
|
|
void AddSC_learn_commandscript();
|
|
void AddSC_lfg_commandscript();
|
|
void AddSC_list_commandscript();
|
|
void AddSC_lookup_commandscript();
|
|
void AddSC_message_commandscript();
|
|
void AddSC_misc_commandscript();
|
|
void AddSC_mmaps_commandscript();
|
|
void AddSC_modify_commandscript();
|
|
void AddSC_npc_commandscript();
|
|
void AddSC_quest_commandscript();
|
|
void AddSC_reload_commandscript();
|
|
void AddSC_reset_commandscript();
|
|
void AddSC_server_commandscript();
|
|
void AddSC_spectator_commandscript();
|
|
void AddSC_tele_commandscript();
|
|
void AddSC_ticket_commandscript();
|
|
void AddSC_titles_commandscript();
|
|
void AddSC_wp_commandscript();
|
|
void AddSC_player_commandscript();
|
|
void AddSC_cache_commandscript();
|
|
void AddSC_item_commandscript();
|
|
|
|
// The name of this function should match:
|
|
// void Add${NameOfDirectory}Scripts()
|
|
void AddCommandsScripts()
|
|
{
|
|
AddSC_account_commandscript();
|
|
AddSC_achievement_commandscript();
|
|
AddSC_arena_commandscript();
|
|
AddSC_ban_commandscript();
|
|
AddSC_bf_commandscript();
|
|
AddSC_cast_commandscript();
|
|
AddSC_character_commandscript();
|
|
AddSC_cheat_commandscript();
|
|
AddSC_debug_commandscript();
|
|
AddSC_deserter_commandscript();
|
|
AddSC_disable_commandscript();
|
|
AddSC_event_commandscript();
|
|
AddSC_gm_commandscript();
|
|
AddSC_go_commandscript();
|
|
AddSC_gobject_commandscript();
|
|
AddSC_guild_commandscript();
|
|
AddSC_honor_commandscript();
|
|
AddSC_instance_commandscript();
|
|
AddSC_learn_commandscript();
|
|
AddSC_lfg_commandscript();
|
|
AddSC_list_commandscript();
|
|
AddSC_lookup_commandscript();
|
|
AddSC_message_commandscript();
|
|
AddSC_misc_commandscript();
|
|
AddSC_mmaps_commandscript();
|
|
AddSC_modify_commandscript();
|
|
AddSC_npc_commandscript();
|
|
AddSC_quest_commandscript();
|
|
AddSC_reload_commandscript();
|
|
AddSC_reset_commandscript();
|
|
AddSC_server_commandscript();
|
|
AddSC_spectator_commandscript();
|
|
AddSC_tele_commandscript();
|
|
AddSC_ticket_commandscript();
|
|
AddSC_titles_commandscript();
|
|
AddSC_wp_commandscript();
|
|
AddSC_player_commandscript();
|
|
AddSC_cache_commandscript();
|
|
AddSC_item_commandscript();
|
|
}
|