mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Change Eluna to a global variable
Remove Eluna* from being passed. You can now get it through Eluna::GetEluna(L) Change function call cleanup to lua_settop instead of manual loop Explicitly delete the copy constructor and copy assignment operators
This commit is contained in:
@@ -37,7 +37,7 @@ extern "C"
|
||||
#include "VehicleMethods.h"
|
||||
#include "BattleGroundMethods.h"
|
||||
|
||||
ElunaGlobal::ElunaRegister GlobalMethods[] =
|
||||
luaL_Reg GlobalMethods[] =
|
||||
{
|
||||
// Hooks
|
||||
{ "RegisterPacketEvent", &LuaGlobalFunctions::RegisterPacketEvent },
|
||||
|
||||
Reference in New Issue
Block a user