-
-
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.
- Loading branch information
1 parent
66cd4b2
commit e5c7084
Showing
38 changed files
with
1,346 additions
and
983 deletions.
There are no files selected for viewing
Submodule CriticalCommonLib
updated
4 files
+13 −1 | Crafting/CraftList.cs | |
+8 −0 | Crafting/OutputOrderingSetting.cs | |
+8 −1 | Services/ExcelCache.cs | |
+8 −0 | Sheets/ItemEx.cs |
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,30 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
### Added | ||
|
||
### Changed | ||
|
||
### Removed | ||
|
||
## [1.7.0.12] - 2024-07-14 | ||
|
||
### Added | ||
|
||
- The output items of craft lists can now be ordered based on the "Output Ordering" setting by class or name | ||
- Added a "Is custom delivery hand in?" column/filter | ||
- Added a new menu in craft lists that allows you to clear all items and import/export the contents of the list(to your clipboard) | ||
- Added a new hotkey for opening the lists window | ||
- The item window has a new "Owned" section showing all the locations of items within your characters that the plugin knows about | ||
### Fixed | ||
|
||
- Certain columns were not showing as available to add within craft lists | ||
- The active search scopes were not fully working | ||
- All slash commands that open AT windows will now toggle instead of only opening | ||
- The configuration wizard's labels should no longer clip |
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 was deleted.
Oops, something went wrong.
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,22 @@ | ||
using CriticalCommonLib.Services.Mediator; | ||
using InventoryTools.Logic.Settings; | ||
using InventoryTools.Mediator; | ||
using InventoryTools.Ui; | ||
using Microsoft.Extensions.Logging; | ||
using OtterGui.Classes; | ||
|
||
namespace InventoryTools.Hotkeys; | ||
|
||
public class ListsWindowHotkey : Hotkey | ||
{ | ||
public ListsWindowHotkey(ILogger<ListsWindowHotkey> logger, MediatorService mediatorService, InventoryToolsConfiguration configuration) : base(logger, mediatorService, configuration) | ||
{ | ||
} | ||
public override ModifiableHotkey? ModifiableHotkey => | ||
Configuration.GetHotkey(HotKeyListsWindowSetting.AsKey); | ||
public override bool OnHotKey() | ||
{ | ||
MediatorService.Publish(new ToggleGenericWindowMessage(typeof(FiltersWindow))); | ||
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
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
41 changes: 41 additions & 0 deletions
41
InventoryTools/Logic/Columns/IsCustomDeliveryItemColumn.cs
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,41 @@ | ||
using CriticalCommonLib.Models; | ||
using CriticalCommonLib.Services; | ||
using CriticalCommonLib.Sheets; | ||
using InventoryTools.Logic.Columns.Abstract; | ||
using InventoryTools.Services; | ||
using Microsoft.Extensions.Logging; | ||
|
||
namespace InventoryTools.Logic.Columns; | ||
|
||
public class IsCustomDeliveryItemColumn : CheckboxColumn | ||
{ | ||
private readonly ExcelCache _excelCache; | ||
|
||
public IsCustomDeliveryItemColumn(ILogger<IsCustomDeliveryItemColumn> logger, ImGuiService imGuiService, ExcelCache excelCache) : base(logger, imGuiService) | ||
{ | ||
_excelCache = excelCache; | ||
} | ||
|
||
public override string Name { get; set; } = "Is custom delivery item?"; | ||
public override string? RenderName { get; } = "Custom delivery item?"; | ||
public override float Width { get; set; } = 80; | ||
public override string HelpText { get; set; } = "Is this item used for custom deliveries?"; | ||
public override ColumnCategory ColumnCategory { get; } = ColumnCategory.Basic; | ||
public override bool HasFilter { get; set; } = true; | ||
public override ColumnFilterType FilterType { get; set; } = ColumnFilterType.Boolean; | ||
|
||
public override bool? CurrentValue(ColumnConfiguration columnConfiguration, InventoryItem item) | ||
{ | ||
return CurrentValue(columnConfiguration, item.Item); | ||
} | ||
|
||
public override bool? CurrentValue(ColumnConfiguration columnConfiguration, ItemEx item) | ||
{ | ||
return item.HandInGrandCompanySupply; | ||
} | ||
|
||
public override bool? CurrentValue(ColumnConfiguration columnConfiguration, SortingResult item) | ||
{ | ||
return CurrentValue(columnConfiguration, item.Item); | ||
} | ||
} |
Oops, something went wrong.