private void SnifferService_MemoryReadout(object sender, RockSnifferLib.Events.OnMemoryReadoutArgs args)
        {
            // only process this if there's an active song and we don't already know about its sections
            if ((this.songDetails != null) && (this.ssvm.Sections.Count == 0))
            {
                // the first readouts of a song, and all the readouts from menus have blank arrangementIDs
                if ((args.memoryReadout != null) && (!string.IsNullOrEmpty(args.memoryReadout.arrangementID)))
                {
                    ArrangementDetails arrangement = this.songDetails.arrangements.Find(a => a.arrangementID.Equals(args.memoryReadout.arrangementID));

                    if (arrangement != null)
                    {
                        this.ssvm.Sections = arrangement.sections;
                    }
                }
            }
        }
Esempio n. 2
0
 private void SnifferService_MemoryReadout(object sender, RockSnifferLib.Events.OnMemoryReadoutArgs args)
 {
     this.UpdateNoteData(args.memoryReadout.noteData, args.memoryReadout.songTimer);
 }
Esempio n. 3
0
 private void Sniffer_OnMemoryReadout(object sender, RockSnifferLib.Events.OnMemoryReadoutArgs e)
 {
     readout = e.memoryReadout;
     UpdatePresence();
 }