[DiscordArchive] Is it possible to use eluna functions from my c++ modules?
[DiscordArchive] Is it possible to use eluna functions from my c++ modules?
Archived author: devout_filidh • Posted: 2025-08-19T11:20:37.311000+00:00
Original source
Is it possible to use eluna functions from my c++ modules?
Archived author: iThorgrim • Posted: 2025-08-19T11:22:49.789000+00:00
Original source
If you create a module you don't have to use Eluna function, just use the C++ methods
Archived author: iThorgrim • Posted: 2025-08-19T11:23:20.976000+00:00
Original source
I don't know if I understood correctly
Archived author: iThorgrim • Posted: 2025-08-19T11:23:43.495000+00:00
Original source
Eluna it's like a """translator""" from Lua to C++
Archived author: iThorgrim • Posted: 2025-08-19T11:23:54.468000+00:00
Original source
So all methods available inside Eluna are available in C++
Archived author: devout_filidh • Posted: 2025-08-19T11:24:10.271000+00:00
Original source
I'm trying to transfer data from c++ into a custom addon. I see eluna has some functions that send data into addons, i have no idea how to do this in c++ yet
Archived author: iThorgrim • Posted: 2025-08-19T11:27:15.414000+00:00
Original source
For sending addon Message you can see here how to do this :
https://github.com/azerothcore/mod-eluna...ds.h#L3379
Archived author: devout_filidh • Posted: 2025-08-19T11:28:12.917000+00:00
Original source
you mean SendAddonMessage(lua_State* L, Player* player) ?
Archived author: iThorgrim • Posted: 2025-08-19T11:29:54.523000+00:00
Original source
Yeah just read the code inside and recreate this one in your module
Archived author: devout_filidh • Posted: 2025-08-19T11:30:12.218000+00:00
Original source
I've been trying and failing for days now