static int OnSetLuaTable(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); EventTriggerListener obj = (EventTriggerListener)ToLua.CheckObject <EventTriggerListener>(L, 1); LuaTable arg0 = ToLua.CheckLuaTable(L, 2); obj.OnSetLuaTable(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }