コード例 #1
0
        //public List<SkinManiaSection> ManiaSections { get; set; }

        public Skin()
        {
            GeneralSection      = new SkinGeneralSection();
            ColoursSection      = new SkinColoursSection();
            FontsSection        = new SkinFontsSection();
            CatchTheBeatSection = new SkinCatchTheBeatSection();
            //ManiaSections = new List<SkinManiaSection>();
        }
コード例 #2
0
ファイル: SkinWriter.cs プロジェクト: 123tris/OsuParsers
        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);
        }