Exemplo n.º 1
0
        /// <summary>
        /// Returns a copy of this memory readout
        /// </summary>
        /// <returns></returns>
        public RSMemoryReadout Clone()
        {
            RSMemoryReadout copy = new RSMemoryReadout();

            CopyTo(ref copy);

            return(copy);
        }
Exemplo n.º 2
0
 public virtual void CopyTo(ref RSMemoryReadout copy)
 {
     if (copy.mode == RSMode.LEARNASONG)
     {
         copy.LASData.TotalNotesHit     = TotalNotesHit;
         copy.LASData.CurrentHitStreak  = CurrentHitStreak;
         copy.LASData.HighestHitStreak  = HighestHitStreak;
         copy.LASData.TotalNotesMissed  = TotalNotesMissed;
         copy.LASData.CurrentMissStreak = CurrentMissStreak;
     }
 }
Exemplo n.º 3
0
        /// <summary>
        /// Copy the fields from this readout to another
        /// </summary>
        /// <param name="copy">target readout</param>
        internal void CopyTo(ref RSMemoryReadout copy)
        {
            copy.songTimer = songTimer;

            copy.songID        = songID;
            copy.arrangementID = arrangementID;
            copy.gameStage     = gameStage;

            copy.mode = mode;

            copy.noteData = noteData;
        }
Exemplo n.º 4
0
        /// <summary>
        /// Copy the fields from this readout to another
        /// </summary>
        /// <param name="copy">target readout</param>
        internal void CopyTo(ref RSMemoryReadout copy)
        {
            copy.songTimer    = songTimer;
            copy.songID       = songID;
            copy.persistentID = persistentID;

            copy.mode      = mode;
            copy.gameState = gameState;

            LASData.CopyTo(ref copy);
            SAData.CopyTo(ref copy);
        }
Exemplo n.º 5
0
        /// <summary>
        /// Copy the fields from this readout to another
        /// </summary>
        /// <param name="copy">target readout</param>
        internal void CopyTo(ref RSMemoryReadout copy)
        {
            copy.songTimer = songTimer;

            copy.songID = songID;

            copy.mode = mode;

            copy.totalNotesHit     = totalNotesHit;
            copy.currentHitStreak  = currentHitStreak;
            copy.highestHitStreak  = highestHitStreak;
            copy.totalNotesMissed  = totalNotesMissed;
            copy.currentMissStreak = currentMissStreak;
        }
Exemplo n.º 6
0
        public override void CopyTo(ref RSMemoryReadout copy)
        {
            if (copy.mode == RSMode.SCOREATTACK)
            {
                copy.SAData.TotalNotesHit     = TotalNotesHit;
                copy.SAData.CurrentHitStreak  = CurrentHitStreak;
                copy.SAData.HighestHitStreak  = HighestHitStreak;
                copy.SAData.TotalNotesMissed  = TotalNotesMissed;
                copy.SAData.CurrentMissStreak = CurrentMissStreak;

                copy.SAData.CurrentPerfectHitStreak = CurrentPerfectHitStreak;
                copy.SAData.TotalPerfectHits        = TotalPerfectHits;
                copy.SAData.CurrentLateHitStreak    = CurrentLateHitStreak;
                copy.SAData.TotalLateHits           = TotalLateHits;

                copy.SAData.PassedPhrases  = PassedPhrases;
                copy.SAData.FailedPhrases  = FailedPhrases;
                copy.SAData.GoodPhrases    = GoodPhrases;
                copy.SAData.PerfectPhrases = PerfectPhrases;
            }
        }