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