Explorar el Código

Change version to string type

Bepis hace 7 años
padre
commit
3233779bb0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;