private static List <string> ColoursSection(SkinColoursSection section) { var list = WriteHelper.BaseListFormat("Colours"); for (int i = 0; i < section.ComboColours.Count; i++) { list.Add($"Combo{i + 1} : {WriteHelper.Colour(section.ComboColours[i])}"); } list.AddRange(new string[] { $"InputOverlayText: {WriteHelper.Colour(section.InputOverlayText)}", $"MenuGlow: {WriteHelper.Colour(section.MenuGlow)}", $"SliderBall: {WriteHelper.Colour(section.SliderBall)}", $"SliderBorder: {WriteHelper.Colour(section.SliderBorder)}" }); if (section.SliderTrackOverride != default) { list.Add($"SliderTrackOverride: {WriteHelper.Colour(section.SliderTrackOverride)}"); } list.AddRange(new string[] { $"SongSelectActiveText: {WriteHelper.Colour(section.SongSelectActiveText)}", $"SongSelectInactiveText: {WriteHelper.Colour(section.SongSelectInactiveText)}", $"SpinnerBackground: {WriteHelper.Colour(section.SpinnerBackground)}", $"StarBreakAdditive: {WriteHelper.Colour(section.StarBreakAdditive)}" }); return(list); }
public static List <string> Colours(BeatmapColoursSection section) { if (section.ComboColours.Count == 0 && section.SliderTrackOverride == default && section.SliderBorder == default) { return(new List <string>()); } var list = WriteHelper.BaseListFormat("Colours"); if (section.ComboColours != null) { for (int i = 0; i < section.ComboColours.Count; i++) { list.Add($"Combo{i + 1} : {WriteHelper.Colour(section.ComboColours[i])}"); } } if (section.SliderTrackOverride != default) { list.Add($"SliderTrackOverride : {WriteHelper.Colour(section.SliderTrackOverride)}"); } if (section.SliderBorder != default) { list.Add($"SliderBorder : {WriteHelper.Colour(section.SliderBorder)}"); } return(list); }
public static List <string> Colours(List <Color> colours) { if (colours.Count == 0) { return(new List <string>()); } var list = BaseListFormat("Colours"); if (colours != null) { for (int i = 0; i < colours.Count; i++) { list.Add(WriteHelper.Colour(colours[i], i + 1)); } } return(list); }
private static List <string> CatchTheBeatSection(SkinCatchTheBeatSection section) { var list = WriteHelper.BaseListFormat("CatchTheBeat"); list.Add($"HyperDash: {WriteHelper.Colour(section.HyperDash)}"); if (section.HyperDashFruit != section.HyperDash) { list.Add($"HyperDashFruit: {WriteHelper.Colour(section.HyperDashFruit)}"); } if (section.HyperDashAfterImage != section.HyperDash) { list.Add($"HyperDashAfterImage: {WriteHelper.Colour(section.HyperDashAfterImage)}"); } return(list); }