Esempio n. 1
0
 public object Clone()
 {
     return(new LiveSplitState()
     {
         Run = Run.Clone() as IRun,
         Form = Form,
         Layout = Layout.Clone() as ILayout,
         Settings = Settings.Clone() as ISettings,
         LayoutSettings = LayoutSettings.Clone() as LayoutSettings,
         AdjustedStartTime = AdjustedStartTime,
         StartTimeWithOffset = StartTimeWithOffset,
         StartTime = StartTime,
         TimePausedAt = TimePausedAt,
         GameTimePauseTime = GameTimePauseTime,
         isGameTimePaused = isGameTimePaused,
         LoadingTimes = LoadingTimes,
         CurrentPhase = CurrentPhase,
         CurrentSplitIndex = CurrentSplitIndex,
         CurrentComparison = CurrentComparison,
         CurrentHotkeyProfile = CurrentHotkeyProfile,
         CurrentTimingMethod = CurrentTimingMethod,
         AttemptStarted = AttemptStarted,
         AttemptEnded = AttemptEnded
     });
 }
Esempio n. 2
0
 public object Clone()
 {
     return(new LiveSplitState()
     {
         Run = Run.Clone() as IRun,
         Form = Form,
         Layout = Layout.Clone() as ILayout,
         Settings = Settings.Clone() as ISettings,
         LayoutSettings = LayoutSettings.Clone() as LayoutSettings,
         StartTime = StartTime,
         PauseTime = PauseTime,
         GameTimePauseTime = GameTimePauseTime,
         isGameTimePaused = isGameTimePaused,
         LoadingTimes = LoadingTimes,
         CurrentPhase = CurrentPhase,
         CurrentSplitIndex = CurrentSplitIndex,
         CurrentComparison = CurrentComparison,
         CurrentTimingMethod = CurrentTimingMethod,
     });
 }