SMAPI/StardewModdingAPI/ModItem.cs

18 lines
406 B
C#
Raw Normal View History

2016-03-23 08:36:04 +08:00
using Microsoft.Xna.Framework.Graphics;
2016-02-28 19:55:35 +08:00
using StardewValley;
namespace StardewModdingAPI
{
internal class ModItem : Object
2016-02-28 19:55:35 +08:00
{
public Item AsItem
{
get { return this; }
}
2016-02-28 19:55:35 +08:00
public override string Name { get; set; }
public string Description { get; set; }
public int ID { get; set; }
public Texture2D Texture { get; set; }
}
}