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