static int GoOn(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Util.Timer obj = (Util.Timer)ToLua.CheckObject(L, 1, typeof(Util.Timer)); obj.GoOn(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }