2016-02-28 19:55:35 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace StardewModdingAPI
|
|
|
|
|
{
|
|
|
|
|
public class Mod
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The name of your mod.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Name { get; protected set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The name of the mod's authour.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Authour { get; protected set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The version of the mod.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Version { get; protected set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A description of the mod.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string Description { get; protected set; }
|
|
|
|
|
|
2016-03-21 03:43:31 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Where the mod is located on the disk.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PathOnDisk { get; internal set; }
|
|
|
|
|
|
2016-02-28 19:55:35 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// A basic method that is the entry-point of your mod. It will always be called once when the mod loads.
|
|
|
|
|
/// </summary>
|
2016-03-04 03:01:32 +08:00
|
|
|
|
public virtual void Entry(params object[] objects)
|
2016-02-28 19:55:35 +08:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|