예제 #1
0
        public AccuracyIndicator()
        {
            Instance = this;
            Harmony  = new Harmony("com.biendeo.accuracyindicator");
            PatchBase.InitializePatches(Harmony, Assembly.GetExecutingAssembly(), Logger);

            lastSongTime  = -5.0;
            changelogRect = new Rect(400.0f, 400.0f, 100.0f, 100.0f);
        }
예제 #2
0
        public PerfectMode()
        {
            Instance = this;
            Harmony  = new Harmony("com.biendeo.perfectmode");
            PatchBase.InitializePatches(Harmony, Assembly.GetExecutingAssembly(), Logger);

            settingsScrollPosition = new Vector2();
            changelogRect          = new Rect(400.0f, 400.0f, 100.0f, 100.0f);
        }
예제 #3
0
        public ComboIndicator()
        {
            Instance = this;
            Harmony  = new Harmony("com.biendeo.comboindicator");
            PatchBase.InitializePatches(Harmony, Assembly.GetExecutingAssembly(), Logger);

            changelogRect = new Rect(400.0f, 400.0f, 100.0f, 100.0f);

            starPowers = new float[4];
        }
예제 #4
0
 public ExtraLyrics()
 {
     Instance = this;
     Harmony  = new Harmony("com.joosthoi1.bepinexdebug");
     PatchBase.InitializePatches(Harmony, Assembly.GetExecutingAssembly(), Logger);
 }
