-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added "Open Crafting Log", "Open Gathering Log", "Open Fishing Log" c…
…ontext menu options Added "Open Crafting Log", "Open Gathering Log", "Open Fishing Log", "Open Log" hotkeys All sources/uses now have detailed tooltips(with more improvements to come), grouping, click actions, right click actions The "Acquisition" column can now have which icons it shows configured(uses column to come in a later version) When uptimes are listed, it will show the soonest uptime along with an icon that shows all uptimes for that item Added a "Expert Delivery Seal Count" column/filter Issues with searching for items when adding to craft/curated lists are fixed
- Loading branch information
1 parent
0d56bda
commit d48d4d6
Showing
151 changed files
with
4,497 additions
and
1,838 deletions.
There are no files selected for viewing
Submodule CriticalCommonLib
updated
11 files
+26 −1 | Crafting/CraftingCache.cs | |
+1 −6 | CriticalCommonLib.csproj | |
+1 −1 | Extensions/ItemInfoTypeExtension.cs | |
+16 −0 | GameStructs/HousingTerritory2.cs | |
+1 −0 | MarketBoard/MarketCache.cs | |
+2 −0 | Models/Icons.cs | |
+4 −2 | Services/CharacterMonitor.cs | |
+11 −4 | Services/InventoryScanner.cs | |
+19 −4 | Services/Ui/AtkRetainerList.cs | |
+15 −1 | Utils.cs | |
+9 −15 | packages.lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using AllaganLib.GameSheets.Sheets; | ||
using CriticalCommonLib; | ||
using CriticalCommonLib.Services; | ||
using CriticalCommonLib.Services.Mediator; | ||
|
||
using InventoryTools.Mediator; | ||
using InventoryTools.Ui; | ||
using Microsoft.Extensions.Logging; | ||
using OtterGui.Classes; | ||
|
||
namespace InventoryTools.Hotkeys; | ||
|
||
public class OpenCraftingLogHotkey : Hotkey | ||
{ | ||
private readonly ItemSheet _itemSheet; | ||
private readonly IGameInterface _gameInterface; | ||
|
||
public OpenCraftingLogHotkey(ILogger<OpenCraftingLogHotkey> logger, MediatorService mediatorService, ItemSheet itemSheet, InventoryToolsConfiguration configuration, IGameInterface gameInterface) : base(logger, mediatorService, configuration) | ||
{ | ||
_itemSheet = itemSheet; | ||
_gameInterface = gameInterface; | ||
} | ||
public override ModifiableHotkey? ModifiableHotkey => Configuration.OpenCraftingLogHotKey; | ||
|
||
public override bool OnHotKey() | ||
{ | ||
var id = Service.GameGui.HoveredItem; | ||
if (id >= 2000000 || id == 0) return false; | ||
id %= 500000; | ||
var item = _itemSheet.GetRowOrDefault((uint) id); | ||
if (item == null || !item.CanOpenCraftingLog) return false; | ||
_gameInterface.OpenCraftingLog(item.RowId); | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using AllaganLib.GameSheets.Sheets; | ||
using CriticalCommonLib; | ||
using CriticalCommonLib.Services; | ||
using CriticalCommonLib.Services.Mediator; | ||
|
||
using InventoryTools.Mediator; | ||
using InventoryTools.Ui; | ||
using Microsoft.Extensions.Logging; | ||
using OtterGui.Classes; | ||
|
||
namespace InventoryTools.Hotkeys; | ||
|
||
public class OpenFishingLogHotkey : Hotkey | ||
{ | ||
private readonly ItemSheet _itemSheet; | ||
private readonly IGameInterface _gameInterface; | ||
|
||
public OpenFishingLogHotkey(ILogger<OpenFishingLogHotkey> logger, MediatorService mediatorService, ItemSheet itemSheet, InventoryToolsConfiguration configuration, IGameInterface gameInterface) : base(logger, mediatorService, configuration) | ||
{ | ||
_itemSheet = itemSheet; | ||
_gameInterface = gameInterface; | ||
} | ||
public override ModifiableHotkey? ModifiableHotkey => Configuration.OpenFishingLogHotKey; | ||
|
||
public override bool OnHotKey() | ||
{ | ||
var id = Service.GameGui.HoveredItem; | ||
if (id >= 2000000 || id == 0) return false; | ||
id %= 500000; | ||
var item = _itemSheet.GetRowOrDefault((uint) id); | ||
if (item == null || !item.CanOpenFishingLog) return false; | ||
_gameInterface.OpenFishingLog(item.RowId, item.ObtainedSpearFishing); | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using AllaganLib.GameSheets.Sheets; | ||
using CriticalCommonLib; | ||
using CriticalCommonLib.Services; | ||
using CriticalCommonLib.Services.Mediator; | ||
|
||
using InventoryTools.Mediator; | ||
using InventoryTools.Ui; | ||
using Microsoft.Extensions.Logging; | ||
using OtterGui.Classes; | ||
|
||
namespace InventoryTools.Hotkeys; | ||
|
||
public class OpenGatheringLogHotkey : Hotkey | ||
{ | ||
private readonly ItemSheet _itemSheet; | ||
private readonly IGameInterface _gameInterface; | ||
|
||
public OpenGatheringLogHotkey(ILogger<OpenGatheringLogHotkey> logger, MediatorService mediatorService, ItemSheet itemSheet, InventoryToolsConfiguration configuration, IGameInterface gameInterface) : base(logger, mediatorService, configuration) | ||
{ | ||
_itemSheet = itemSheet; | ||
_gameInterface = gameInterface; | ||
} | ||
public override ModifiableHotkey? ModifiableHotkey => Configuration.OpenGatheringLogHotKey; | ||
|
||
public override bool OnHotKey() | ||
{ | ||
var id = Service.GameGui.HoveredItem; | ||
if (id >= 2000000 || id == 0) return false; | ||
id %= 500000; | ||
var item = _itemSheet.GetRowOrDefault((uint) id); | ||
if (item == null || !item.CanOpenGatheringLog) return false; | ||
_gameInterface.OpenGatheringLog(item.RowId); | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
using AllaganLib.GameSheets.Sheets; | ||
using CriticalCommonLib; | ||
using CriticalCommonLib.Services; | ||
using CriticalCommonLib.Services.Mediator; | ||
|
||
using InventoryTools.Mediator; | ||
using InventoryTools.Ui; | ||
using Microsoft.Extensions.Logging; | ||
using OtterGui.Classes; | ||
|
||
namespace InventoryTools.Hotkeys; | ||
|
||
public class OpenItemLogHotkey : Hotkey | ||
{ | ||
private readonly ItemSheet _itemSheet; | ||
private readonly IGameInterface _gameInterface; | ||
|
||
public OpenItemLogHotkey(ILogger<OpenItemLogHotkey> logger, MediatorService mediatorService, ItemSheet itemSheet, InventoryToolsConfiguration configuration, IGameInterface gameInterface) : base(logger, mediatorService, configuration) | ||
{ | ||
_itemSheet = itemSheet; | ||
_gameInterface = gameInterface; | ||
} | ||
public override ModifiableHotkey? ModifiableHotkey => Configuration.OpenItemLogHotKey; | ||
|
||
public override bool OnHotKey() | ||
{ | ||
var id = Service.GameGui.HoveredItem; | ||
if (id >= 2000000 || id == 0) return false; | ||
id %= 500000; | ||
var item = _itemSheet.GetRowOrDefault((uint) id); | ||
if (item == null || item is { CanOpenGatheringLog: false, CanOpenFishingLog: false, CanOpenCraftingLog: false }) return false; | ||
if (item.CanOpenGatheringLog) | ||
{ | ||
_gameInterface.OpenGatheringLog(item.RowId); | ||
} | ||
else if (item.CanOpenFishingLog) | ||
{ | ||
_gameInterface.OpenFishingLog(item.RowId, item.ObtainedSpearFishing); | ||
} | ||
else if (item.CanOpenCraftingLog) | ||
{ | ||
_gameInterface.OpenCraftingLog(item.RowId); | ||
} | ||
|
||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.