TRK is a CSV format that defines a HIT track.
Ejemplo n.º 1
0
 public void SetTrack(uint value, uint fallback)
 {
     if (audContent.TracksById.ContainsKey(value))
     {
         ActiveTrack = audContent.TracksById[value];
         Patch = ActiveTrack.SoundID;
     }
     else
     {
         if (audContent.TracksById.ContainsKey(fallback))
         {
             ActiveTrack = audContent.TracksById[fallback];
             Patch = ActiveTrack.SoundID;
         }
         else
         {
             Debug.WriteLine("Couldn't find track: " + value +", with alternative "+fallback);
         }
     }
 }
Ejemplo n.º 2
0
 public void SetTrack(uint value)
 {
     if (audContent.TracksById.ContainsKey(value))
     {
         ActiveTrack = audContent.TracksById[value];
         Patch = ActiveTrack.SoundID;
     }
     else
     {
         Debug.WriteLine("Couldn't find track: " + value);
     }
 }