mirror of
https://github.com/azerothcore/mod-money-for-kills.git
synced 2026-01-13 01:08:38 +00:00
Merge pull request #16 from BytesGalore/master
refactor: updated module registration to core rev 4++
This commit is contained in:
4
.github/workflows/core-build.yml
vendored
4
.github/workflows/core-build.yml
vendored
@@ -8,8 +8,8 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
compiler: [clang6, clang9, clang10]
|
||||
runs-on: ubuntu-20.04
|
||||
compiler: [clang]
|
||||
runs-on: ubuntu-latest
|
||||
name: ${{ matrix.compiler }}
|
||||
env:
|
||||
COMPILER: ${{ matrix.compiler }}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
CU_SET_PATH("CMAKE_MOD_MONEYFORKILLS_DIR" "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
AC_ADD_SCRIPT("${CMAKE_CURRENT_LIST_DIR}/src/mod_moneyforkills.cpp")
|
||||
|
||||
AC_ADD_SCRIPT_LOADER("MoneyForKills" "${CMAKE_CURRENT_LIST_DIR}/src/loader_moneyforkills.h")
|
||||
|
||||
AC_ADD_CONFIG_FILE("${CMAKE_CURRENT_LIST_DIR}/conf/mod_moneyforkills.conf.dist")
|
||||
5
src/MFK_loader.cpp
Normal file
5
src/MFK_loader.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
void AddMoneyForKillsScripts();
|
||||
|
||||
void Addmod_money_for_killsScripts() {
|
||||
AddMoneyForKillsScripts();
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
void AddMoneyForKillsScripts();
|
||||
Reference in New Issue
Block a user