TRK is a CSV format that defines a HIT track.
Exemple #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);
         }
     }
 }
Exemple #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);
     }
 }