mirror of
https://github.com/azerothcore/mod-learn-spells.git
synced 2026-01-13 00:58:37 +00:00
refactor: updated module registration to core rev 4++
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
AC_ADD_SCRIPT("${CMAKE_CURRENT_LIST_DIR}/src/mod_learnspells.cpp")
|
||||
AC_ADD_SCRIPT_LOADER("LearnAllSpells" "${CMAKE_CURRENT_LIST_DIR}/src/loader.h")
|
||||
AC_ADD_CONFIG_FILE("${CMAKE_CURRENT_LIST_DIR}/conf/mod_learnspells.conf.dist")
|
||||
@@ -3,16 +3,8 @@
|
||||
* Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore>
|
||||
*/
|
||||
|
||||
#ifndef _LEARN_ALL_SPELLS_LOADER_H_
|
||||
#define _LEARN_ALL_SPELLS_LOADER_H_
|
||||
|
||||
// From SC
|
||||
void AddSC_LearnAllSpells();
|
||||
|
||||
// Add all
|
||||
void AddLearnAllSpellsScripts()
|
||||
{
|
||||
void Addmod_learn_spellsScripts() {
|
||||
AddSC_LearnAllSpells();
|
||||
}
|
||||
|
||||
#endif /* _LEARN_ALL_SPELLS_LOADER_H_ */
|
||||
Reference in New Issue
Block a user