-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy path1ISalable.cs
50 lines (35 loc) · 1.06 KB
/
1ISalable.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Decompiled with JetBrains decompiler
// Type: StardewValley.ISalable
// Assembly: Stardew Valley, Version=1.5.6.22018, Culture=neutral, PublicKeyToken=null
// MVID: BEBB6D18-4941-4529-AC12-B54F0C61CC20
// Assembly location: C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Stardew Valley.dll
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace StardewValley
{
public interface ISalable
{
string DisplayName { get; }
bool ShouldDrawIcon();
void drawInMenu(
SpriteBatch spriteBatch,
Vector2 location,
float scaleSize,
float transparency,
float layerDepth,
StackDrawType drawStackNumber,
Color color,
bool drawShadow);
string Name { get; }
string getDescription();
int maximumStackSize();
int addToStack(Item stack);
int Stack { get; set; }
int salePrice();
bool actionWhenPurchased();
bool canStackWith(ISalable other);
bool CanBuyItem(Farmer farmer);
bool IsInfiniteStock();
ISalable GetSalableInstance();
}
}