@@ -24,13 +24,14 @@ public interface ITrackerItemService
2424 /// <param name="location">The location an item was tracked from</param>
2525 /// <param name="giftedItem">If the item was gifted to the player by tracker or another player</param>
2626 /// <param name="silent">If tracker should not say anything</param>
27+ /// <param name="force">If the item should be forced to be tracked while auto tracking</param>
2728 /// <returns>
2829 /// <see langword="true"/> if the item was actually tracked; <see
2930 /// langword="false"/> if the item could not be tracked, e.g. when
3031 /// tracking Bow twice.
3132 /// </returns>
3233 bool TrackItem ( Item item , string ? trackedAs = null , float ? confidence = null , bool tryClear = true ,
33- bool autoTracked = false , Location ? location = null , bool giftedItem = false , bool silent = false ) ;
34+ bool autoTracked = false , Location ? location = null , bool giftedItem = false , bool silent = false , bool force = false ) ;
3435
3536 /// <summary>
3637 /// Tracks the specifies item and clears it from the specified dungeon.
@@ -41,7 +42,8 @@ bool TrackItem(Item item, string? trackedAs = null, float? confidence = null, bo
4142 /// </param>
4243 /// <param name="hasTreasure">The dungeon the item was tracked in.</param>
4344 /// <param name="confidence">The speech recognition confidence.</param>
44- void TrackItemFrom ( Item item , IHasTreasure hasTreasure , string ? trackedAs = null , float ? confidence = null ) ;
45+ /// <param name="force">If the item should be forced to be tracked while auto tracking</param>
46+ void TrackItemFrom ( Item item , IHasTreasure hasTreasure , string ? trackedAs = null , float ? confidence = null , bool force = false ) ;
4547
4648 /// <summary>
4749 /// Tracks the specified item and clears it from the specified room.
@@ -52,7 +54,8 @@ bool TrackItem(Item item, string? trackedAs = null, float? confidence = null, bo
5254 /// </param>
5355 /// <param name="area">The area the item was found in.</param>
5456 /// <param name="confidence">The speech recognition confidence.</param>
55- void TrackItemFrom ( Item item , IHasLocations area , string ? trackedAs = null , float ? confidence = null ) ;
57+ /// <param name="force">If the item should be forced to be tracked while auto tracking</param>
58+ void TrackItemFrom ( Item item , IHasLocations area , string ? trackedAs = null , float ? confidence = null , bool force = false ) ;
5659
5760 /// <summary>
5861 /// Sets the item count for the specified item.
@@ -62,7 +65,8 @@ bool TrackItem(Item item, string? trackedAs = null, float? confidence = null, bo
6265 /// The amount of the item that is in the player's inventory now.
6366 /// </param>
6467 /// <param name="confidence">The speech recognition confidence.</param>
65- void TrackItemAmount ( Item item , int count , float confidence ) ;
68+ /// <param name="force">If the item should be forced to be tracked while auto tracking</param>
69+ void TrackItemAmount ( Item item , int count , float confidence , bool force = false ) ;
6670
6771 /// <summary>
6872 /// Tracks multiple items at the same time
@@ -77,5 +81,6 @@ bool TrackItem(Item item, string? trackedAs = null, float? confidence = null, bo
7781 /// </summary>
7882 /// <param name="item">The item to untrack.</param>
7983 /// <param name="confidence">The speech recognition confidence.</param>
80- void UntrackItem ( Item item , float ? confidence = null ) ;
84+ /// <param name="force">If the item should be forced to be untracked while auto tracking</param>
85+ void UntrackItem ( Item item , float ? confidence = null , bool force = false ) ;
8186}
0 commit comments