forked from TehCheat/Stashie
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFilterResult.cs
More file actions
24 lines (22 loc) · 730 Bytes
/
FilterResult.cs
File metadata and controls
24 lines (22 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using SharpDX;
namespace Stashie
{
public class FilterResult
{
public FilterResult(CustomFilter filter, ItemData itemData)
{
Filter = filter;
ItemData = itemData;
StashIndex = filter.StashIndexNode.Index;
ClickPos = itemData.GetClickPosCache();
SkipSwitchTab = Filter.Commands.Contains("affinity");
ShiftForStashing = Filter.Commands.Contains("shifting");
}
public CustomFilter Filter { get; }
public ItemData ItemData { get; }
public int StashIndex { get; }
public Vector2 ClickPos { get; }
public bool SkipSwitchTab { get; }
public bool ShiftForStashing { get; }
}
}