Kaynağa Gözat

Merge pull request #143 from js6pak/fix/v6-plugininfo-cache

Fix PluginInfo cache in v6
Bepis 4 yıl önce
ebeveyn
işleme
fb7affa64c
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      BepInEx.Core/Contract/PluginInfo.cs

+ 2 - 0
BepInEx.Core/Contract/PluginInfo.cs

@@ -27,6 +27,7 @@ namespace BepInEx
 		void ICacheable.Save(BinaryWriter bw)
 		{
 			bw.Write(TypeName);
+			bw.Write(Location);
 
 			bw.Write(Metadata.GUID);
 			bw.Write(Metadata.Name);
@@ -53,6 +54,7 @@ namespace BepInEx
 		void ICacheable.Load(BinaryReader br)
 		{
 			TypeName = br.ReadString();
+			Location = br.ReadString();
 
 			Metadata = new BepInPlugin(br.ReadString(), br.ReadString(), br.ReadString());