adding stash calibration

This commit is contained in:
Boki 2026-02-18 19:41:05 -05:00
parent 23c581cff9
commit 3ae65d0e64
17 changed files with 848 additions and 111 deletions

View file

@ -32,6 +32,8 @@ public class SavedSettings
public bool Headless { get; set; } = true;
public BotMode Mode { get; set; } = BotMode.Trading;
public MapType MapType { get; set; } = MapType.TrialOfChaos;
public StashCalibration? StashCalibration { get; set; }
public StashCalibration? ShopCalibration { get; set; }
}
public class ConfigStore

View file

@ -0,0 +1,18 @@
namespace Poe2Trade.Core;
public class StashTabInfo
{
public string Name { get; set; } = "";
public int Index { get; set; }
public int ClickX { get; set; }
public int ClickY { get; set; }
public bool IsFolder { get; set; }
public int GridCols { get; set; } = 12;
public List<StashTabInfo> SubTabs { get; set; } = [];
}
public class StashCalibration
{
public List<StashTabInfo> Tabs { get; set; } = [];
public long CalibratedAt { get; set; }
}