public static int GetAllRiftLevelStars(IntPtr l) { int result; try { DataSectionRift dataSectionRift = (DataSectionRift)LuaObject.checkSelf(l); int allRiftLevelStars = dataSectionRift.GetAllRiftLevelStars(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, allRiftLevelStars); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }