mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
restructure how module register themselves
This commit is contained in:
+1
-16
@@ -15,14 +15,6 @@
|
||||
#include "Game.h"
|
||||
#include "MinHook.h"
|
||||
#include "Offsets.h"
|
||||
#include "event/Util.h"
|
||||
#include "item/Bound.h"
|
||||
#include "item/Data.h"
|
||||
#include "item/ID.h"
|
||||
#include "item/Info.h"
|
||||
#include "quest/Log.h"
|
||||
#include "spell/Info.h"
|
||||
#include "spell/Tooltip.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -41,14 +33,7 @@ static bool __fastcall FrameScript_Initialize_h() {
|
||||
|
||||
static void __fastcall LoadScriptFunctions_h() {
|
||||
LoadScriptFunctions_o();
|
||||
Spell::Tooltip::RegisterLuaFunctions();
|
||||
Spell::Info::RegisterLuaFunctions();
|
||||
Quest::Log::RegisterLuaFunctions();
|
||||
Item::Bound::RegisterLuaFunctions();
|
||||
Item::Data::RegisterLuaFunctions();
|
||||
Item::ID::RegisterLuaFunctions();
|
||||
Item::Info::RegisterLuaFunctions();
|
||||
Event::Util::RegisterLuaFunctions();
|
||||
Game::RunModuleRegistrations();
|
||||
}
|
||||
|
||||
BOOL APIENTRY DllMain(HMODULE hModule, DWORD reason, LPVOID lpReserved) {
|
||||
|
||||
Reference in New Issue
Block a user