[DiscordArchive] Is it possible to register a listerner that runs before eluna is restarted?
[DiscordArchive] Is it possible to register a listerner that runs before eluna is restarted?
Archived author: functorism • Posted: 2024-01-07T14:13:34.269000+00:00
Original source
Is it possible to register a listerner that runs before eluna is restarted?
Archived author: Honey • Posted: 2024-01-07T14:44:37.193000+00:00
Original source
There is a Lua-state-close event, if that's what you mean. You could make it save things to file/DB.
Archived author: functorism • Posted: 2024-01-07T14:45:23.853000+00:00
Original source
What type of event registration would that be?
Archived author: functorism • Posted: 2024-01-07T14:46:22.967000+00:00
Original source
RegisterServerEvent - ELUNA_EVENT_ON_LUA_STATE_CLOSE
Archived author: Honey • Posted: 2024-01-07T14:48:40.801000+00:00
Original source
https://www.azerothcore.org/pages/eluna/...Event.html
[Embed: Global:RegisterServerEvent - Eluna]
API documentation for the Global:RegisterServerEvent method in the Eluna engine.
https://www.azerothcore.org/pages/eluna/...Event.html
Archived author: Honey • Posted: 2024-01-07T14:48:43.568000+00:00
Original source
Right
Archived author: functorism • Posted: 2024-01-07T14:51:19.478000+00:00
Original source
Worked great
Archived author: functorism • Posted: 2024-01-07T14:51:22.606000+00:00
Original source
Thanks