예제 #5
0
        public SongUI()
        {
            Instance = this;
            Harmony  = new Harmony("com.biendeo.extrasongui");
            PatchBase.InitializePatches(Harmony, Assembly.GetExecutingAssembly(), Logger);
            changelogRect = new Rect(400.0f, 400.0f, 100.0f, 100.0f);
            labels        = new List <Tuple <SongUILabel, GameObject, Text> >();

            totalNoteCount  = new int[bandIndex + 1];
            totalStarPowers = new int[bandIndex + 1];

            hitNotes            = new int[bandIndex + 1];
            missedNotes         = new int[bandIndex + 1];
            seenNotes           = new int[bandIndex + 1];
            hitNotesPercentage  = new double[bandIndex + 1];
            seenNotesPercentage = new double[bandIndex + 1];
            fcIndicator         = new string[bandIndex + 1];

            starPowersGotten    = new int[bandIndex + 1];
            starPowerPercentage = new double[bandIndex + 1];
            currentStarPower    = new double[bandIndex + 1];

            currentCombo = new int[bandIndex + 1];
            highestCombo = new int[bandIndex + 1];

            formatActions = new Dictionary <string, Func <string, string> > {
                { "songtime", (format) => songTime.ToString(format) },
                { "songlength", (format) => songLength.ToString(format) },
                { "songtimepercentage", (format) => songTimePercentage.ToString(format) },
                { "currentstar", (format) => currentStarCount.ToString(format) },
                { "nextstar", (format) => Math.Min(currentStarCount + 1, 7).ToString(format) },
                { "currentscore", (format) => currentScore.ToString(format) },
                { "currentstarscore", (format) => (currentScore - previousStarScore).ToString(format) },
                { "previousstarscore", (format) => previousStarScore.ToString(format) },
                { "nextstarscore", (format) => nextStarScore.ToString(format) },
                { "currentstarpercentage", (format) => nextStarPercentage.ToString(format) },
                { "sevenstarscore", (format) => sevenStarScore.ToString(format) },
                { "sevenstarpercentage", (format) => sevenStarPercentage.ToString(format) },
                { "hitnotes", (format) => hitNotes[bandIndex].ToString(format) },
                { "hitnotes1", (format) => hitNotes[0].ToString(format) },
                { "hitnotes2", (format) => hitNotes[1].ToString(format) },
                { "hitnotes3", (format) => hitNotes[2].ToString(format) },
                { "hitnotes4", (format) => hitNotes[3].ToString(format) },
                { "seennotes", (format) => seenNotes[bandIndex].ToString(format) },
                { "seennotes1", (format) => seenNotes[0].ToString(format) },
                { "seennotes2", (format) => seenNotes[1].ToString(format) },
                { "seennotes3", (format) => seenNotes[2].ToString(format) },
                { "seennotes4", (format) => seenNotes[3].ToString(format) },
                { "missednotes", (format) => missedNotes[bandIndex].ToString(format) },
                { "missednotes1", (format) => missedNotes[0].ToString(format) },
                { "missednotes2", (format) => missedNotes[1].ToString(format) },
                { "missednotes3", (format) => missedNotes[2].ToString(format) },
                { "missednotes4", (format) => missedNotes[3].ToString(format) },
                { "totalnotes", (format) => totalNoteCount[bandIndex].ToString(format) },
                { "totalnotes1", (format) => totalNoteCount[0].ToString(format) },
                { "totalnotes2", (format) => totalNoteCount[1].ToString(format) },
                { "totalnotes3", (format) => totalNoteCount[2].ToString(format) },
                { "totalnotes4", (format) => totalNoteCount[3].ToString(format) },
                { "hitnotespercentage", (format) => hitNotesPercentage[bandIndex].ToString(format) },
                { "hitnotespercentage1", (format) => hitNotesPercentage[0].ToString(format) },
                { "hitnotespercentage2", (format) => hitNotesPercentage[1].ToString(format) },
                { "hitnotespercentage3", (format) => hitNotesPercentage[2].ToString(format) },
                { "hitnotespercentage4", (format) => hitNotesPercentage[3].ToString(format) },
                { "seennotespercentage", (format) => seenNotesPercentage[bandIndex].ToString(format) },
                { "seennotespercentage1", (format) => seenNotesPercentage[0].ToString(format) },
                { "seennotespercentage2", (format) => seenNotesPercentage[1].ToString(format) },
                { "seennotespercentage3", (format) => seenNotesPercentage[2].ToString(format) },
                { "seennotespercentage4", (format) => seenNotesPercentage[3].ToString(format) },
                { "fcindicator", (format) => fcIndicator[bandIndex] },
                { "fcindicator1", (format) => fcIndicator[0] },
                { "fcindicator2", (format) => fcIndicator[1] },
                { "fcindicator3", (format) => fcIndicator[2] },
                { "fcindicator4", (format) => fcIndicator[3] },
                { "starpowersgotten", (format) => starPowersGotten[bandIndex].ToString(format) },
                { "starpowersgotten1", (format) => starPowersGotten[0].ToString(format) },
                { "starpowersgotten2", (format) => starPowersGotten[1].ToString(format) },
                { "starpowersgotten3", (format) => starPowersGotten[2].ToString(format) },
                { "starpowersgotten4", (format) => starPowersGotten[3].ToString(format) },
                { "totalstarpowers", (format) => totalStarPowers[bandIndex].ToString(format) },
                { "totalstarpowers1", (format) => totalStarPowers[0].ToString(format) },
                { "totalstarpowers2", (format) => totalStarPowers[1].ToString(format) },
                { "totalstarpowers3", (format) => totalStarPowers[2].ToString(format) },
                { "totalstarpowers4", (format) => totalStarPowers[3].ToString(format) },
                { "starpowerpercentage", (format) => starPowerPercentage[bandIndex].ToString(format) },
                { "starpowerpercentage1", (format) => starPowerPercentage[0].ToString(format) },
                { "starpowerpercentage2", (format) => starPowerPercentage[1].ToString(format) },
                { "starpowerpercentage3", (format) => starPowerPercentage[2].ToString(format) },
                { "starpowerpercentage4", (format) => starPowerPercentage[3].ToString(format) },
                { "currentstarpower", (format) => currentStarPower[bandIndex].ToString(format) },
                { "currentstarpower1", (format) => currentStarPower[0].ToString(format) },
                { "currentstarpower2", (format) => currentStarPower[1].ToString(format) },
                { "currentstarpower3", (format) => currentStarPower[2].ToString(format) },
                { "currentstarpower4", (format) => currentStarPower[3].ToString(format) },
                { "currentcombo", (format) => currentCombo[bandIndex].ToString(format) },
                { "currentcombo1", (format) => currentCombo[0].ToString(format) },
                { "currentcombo2", (format) => currentCombo[1].ToString(format) },
                { "currentcombo3", (format) => currentCombo[2].ToString(format) },
                { "currentcombo4", (format) => currentCombo[3].ToString(format) },
                { "highestcombo", (format) => highestCombo[bandIndex].ToString(format) },
                { "highestcombo1", (format) => highestCombo[0].ToString(format) },
                { "highestcombo2", (format) => highestCombo[1].ToString(format) },
                { "highestcombo3", (format) => highestCombo[2].ToString(format) },
                { "highestcombo4", (format) => highestCombo[3].ToString(format) }
            };
        }
예제 #6
0
 public GigChallenges()
 {
     Instance = this;
     Harmony  = new Harmony("com.biendeo.gigchallenges");
     PatchBase.InitializePatches(Harmony, Assembly.GetExecutingAssembly(), Logger);
 }
예제 #7
0
 public MoveLyrics()
 {
     Instance = this;
     Harmony  = new Harmony("com.joosthoi1.movelyrics");
     PatchBase.InitializePatches(Harmony, Assembly.GetExecutingAssembly(), Logger);
 }