Skip to content

Commit 6252799

Browse files
committed
Remove unused query
1 parent ce9780b commit 6252799

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/NexusMods.Abstractions.Games/SortOrder/SortOrderQueries.cs

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,11 @@ namespace NexusMods.Abstractions.Games;
66

77
public static class SortOrderQueries
88
{
9-
public static IObservable<IChangeSet<(EntityId CollectionId, EntityId LoadoutId, ulong TxId),EntityId>> TrackCollectionAndLoadoutChanges(IConnection connection, GameId gameId)
10-
{
11-
return connection.Query<(EntityId ChangedCollection, EntityId LoaodutId, ulong TxId)>($"""
12-
SELECT * FROM sortorder.TrackCollectionAndLoadoutChanges({connection}, {gameId.Value})
13-
"""
14-
)
15-
.Observe(x => x.ChangedCollection);
16-
}
17-
18-
public static IObservable<IChangeSet<(EntityId ItemId, EntityId GroupId, EntityId CollectionId, EntityId LoadoutId), EntityId>> TrackLoadoutItemChanges(IConnection connection, GameId gameId)
9+
/// <summary>
10+
/// Returns an observable of changes to loadoutItemsWithTargetPath in the specified game.
11+
/// </summary>
12+
public static IObservable<IChangeSet<(EntityId ItemId, EntityId GroupId, EntityId CollectionId, EntityId LoadoutId), EntityId>>
13+
TrackLoadoutItemChanges(IConnection connection, GameId gameId)
1914
{
2015
return connection.Query<(EntityId ItemId, EntityId GroupId, EntityId CollectionId, EntityId LoadoutId)>($"""
2116
SELECT * FROM sortorder.TrackLoadoutItemChanges({connection}, {gameId.Value})

0 commit comments

Comments
 (0)