mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-03 20:03:50 +00:00
- Refactor Lua addon integration: - Update CMakeLists.txt for addon build paths - Enhance addons API headers and Lua engine interface - Add new Lua API addon modules (`lua_api_helpers`, `lua_api_registrations`, `lua_services`, `lua_action_api`, `lua_inventory_api`, `lua_quest_api`, `lua_social_api`, `lua_spell_api`, `lua_system_api`, `lua_unit_api`) - Update implementation in addon_manager.cpp, lua_engine.cpp, application.cpp, game_handler.cpp
18 lines
591 B
C++
18 lines
591 B
C++
// lua_api_registrations.hpp — Forward declarations for per-domain Lua API
|
|
// registration functions. Called from LuaEngine::registerCoreAPI().
|
|
// Extracted from lua_engine.cpp as part of §5.1 (Tame LuaEngine).
|
|
#pragma once
|
|
|
|
struct lua_State;
|
|
|
|
namespace wowee::addons {
|
|
|
|
void registerUnitLuaAPI(lua_State* L);
|
|
void registerSpellLuaAPI(lua_State* L);
|
|
void registerInventoryLuaAPI(lua_State* L);
|
|
void registerQuestLuaAPI(lua_State* L);
|
|
void registerSocialLuaAPI(lua_State* L);
|
|
void registerSystemLuaAPI(lua_State* L);
|
|
void registerActionLuaAPI(lua_State* L);
|
|
|
|
} // namespace wowee::addons
|