refactor: updated module registration to core rev 4++ (#15)
Co-authored-by: BytesGalore <3903215+BytesGalore@users.noreply.github.com>
This commit is contained in:
parent
d931077c99
commit
9705cfb8ee
3 changed files with 11 additions and 8 deletions
|
|
@ -1,7 +0,0 @@
|
|||
CU_SET_PATH("CMAKE_MOD_CONGRATSONLEVEL_DIR" "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
AC_ADD_SCRIPT("${CMAKE_CURRENT_LIST_DIR}/src/mod_congratsonlevel.cpp")
|
||||
|
||||
AC_ADD_SCRIPT_LOADER("CongratsOnLevel" "${CMAKE_CURRENT_LIST_DIR}/src/loader_congratsonlevel.h")
|
||||
|
||||
AC_ADD_CONFIG_FILE("${CMAKE_CURRENT_LIST_DIR}/conf/mod_congratsonlevel.conf.dist")
|
||||
11
src/COL_loader.cpp
Normal file
11
src/COL_loader.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
|
||||
* Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore>
|
||||
*/
|
||||
|
||||
void AddCongratsOnLevelScripts();
|
||||
|
||||
void Addmod_congrats_on_levelScripts()
|
||||
{
|
||||
AddCongratsOnLevelScripts();
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
void AddCongratsOnLevelScripts();
|
||||
Loading…
Add table
Add a link
Reference in a new issue