Pārlūkot izejas kodu

Change dependency property name

Bepis 7 gadi atpakaļ
vecāks
revīzija
c3537a8578
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      BepInEx/Attributes.cs

+ 3 - 3
BepInEx/Attributes.cs

@@ -39,13 +39,13 @@ namespace BepInEx
             SoftDependency = 2
         }
 
-        public string refGUID { get; protected set; }
+        public string DependencyGUID { get; protected set; }
 
         public DependencyFlags Flags { get; protected set; }
 
-        public BepInDependency(string refGUID, DependencyFlags Flags = DependencyFlags.HardDependency)
+        public BepInDependency(string DependencyGUID, DependencyFlags Flags = DependencyFlags.HardDependency)
         {
-            this.refGUID = refGUID;
+            this.DependencyGUID = DependencyGUID;
             this.Flags = Flags;
         }
     }