public static string GetMasteryListData(MasteryListData masteryListData) { if (masteryListData == MasteryListData.All) { return "all"; } else if (masteryListData == MasteryListData.Image) { return "image"; } else if (masteryListData == MasteryListData.Prereq) { return "prereq"; } else if (masteryListData == MasteryListData.Ranks) { return "ranks"; } else if (masteryListData == MasteryListData.SanitizedDescription) { return "sanitizedDescritpion"; } else if (masteryListData == MasteryListData.Tree) { return "tree"; } else { return ""; } }