Class ManifestData
Inherited Members
Namespace: SonsSdk
Assembly: SonsSdk.dll
Syntax
public class ManifestData
Constructors
ManifestData()
Declaration
public ManifestData()
Properties
Author
Author of the mod
Declaration
[DecodeAlias(new string[] { "author" })]
[Include]
public string Author { get; }
Property Value
Type | Description |
---|---|
string |
Dependencies
Optional. List of dependencies of the mod
Declaration
[DecodeAlias(new string[] { "dependencies" })]
[Include]
public string[] Dependencies { get; }
Property Value
Type | Description |
---|---|
string[] |
Description
Description of the mod
Declaration
[DecodeAlias(new string[] { "description" })]
[Include]
public string Description { get; }
Property Value
Type | Description |
---|---|
string |
DontApplyPatches
Optional. If the mods harmony patches shouldn't be applied automatically
Declaration
[DecodeAlias(new string[] { "dontApplyPatches" })]
[Include]
public bool DontApplyPatches { get; }
Property Value
Type | Description |
---|---|
bool |
GameVersion
Game version the mod is compatible with
Declaration
[DecodeAlias(new string[] { "gameVersion" })]
[Include]
public string GameVersion { get; }
Property Value
Type | Description |
---|---|
string |
Id
Unique id of the mod
Declaration
[DecodeAlias(new string[] { "id" })]
[Include]
public string Id { get; }
Property Value
Type | Description |
---|---|
string |
LogColor
Optional. The hex string color in which the mod's name will be displayed in the console
Declaration
[DecodeAlias(new string[] { "logColor" })]
[Include]
public string LogColor { get; }
Property Value
Type | Description |
---|---|
string |
Examples
#ffffff
Name
Name of the mod
Declaration
[DecodeAlias(new string[] { "name" })]
[Include]
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Platform
Where this mod is able to run. Possible values: "Client", "Server", "Universal".
Declaration
[DecodeAlias(new string[] { "platform" })]
[Include]
public string Platform { get; }
Property Value
Type | Description |
---|---|
string |
Priority
Optional. Priority of the mod.
Declaration
[DecodeAlias(new string[] { "priority" })]
[Include]
public int Priority { get; }
Property Value
Type | Description |
---|---|
int |
Url
Optional. Download url of the mod.
Declaration
[DecodeAlias(new string[] { "url" })]
[Include]
public string Url { get; }
Property Value
Type | Description |
---|---|
string |
Version
Version of the mod
Declaration
[DecodeAlias(new string[] { "version" })]
[Include]
public string Version { get; }
Property Value
Type | Description |
---|---|
string |
VersionObject
Declaration
public Version VersionObject { get; }
Property Value
Type | Description |
---|---|
Version |