-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add RegisterSpellEvent #213
base: master
Are you sure you want to change the base?
Conversation
### Eluna Module Updates: Lua Version and Static Linking Support Recent updates to the **Eluna** module in **AzerothCore** introduce new configuration options to manage Lua versions and static linking: - **`-DLUA_VERSION=luajit/lua52/lua53/lua54`**: Select the Lua version for the module, supporting LuaJIT, Lua 5.2, 5.3, or 5.4. - **`-DLUA_STATIC=on/off`**: Configure whether Lua should be linked statically or dynamically. These options allow flexible Lua integration, building on Eluna's existing capabilities to handle different Lua versions. The changes also improve compatibility and performance by enabling static linking where needed. #### Integration with Eluna This functionality extends Eluna's existing support for Lua compatibility, mainly in **ElunaCompat.cpp**, which handles Lua version-specific interactions. These updates enhance Eluna’s adaptability for various Lua configurations in **AzerothCore**.
Do me a favor and reference the original eluna commits again. Thanks! |
It's not based on Eluna's work, it's “just” a copy/paste of RegisterCreatureEvent, but if you want it's Eluna's git commit: ElunaLuaEngine@c952ad5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a test for a few kinds of different events at least. Then it is good to go IMO. Thanks for the PR!
This add new RegisterEvent for Spell (RegisterSpellEvent) with 3 hook (for the moment):
This required AC PR : azerothcore/azerothcore-wotlk#21149
This required Eluna PR : #211