From 59dd604cf2905adf5fce7e9bb7b97886891aae81 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 27 Oct 2017 03:18:48 -0400 Subject: rename TrainerMod to Console Commands to clarify purpose --- .../Framework/ItemData/SearchableItem.cs | 41 ---------------------- 1 file changed, 41 deletions(-) delete mode 100644 src/TrainerMod/Framework/ItemData/SearchableItem.cs (limited to 'src/TrainerMod/Framework/ItemData/SearchableItem.cs') 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 -{ - /// A game item with metadata. - internal class SearchableItem - { - /********* - ** Accessors - *********/ - /// The item type. - public ItemType Type { get; } - - /// The item instance. - public Item Item { get; } - - /// The item's unique ID for its type. - public int ID { get; } - - /// The item's default name. - public string Name => this.Item.Name; - - /// The item's display name for the current language. - public string DisplayName => this.Item.DisplayName; - - - /********* - ** Public methods - *********/ - /// Construct an instance. - /// The item type. - /// The unique ID (if different from the item's parent sheet index). - /// The item instance. - public SearchableItem(ItemType type, int id, Item item) - { - this.Type = type; - this.ID = id; - this.Item = item; - } - } -} -- cgit