summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
diff options
context:
space:
mode:
authorZoryn Aaron <zoryn4163@gmail.com>2016-03-01 01:35:52 -0500
committerZoryn Aaron <zoryn4163@gmail.com>2016-03-01 01:35:52 -0500
commit9a32b3afdda54e513cd370a0edfa87febc5cd1f0 (patch)
tree3ff47d467b8803c847d33f14bbf0717ab47cd2f0 /StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
parent54faadf7b567eb2b71492471c4a2162487059ce6 (diff)
downloadSMAPI-9a32b3afdda54e513cd370a0edfa87febc5cd1f0.tar.gz
SMAPI-9a32b3afdda54e513cd370a0edfa87febc5cd1f0.tar.bz2
SMAPI-9a32b3afdda54e513cd370a0edfa87febc5cd1f0.zip
trying to get custom content working - do NOT try to implement cc yet
Diffstat (limited to 'StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs')
-rw-r--r--StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs b/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
new file mode 100644
index 00000000..6bcb7662
--- /dev/null
+++ b/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using StardewValley;
+using StardewValley.Menus;
+
+namespace StardewModdingAPI.Inheritance.Menus
+{
+ public class SInventoryPage : InventoryPage
+ {
+ public InventoryPage BaseInventoryPage { get; private set; }
+
+ public static SInventoryPage ConstructFromBaseClass(InventoryPage baseClass)
+ {
+ SInventoryPage s = new SInventoryPage(0,0,0,0);
+ s.BaseInventoryPage = baseClass;
+ return s;
+ }
+
+ public SInventoryPage(int x, int y, int width, int height) : base(x, y, width, height)
+ {
+ }
+ }
+}