Struct ModDependency
A set of rules that defines the limits within which a mod is required or otherwise compatible with another one.
Namespace: DaggerfallWorkshop.Game.Utility.ModSupport
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
public struct ModDependency
Remarks
These are all the possible combinations:
- Dependency: must be available, have higher priority and follow specified criteria.
- Optional dependency: if is available it must have higher priority and follow specified criteria.
- Peer dependency: must be available and follow specified criteria but higher priority is not required.
- Optional peer dependency: if is available it must follow specified criteria but higher priority is not required.
Fields
| Improve this Doc View SourceIsOptional
If true, target mod doesn't need to be available, but must validate these criteria if it is.
Declaration
[SerializeField]
public bool IsOptional
Field Value
Type | Description |
---|---|
Boolean |
IsPeer
If true, target mod can be positioned anywhere in the load order, otherwise must be positioned above.
Declaration
[SerializeField]
public bool IsPeer
Field Value
Type | Description |
---|---|
Boolean |
Name
Name of target mod.
Declaration
[SerializeField]
public string Name
Field Value
Type | Description |
---|---|
String |
Version
If not null this string is the minimum accepted version with format X.Y.Z. Pre-release identifiers following an hyphen are ignored in target version so they must be omitted here. For example "1.0.0" is equal to "1.0.0-rc.1".
Declaration
[SerializeField]
public string Version
Field Value
Type | Description |
---|---|
String |