瀏覽代碼

Change version to string type

Bepis 7 年之前
父節點
當前提交
3233779bb0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      BepInEx/Attributes.cs

+ 2 - 2
BepInEx/Attributes.cs

@@ -20,9 +20,9 @@ namespace BepInEx
         /// <summary>
         /// The specfic version of the plugin.
         /// </summary>
-        public Version Version { get; protected set; }
+        public string Version { get; protected set; }
 
-        public BepInPlugin(string GUID, string Name, Version Version)
+        public BepInPlugin(string GUID, string Name, string Version)
         {
             this.GUID = GUID;
             this.Name = Name;