public SoundFileEventArgs(T file, SoundBankEvent sourceEvent) { File = file; SourceEvent = sourceEvent; }
/// <summary> /// Scans a SoundBankEvent for sound files. /// </summary> /// <param name="bank">The SoundBank that the event belongs to.</param> /// <param name="ev">The SoundBankEvent to scan.</param> public void ScanEvent(SoundBank bank, SoundBankEvent ev) { _currentBank = bank; Visit(ev); }
public void Visit(SoundBankEvent ev) { // Scan each action in the event _currentEvent = ev; DispatchAll(ev.ActionIDs); }