static int Callback(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); LuaFunction arg0 = LuaScriptMgr.GetLuaFunction(L, 1); EventDelegate.Callback o = LuaHelper.Callback(arg0); LuaScriptMgr.Push(L, o); return(1); }