Ejemplo n.º 1
0
        private static int?ConvertHuntingHornNote(HuntingHornNoteColor note)
        {
            if (note == HuntingHornNoteColor.Disabled)
            {
                return(null);
            }

            return((int)note);
        }
Ejemplo n.º 2
0
        private bool IsSongNoteAvailable(HuntingHornNoteColor note, HuntingHornNotesPrimitive notes)
        {
            if (note == HuntingHornNoteColor.Disabled)
            {
                return(true);
            }

            return(note == notes.Note1 || note == notes.Note2 || note == notes.Note3);
        }
 private HuntingHornNotesPrimitive(
     uint songId,
     HuntingHornNoteColor note1,
     HuntingHornNoteColor note2,
     HuntingHornNoteColor note3
     )
 {
     SongId = songId;
     Note1  = note1;
     Note2  = note2;
     Note3  = note3;
 }
 private HuntingHornSongPrimitive(
     HuntingHornSongEffect effect,
     HuntingHornNoteColor note1,
     HuntingHornNoteColor note2,
     HuntingHornNoteColor note3,
     HuntingHornNoteColor note4
     )
 {
     Effect = effect;
     Note1  = note1;
     Note2  = note2;
     Note3  = note3;
     Note4  = note4;
 }