mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Update BepInDependency argument name
This commit is contained in:
1 file changed
+4
-4
@@ -109,12 +109,12 @@ namespace BepInEx
|
||||
/// Marks this <see cref="BaseUnityPlugin"/> as depenant on another plugin. The other plugin will be loaded before this one.
|
||||
/// If the other plugin doesn't exist or is of a version not satisfying <see cref="VersionRange"/>, this plugin will not load and an error will be logged instead.
|
||||
/// </summary>
|
||||
/// <param name="DependencyGUID">The GUID of the referenced plugin.</param>
|
||||
/// <param name="MinimumDependencyVersion">The minimum version of the referenced plugin.</param>
|
||||
/// <param name="guid">The GUID of the referenced plugin.</param>
|
||||
/// <param name="version">The version range of the referenced plugin.</param>
|
||||
/// <remarks>When version is supplied the dependency is always treated as HardDependency</remarks>
|
||||
public BepInDependency(string DependencyGUID, string MinimumDependencyVersion) : this(DependencyGUID)
|
||||
public BepInDependency(string guid, string version) : this(guid)
|
||||
{
|
||||
VersionRange = SemVer.Range.Parse(MinimumDependencyVersion);
|
||||
VersionRange = SemVer.Range.Parse(version);
|
||||
}
|
||||
|
||||
internal static IEnumerable<BepInDependency> FromCecilType(TypeDefinition td)
|
||||
|
||||
Reference in new issue
Block a user