Jelajahi Sumber

Change version to string type

Bepis 7 tahun lalu
induk
melakukan
3233779bb0
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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;