summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs')
-rw-r--r--src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs b/src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
new file mode 100644
index 00000000..436b834d
--- /dev/null
+++ b/src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
@@ -0,0 +1,19 @@
+using StardewValley.Menus;
+
+namespace StardewModdingAPI.Inheritance.Menus
+{
+ public class SInventoryPage : InventoryPage
+ {
+ public SInventoryPage(int x, int y, int width, int height) : base(x, y, width, height)
+ {
+ }
+
+ public InventoryPage BaseInventoryPage { get; private set; }
+
+ public static SInventoryPage ConstructFromBaseClass(InventoryPage baseClass)
+ {
+ var s = new SInventoryPage(0, 0, 0, 0) {BaseInventoryPage = baseClass};
+ return s;
+ }
+ }
+} \ No newline at end of file