Пример #1
0
        public CopiedAction(ACB_Track action, ACB_CommandGroup command)
        {
            Track    = action.Copy();
            Commands = command.Copy();

            //Generate new guids
            Track.InstanceGuid           = Guid.NewGuid();
            Commands.InstanceGuid        = Guid.NewGuid();
            Track.CommandIndex           = new AcbTableReference();
            Track.CommandIndex.TableGuid = Commands.InstanceGuid;
        }
Пример #2
0
 /// <summary>
 /// Wrapper for a Track.
 /// </summary>
 public Track_Wrapper(ACB_Waveform waveform, ACB_Wrapper root, Cue_Wrapper _cueWrapper, ACB_Track track = null, ACB_ReferenceItem refItems = null)
 {
     TrackRef        = track;
     CueWrapper      = _cueWrapper;
     WaveformWrapper = new Waveform_Wrapper(waveform, root);
     WrapperRoot     = root;
     Type            = TrackType.Track;
     refItemsRef     = refItems;
 }