Skip to content

Commit f23fc2b

Browse files
committed
Remove GetActiveGameIndexMethod
1 parent 945ee46 commit f23fc2b

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

Sources/AutoSplitterCoreModule.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,6 @@ public interface IAutoSplitterCoreInterface
164164
/// </summary>
165165
Action<int /* ActiveGameIndex */> SetActiveGameIndexMethod { get; set; }
166166

167-
// <summary>
168-
/// Method that gets called when HCM is loading to set Current ActiveIndex on AutoSplitter game selction.
169-
/// An int will be return with the current ActiveGame on AutoSplitterCore.
170-
/// The method should be filled once the registration method is called.
171-
/// </summary>
172-
Func<int> GetActiveGameIndexMethod { get; set; }
173-
174167
/// <summary>
175168
/// Method that gets called when the user changes the PracticeMode.
176169
/// A bool will be given with the new PracticeMode setting.
@@ -256,8 +249,6 @@ public bool GetCurrentInGameTime(out long totalTimeMs)
256249

257250
public void SetActiveGameIndex(int ActiveGameIndex) => SetActiveGameIndexMethod?.Invoke(ActiveGameIndex);
258251

259-
public int GetActiveGameIndex() => GetActiveGameIndexMethod.Invoke();
260-
261252
public void SetPracticeMode(bool PracticeMode) => SetPracticeModeMethod?.Invoke(PracticeMode);
262253

263254
public void SplitterReset() => SplitterResetMethod?.Invoke();
@@ -322,8 +313,6 @@ public void HitSumUp(int Amount, bool IsWayHit)
322313

323314
public Action<int /* ActiveGameIndex */> SetActiveGameIndexMethod { get; set; }
324315

325-
public Func<int> GetActiveGameIndexMethod { get; set; }
326-
327316
public Action<bool /* PracticeMode */> SetPracticeModeMethod { get; set; }
328317

329318
public Action SplitterResetMethod { get; set; }

Sources/Form1.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ private void Form1_Load(object sender, EventArgs e)
8989
{
9090
comboBoxGame.Items.Add(game);
9191
}
92-
comboBoxGame.SelectedIndex = InterfaceASC.GetActiveGameIndex();
9392

9493
LoadAutoSplitterHotKeys();
9594
}

0 commit comments

Comments
 (0)