diff --git a/SamplePlugin/CurrencyAlert.csproj b/SamplePlugin/CurrencyAlert.csproj
index 4fdeca1..f4bad42 100644
--- a/SamplePlugin/CurrencyAlert.csproj
+++ b/SamplePlugin/CurrencyAlert.csproj
@@ -3,7 +3,7 @@
- 0.3.1.0
+ 0.3.2.0
Currency Alert
https://github.com/Lharz/xiv-currency-alert
@@ -27,7 +27,7 @@
-
+
$(DalamudLibPath)FFXIVClientStructs.dll
false
diff --git a/SamplePlugin/Enum/Currency.cs b/SamplePlugin/Enum/Currency.cs
index 5746e59..541138b 100644
--- a/SamplePlugin/Enum/Currency.cs
+++ b/SamplePlugin/Enum/Currency.cs
@@ -32,7 +32,7 @@ namespace CurrencyAlert.Enum
[Name("Sack of Nuts"), ItemID(26533), DefaultThreshold(3500), Category("Battle")]
SackOfNut,
- [Name("Bicolor Gemstone"), ItemID(26807), DefaultThreshold(1000), Category("Battle")]
+ [Name("Bicolor Gemstone"), ItemID(26807), DefaultThreshold(800), Category("Battle")]
BicolorGemstone,
[Name("White Crafters' Scrip"), ItemID(25199), DefaultThreshold(1500), Category("Other")]
diff --git a/SamplePlugin/PluginUI.cs b/SamplePlugin/PluginUI.cs
index 2aa88bf..604435b 100644
--- a/SamplePlugin/PluginUI.cs
+++ b/SamplePlugin/PluginUI.cs
@@ -19,12 +19,6 @@ namespace CurrencyAlert
get { return settingsVisible; }
set { settingsVisible = value; }
}
- private bool debugVisible = false;
- public bool DebugVisible
- {
- get { return debugVisible; }
- set { debugVisible = value; }
- }
public Dictionary AlertVisible { get; set; } = new Dictionary();
public PluginUI(Configuration configuration)
@@ -45,9 +39,6 @@ namespace CurrencyAlert
if (this.SettingsVisible)
DrawSettingsWindow();
-
- if (this.DebugVisible)
- DrawDebugWindow();
}
public void DrawMainWindow()
@@ -114,53 +105,6 @@ namespace CurrencyAlert
}
}
-#if DEBUG
- if (ImGui.Button("Open Debug"))
- this.DebugVisible = true;
-#endif
-
- ImGui.End();
- }
-
- public void DrawDebugWindow()
- {
- ImGui.SetNextWindowSize(new Vector2(375, 330), ImGuiCond.FirstUseEver);
- ImGui.SetNextWindowSizeConstraints(new Vector2(375, 330), new Vector2(float.MaxValue, float.MaxValue));
-
- if (ImGui.Begin("Currency Alert Debug", ref this.debugVisible))
- {
- unsafe
- {
- InventoryManager* inventoryManager = InventoryManager.Instance();
-
- ImGui.Text($"ItemID: 42 Value: {inventoryManager->GetInventoryItemCount(42)}");
-
- EnumHelper.Each(type =>
- {
- if (type != InventoryType.Currency)
- return;
-
- InventoryContainer* currencyContainer = inventoryManager->GetInventoryContainer(type);
-
- if (currencyContainer == null)
- {
- return; // TODO: log something
- }
-
- ImGui.Text($"----- {type.ToString()} -----");
- for (var i = 0; i < int.MaxValue; ++i)
- {
- var item = currencyContainer->GetInventorySlot(i);
-
- if (item == null)
- break;
-
- ImGui.Text($"Index: {i} Value: {item->Quantity}");
- }
- });
- }
- }
-
ImGui.End();
}
}
diff --git a/SamplePlugin/currencyAlert.json b/SamplePlugin/currencyAlert.json
index b38bd10..38fc138 100644
--- a/SamplePlugin/currencyAlert.json
+++ b/SamplePlugin/currencyAlert.json
@@ -1,15 +1,20 @@
{
"Author": "Lharz",
"Name": "Currency Alert",
- "Punchline": "Lets you setup alerts upon reaching certain currencies amount (such as Poetics or PVP marks).",
- "Description": "/currencyalert: show the configuration panel.",
- "InternalName": "currencyAlert",
- "ApplicableVersion": "any",
+ "Punchline": "Display alerts upon reaching configurable currencies thresholds (such as Poetics or PVP marks).",
+ "Description": "/currencyalert: shows the configuration panel.",
+ "Changelog": null,
"Tags": [
"plugin",
"currency",
"tomestones",
"utility",
"other"
- ]
+ ],
+ "CategoryTags": null,
+ "AssemblyVersion": "0.3.2.0",
+ "RepoUrl": "https://github.com/Lharz/xiv-currency-alert",
+ "DalamudApiLevel": 6,
+ "ImageUrls": null,
+ "IconUrl": null
}