summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Inheritance/SBareObject.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Inheritance/SBareObject.cs')
-rw-r--r--src/StardewModdingAPI/Inheritance/SBareObject.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Inheritance/SBareObject.cs b/src/StardewModdingAPI/Inheritance/SBareObject.cs
new file mode 100644
index 00000000..5bef7b3e
--- /dev/null
+++ b/src/StardewModdingAPI/Inheritance/SBareObject.cs
@@ -0,0 +1,20 @@
+namespace StardewModdingAPI.Inheritance
+{
+ public struct SBareObject
+ {
+ public int parentSheetIndex { get; set; }
+ public int stack { get; set; }
+ public bool isRecipe { get; set; }
+ public int price { get; set; }
+ public int quality { get; set; }
+
+ public SBareObject(int psi, int sta, bool ir, int pri, int qua)
+ {
+ parentSheetIndex = psi;
+ stack = sta;
+ isRecipe = ir;
+ price = pri;
+ quality = qua;
+ }
+ }
+} \ No newline at end of file