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