forked from Tahvohck/Planetbase-CommunityUtils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ICUMod.cs
33 lines (29 loc) · 1.04 KB
/
ICUMod.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
using Planetbase;
namespace CommunityUtils
{
/// <summary>
/// Extended mod interface (Community Utils Mod). Adds additional information to the mod class.
/// Semantic versioning: http://semver.org/
/// </summary>
public interface ICUMod
{
/// <summary>
/// API version number. Changes to this number indicate a break in backwards-compatibility.
/// </summary>
byte versionMajor { get; }
/// <summary>
/// Minor version number. Changes to this number indicate backwards-compatible changes.
/// Must reset on <see cref="ICUMod.versionMajor"/> updates.
/// </summary>
byte versionMinor { get; }
/// <summary>
/// Bugfix number. Changes to this number are for bugfixes only.
/// Must reset on <see cref="ICUMod.versionMajor"/> or <see cref="ICUMod.versionMinor"/> updates.
/// </summary>
byte versionRevision { get; }
/// <summary>
/// Additional information about the version. Appended directly to the version string, so any dashes or spaces must be explicit.
/// </summary>
string versionAddtional { get; }
}
}