summaryrefslogtreecommitdiff
path: root/src/TrainerMod/Framework/ItemData/SearchableItem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/TrainerMod/Framework/ItemData/SearchableItem.cs')
-rw-r--r--src/TrainerMod/Framework/ItemData/SearchableItem.cs41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/TrainerMod/Framework/ItemData/SearchableItem.cs b/src/TrainerMod/Framework/ItemData/SearchableItem.cs
deleted file mode 100644
index 146da1a8..00000000
--- a/src/TrainerMod/Framework/ItemData/SearchableItem.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using StardewValley;
-
-namespace TrainerMod.Framework.ItemData
-{
- /// <summary>A game item with metadata.</summary>
- internal class SearchableItem
- {
- /*********
- ** Accessors
- *********/
- /// <summary>The item type.</summary>
- public ItemType Type { get; }
-
- /// <summary>The item instance.</summary>
- public Item Item { get; }
-
- /// <summary>The item's unique ID for its type.</summary>
- public int ID { get; }
-
- /// <summary>The item's default name.</summary>
- public string Name => this.Item.Name;
-
- /// <summary>The item's display name for the current language.</summary>
- public string DisplayName => this.Item.DisplayName;
-
-
- /*********
- ** Public methods
- *********/
- /// <summary>Construct an instance.</summary>
- /// <param name="type">The item type.</param>
- /// <param name="id">The unique ID (if different from the item's parent sheet index).</param>
- /// <param name="item">The item instance.</param>
- public SearchableItem(ItemType type, int id, Item item)
- {
- this.Type = type;
- this.ID = id;
- this.Item = item;
- }
- }
-}