public CommandSequenceV11 ToV11() { CommandSequenceV11 output = new CommandSequenceV11(); if (_Activity != null) { output.Activity = new OptionActivityV11((ActivityV11)Enumerators.ConvertActivity(typeof(ActivityV44), typeof(ActivityV11), _Activity.Activity), _Activity.ActivityWeight); } output.Animation = _Animation; output.BlendCollection = _BlendCollection; output.Control = _Control; output.EventCollection = _EventCollection; output.FileCollection = _FileCollection; output.Fps = _Fps; output.Frame = _Frame; output.Loop = _Loop; output.Name = _Name; if (_Node != null) { if (StaticMethods.SmdFile.Length == 0) { output.Node = new OptionNodeV10(-1); } else { output.Node = new OptionNodeV10(SmdFile.GetNode(StaticMethods.SmdFile, _Node.EntryBone)); } } output.PivotCollection = _PivotCollection; output.Rotate = _Rotate; output.RTransition = _RTransition; output.Scale = _Scale; output.Transition = _Transition; return(output); }
public CommandSequenceV11 ToV11() { CommandSequenceV11 output = new CommandSequenceV11(); if (_Activity != null) { output.Activity = new OptionActivityV11((ActivityV11)Enumerators.ConvertActivity(typeof(ActivityV10), typeof(ActivityV11), _Activity.Activity), _Activity.ActivityWeight); } output.Animation = _Animation; output.BlendCollection = _BlendCollection; output.Control = _Control; output.EventCollection = _EventCollection; output.FileCollection = _FileCollection; output.Fps = _Fps; output.Frame = _Frame; output.Loop = _Loop; output.Name = _Name; output.Node = _Node; output.PivotCollection = _PivotCollection; output.Rotate = _Rotate; output.RTransition = _RTransition; output.Scale = _Scale; output.Transition = _Transition; return(output); }