Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

Commit

Permalink
Add auto BepInPlugin back
Browse files Browse the repository at this point in the history
  • Loading branch information
js6pak committed Apr 3, 2021
1 parent 8f5bfe4 commit f7d481d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions BepInEx.Core/Contract/Attributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ namespace BepInEx
[AttributeUsage(AttributeTargets.Class)]
public class BepInPlugin : Attribute
{
/// <param name="GUID">The unique identifier of the plugin. Should not change between plugin versions.</param>
/// <param name="Name">The user friendly name of the plugin. Is able to be changed between versions.</param>
/// <param name="Version">The specific version of the plugin.</param>
public BepInPlugin(string GUID, string Name, string Version)
/// <param name="guid">The unique identifier of the plugin. Should not change between plugin versions.</param>
/// <param name="name">The user friendly name of the plugin. Is able to be changed between versions.</param>
/// <param name="version">The specific version of the plugin.</param>
public BepInPlugin(string guid, string name = null, string version = null)
{
this.GUID = GUID;
this.Name = Name;
this.Version = TryParseLongVersion(Version);
this.GUID = guid;
this.Name = name;
this.Version = TryParseLongVersion(version);
}

/// <summary>
Expand Down

0 comments on commit f7d481d

Please sign in to comment.