From ce7746762346ef7ae910739be27af7ff19b0de86 Mon Sep 17 00:00:00 2001
From: CaptainSticky <178130360+CaptainSticky@users.noreply.github.com>
Date: Tue, 3 Sep 2024 10:02:44 -0700
Subject: [PATCH 1/6] Added a context menu to item view to allow users to open
an item, copy the item name, reset, and clear the individual equipment slot.
---
Anamnesis/Actor/Views/ItemView.xaml | 59 ++++++++++++++++++++
Anamnesis/Actor/Views/ItemView.xaml.cs | 56 +++++++++++++++++++
Anamnesis/Anamnesis.csproj | 6 ++
Anamnesis/Assets/Sites/consolegameswiki.png | Bin 0 -> 9294 bytes
Anamnesis/Assets/Sites/gamerescape.png | Bin 0 -> 2467 bytes
Anamnesis/Assets/Sites/garlandtools.png | Bin 0 -> 2504 bytes
Anamnesis/Files/CharacterFile.cs | 52 ++++++++++++++++-
Anamnesis/Languages/en.json | 8 +++
Anamnesis/Services/PinnedActor.cs | 13 ++++-
9 files changed, 191 insertions(+), 3 deletions(-)
create mode 100644 Anamnesis/Assets/Sites/consolegameswiki.png
create mode 100644 Anamnesis/Assets/Sites/gamerescape.png
create mode 100644 Anamnesis/Assets/Sites/garlandtools.png
diff --git a/Anamnesis/Actor/Views/ItemView.xaml b/Anamnesis/Actor/Views/ItemView.xaml
index 6b569a24e..1041820e5 100644
--- a/Anamnesis/Actor/Views/ItemView.xaml
+++ b/Anamnesis/Actor/Views/ItemView.xaml
@@ -69,6 +69,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Anamnesis/Actor/Views/ItemView.xaml.cs b/Anamnesis/Actor/Views/ItemView.xaml.cs
index 73e15a932..8733dd792 100644
--- a/Anamnesis/Actor/Views/ItemView.xaml.cs
+++ b/Anamnesis/Actor/Views/ItemView.xaml.cs
@@ -135,6 +135,62 @@ private static void OnItemModelChanged(ItemView sender, IEquipmentItemMemory? va
sender.OnViewModelPropertyChanged(null, null);
}
+ private void OnOpenInConsoleGamesWikiClicked(object sender, RoutedEventArgs e)
+ {
+ this.OpenItemInFanSiteUrl("https://ffxiv.consolegameswiki.com/wiki/" + this.Item?.Name.Replace(" ", "_"));
+ }
+
+ private void OnOpenInGamerEscapeClicked(object sender, RoutedEventArgs e)
+ {
+ this.OpenItemInFanSiteUrl("https://ffxiv.gamerescape.com/wiki/" + this.Item?.Name.Replace(" ", "_"));
+ }
+
+ private void OnOpenInGarlandToolsClicked(object sender, RoutedEventArgs e)
+ {
+ this.OpenItemInFanSiteUrl("https://www.garlandtools.org/db/#item/" + this.Item?.RowId);
+ }
+
+ private void OpenItemInFanSiteUrl(string url)
+ {
+ if (this.Item == null)
+ return;
+
+ if (this.Item.ModelBase == 0)
+ return;
+
+ UrlUtility.Open(url);
+ }
+
+ private void OnCopyItemNameClicked(object sender, RoutedEventArgs e)
+ {
+ if (this.Item == null)
+ return;
+
+ if (this.Item.ModelBase == 0)
+ return;
+
+ Clipboard.SetText(this.Item.Name);
+ }
+
+ private async void OnResetSlotClicked(object sender, RoutedEventArgs e)
+ {
+ if (this.Actor == null)
+ return;
+
+ if (this.Actor.Pinned == null)
+ return;
+
+ await this.Actor.Pinned.RestoreCharacterBackup(PinnedActor.BackupModes.Original, this.Slot);
+ }
+
+ private void OnClearSlotClicked(object sender, RoutedEventArgs e)
+ {
+ if (this.Actor?.CanRefresh != true)
+ return;
+
+ this.ItemModel?.Clear(this.Actor.IsHuman);
+ }
+
private void OnClick(object sender, RoutedEventArgs e)
{
if (this.Actor?.CanRefresh != true)
diff --git a/Anamnesis/Anamnesis.csproj b/Anamnesis/Anamnesis.csproj
index 2457300e6..cdf10acd9 100644
--- a/Anamnesis/Anamnesis.csproj
+++ b/Anamnesis/Anamnesis.csproj
@@ -71,6 +71,9 @@
+
+
+
@@ -94,6 +97,9 @@
+
+
+
diff --git a/Anamnesis/Assets/Sites/consolegameswiki.png b/Anamnesis/Assets/Sites/consolegameswiki.png
new file mode 100644
index 0000000000000000000000000000000000000000..5047ad3edd102172a8fcfbe7b8a40586e47e6d78
GIT binary patch
literal 9294
zcmZ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File.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Anamnesis/Files/CharacterFile.cs b/Anamnesis/Files/CharacterFile.cs
index 9c5d15c98..ca59154a1 100644
--- a/Anamnesis/Files/CharacterFile.cs
+++ b/Anamnesis/Files/CharacterFile.cs
@@ -312,7 +312,7 @@ public async Task Apply(ActorMemory actor, SaveModes mode, bool allowRefresh = t
this.Legs?.Write(actor.Equipment?.Legs);
break;
case ItemSlots.Feet:
- this.Legs?.Write(actor.Equipment?.Feet);
+ this.Feet?.Write(actor.Equipment?.Feet);
break;
case ItemSlots.Ears:
this.Ears?.Write(actor.Equipment?.Ear);
From fa29cf4ec44dc3b74bc607b7e90be7bb09c29cbd Mon Sep 17 00:00:00 2001
From: CaptainSticky <178130360+CaptainSticky@users.noreply.github.com>
Date: Tue, 3 Sep 2024 16:08:22 -0700
Subject: [PATCH 3/6] Better way to determine if an item can be opened in an
external fansite. Removed icons and replaced with regular icon.
---
Anamnesis/Actor/Views/ItemView.xaml | 14 +--
Anamnesis/Actor/Views/ItemView.xaml.cs | 32 ++++++
Anamnesis/Anamnesis.csproj | 6 -
Anamnesis/Assets/Sites/consolegameswiki.png | Bin 9294 -> 0 bytes
Anamnesis/Assets/Sites/gamerescape.png | Bin 2467 -> 0 bytes
Anamnesis/Assets/Sites/garlandtools.png | Bin 2504 -> 0 bytes
Anamnesis/Data/Equipment.json | 10 --
Anamnesis/Data/ItemCategories.json | 120 ++++++++++++++++++++
8 files changed, 159 insertions(+), 23 deletions(-)
delete mode 100644 Anamnesis/Assets/Sites/consolegameswiki.png
delete mode 100644 Anamnesis/Assets/Sites/gamerescape.png
delete mode 100644 Anamnesis/Assets/Sites/garlandtools.png
diff --git a/Anamnesis/Actor/Views/ItemView.xaml b/Anamnesis/Actor/Views/ItemView.xaml
index 1041820e5..1bfa45c6f 100644
--- a/Anamnesis/Actor/Views/ItemView.xaml
+++ b/Anamnesis/Actor/Views/ItemView.xaml
@@ -72,33 +72,33 @@
-