public static int HasGotAchievementRelationId(IntPtr l) { int result; try { DataSectionRift dataSectionRift = (DataSectionRift)LuaObject.checkSelf(l); int achievementId; LuaObject.checkType(l, 2, out achievementId); bool b = dataSectionRift.HasGotAchievementRelationId(achievementId); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }