diff options
Diffstat (limited to 'src/TrainerMod/ItemData/ISearchItem.cs')
-rw-r--r-- | src/TrainerMod/ItemData/ISearchItem.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/TrainerMod/ItemData/ISearchItem.cs b/src/TrainerMod/ItemData/ISearchItem.cs new file mode 100644 index 00000000..b2f7c2b8 --- /dev/null +++ b/src/TrainerMod/ItemData/ISearchItem.cs @@ -0,0 +1,21 @@ +namespace TrainerMod.ItemData +{ + /// <summary>An item that can be searched and added to the player's inventory through the console.</summary> + internal interface ISearchItem + { + /********* + ** Accessors + *********/ + /// <summary>Whether the item is valid.</summary> + bool IsValid { get; } + + /// <summary>The item ID.</summary> + int ID { get; } + + /// <summary>The item name.</summary> + string Name { get; } + + /// <summary>The item type.</summary> + ItemType Type { get; } + } +}
\ No newline at end of file |