diff options
author | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-21 21:07:37 -0400 |
---|---|---|
committer | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-21 21:07:37 -0400 |
commit | c73c1a0ec779228015a2f70f8a14a353f32664e2 (patch) | |
tree | 198e2e864a2371530735c2c4506d077a709422c4 /StardewModdingAPI/Mod.cs | |
parent | 78609647e9e5ed6310942eaf104f495353e328e3 (diff) | |
parent | 46d21e384e3075b5352e20733f31e61d929d561a (diff) | |
download | SMAPI-c73c1a0ec779228015a2f70f8a14a353f32664e2.tar.gz SMAPI-c73c1a0ec779228015a2f70f8a14a353f32664e2.tar.bz2 SMAPI-c73c1a0ec779228015a2f70f8a14a353f32664e2.zip |
Merge branch 'master'
Diffstat (limited to 'StardewModdingAPI/Mod.cs')
-rw-r--r-- | StardewModdingAPI/Mod.cs | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/StardewModdingAPI/Mod.cs b/StardewModdingAPI/Mod.cs index eabdc539..fc86409b 100644 --- a/StardewModdingAPI/Mod.cs +++ b/StardewModdingAPI/Mod.cs @@ -10,23 +10,42 @@ namespace StardewModdingAPI { /// <summary> /// The name of your mod. + /// NOTE: THIS IS DEPRECATED AND WILL BE REMOVED IN THE NEXT VERSION OF SMAPI /// </summary> - public virtual string Name { get; protected set; } + [Obsolete] + public virtual string Name { get; set; } /// <summary> /// The name of the mod's authour. + /// NOTE: THIS IS DEPRECATED AND WILL BE REMOVED IN THE NEXT VERSION OF SMAPI /// </summary> - public virtual string Authour { get; protected set; } + [Obsolete] + public virtual string Authour { get; set; } /// <summary> /// The version of the mod. + /// NOTE: THIS IS DEPRECATED AND WILL BE REMOVED IN THE NEXT VERSION OF SMAPI /// </summary> - public virtual string Version { get; protected set; } + [Obsolete] + public virtual string Version { get; set; } /// <summary> /// A description of the mod. + /// NOTE: THIS IS DEPRECATED AND WILL BE REMOVED IN THE NEXT VERSION OF SMAPI /// </summary> - public virtual string Description { get; protected set; } + [Obsolete] + public virtual string Description { get; set; } + + + /// <summary> + /// The mod's manifest + /// </summary> + public Manifest Manifest { get; internal set; } + + /// <summary> + /// Where the mod is located on the disk. + /// </summary> + public string PathOnDisk { get; internal set; } /// <summary> /// A basic method that is the entry-point of your mod. It will always be called once when the mod loads. |