File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828using System . Reflection . Emit ;
2929using System . Collections . Generic ;
3030using System . Linq ;
31+ using System . Runtime . InteropServices ;
3132
3233namespace HitCounterManager
3334{
@@ -97,6 +98,12 @@ public interface IAutoSplitterCoreInterface
9798 /// <param name="Amount">Amount of splits that will be moved forwards/backwards</param>
9899 void ProfileSplitGo ( int Amount ) ;
99100
101+ /// <summary>
102+ /// Modifies the currently selected split on hit by Amount.
103+ /// </summary>
104+ /// <param name="Amount"></param>
105+ public void ProfileHitGo ( int Aumount , bool WayHit ) ;
106+
100107 /// <summary>
101108 /// Indicates if timer is currently running.
102109 /// </summary>
@@ -275,6 +282,8 @@ public bool PracticeMode
275282
276283 public void ProfileSplitGo ( int Amount ) => profCtrl . ProfileSplitGo ( Amount ) ;
277284
285+ public void ProfileHitGo ( int Aumount , bool WayHit ) { if ( WayHit ) profCtrl . ProfileWayHit ( Aumount ) ; else profCtrl . ProfileHit ( Aumount ) ; }
286+
278287 public bool TimerRunning => profCtrl . TimerRunning ;
279288
280289 public void StartStopTimer ( bool Start ) => form1 . StartStopTimer ( Start ) ;
You can’t perform that action at this time.
0 commit comments