From 3f0d802beb0f2a2483f2cdaadaf67c64781c2dac Mon Sep 17 00:00:00 2001 From: IgorEisberg Date: Mon, 9 Oct 2023 03:21:08 +0300 Subject: [PATCH] Updated for client version 0.13.5.2.26282 --- CustomInteractions.Prepatch/Prepatch.cs | 2 +- CustomInteractions.Prepatch/Prepatch.csproj | 2 +- CustomInteractions/CustomInteractions.cs | 12 ++++++------ CustomInteractions/CustomInteractions.csproj | 2 +- CustomInteractions/Plugin.cs | 8 ++++---- ItemAttributeFix/ItemAttributeFix.csproj | 2 +- ItemAttributeFix/Plugin.cs | 2 +- ItemContextMenuExt/ItemContextMenuExt.cs | 6 +++--- ItemContextMenuExt/ItemContextMenuExt.csproj | 2 +- ItemContextMenuExt/Plugin.cs | 2 +- ItemSellPrice/ItemSellPrice.cs | 2 +- ItemSellPrice/ItemSellPrice.csproj | 2 +- ItemSellPrice/Plugin.cs | 2 +- MagazineInspector/MagazineInspector.cs | 2 +- MagazineInspector/MagazineInspector.csproj | 2 +- MagazineInspector/Plugin.cs | 2 +- MunitionsExpert/MunitionsExpert.csproj | 2 +- MunitionsExpert/Plugin.cs | 2 +- 18 files changed, 28 insertions(+), 28 deletions(-) diff --git a/CustomInteractions.Prepatch/Prepatch.cs b/CustomInteractions.Prepatch/Prepatch.cs index fa5f743..a45086f 100644 --- a/CustomInteractions.Prepatch/Prepatch.cs +++ b/CustomInteractions.Prepatch/Prepatch.cs @@ -10,7 +10,7 @@ namespace IcyClawz.CustomInteractions public static void Patch(ref AssemblyDefinition assembly) { - var type = assembly.MainModule.GetType("GClass2900"); // DynamicInteraction + var type = assembly.MainModule.GetType("GClass2815"); // DynamicInteraction if (type != null) { type.IsSealed = false; diff --git a/CustomInteractions.Prepatch/Prepatch.csproj b/CustomInteractions.Prepatch/Prepatch.csproj index 4b01c44..1b44829 100644 --- a/CustomInteractions.Prepatch/Prepatch.csproj +++ b/CustomInteractions.Prepatch/Prepatch.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.CustomInteractions.Prepatch - 1.2.0 + 1.3.0 IcyClawz.CustomInteractions diff --git a/CustomInteractions/CustomInteractions.cs b/CustomInteractions/CustomInteractions.cs index e5d26ed..bcba7b7 100644 --- a/CustomInteractions/CustomInteractions.cs +++ b/CustomInteractions/CustomInteractions.cs @@ -8,8 +8,8 @@ using System.Linq; using System.Reflection; using UnityEngine; -using DynamicInteraction = GClass2900; -using EmptyInteractions = GClass2901; +using DynamicInteraction = GClass2815; +using EmptyInteractions = GClass2816; namespace IcyClawz.CustomInteractions { @@ -110,14 +110,14 @@ namespace IcyClawz.CustomInteractions internal static class AbstractInteractionsExtensions { - private static Dictionary GetDynamicInteractions(this GClass2901 instance) where T : Enum => - typeof(GClass2901).GetField("dictionary_1", BindingFlags.NonPublic | BindingFlags.Instance) + private static Dictionary GetDynamicInteractions(this GClass2816 instance) where T : Enum => + typeof(GClass2816).GetField("dictionary_1", BindingFlags.NonPublic | BindingFlags.Instance) .GetValue(instance) as Dictionary; - public static void AddCustomInteraction(this GClass2901 instance, CustomInteraction customInteraction) where T : Enum => + public static void AddCustomInteraction(this GClass2816 instance, CustomInteraction customInteraction) where T : Enum => instance.GetDynamicInteractions()[customInteraction.Impl.Key] = customInteraction.Impl; - public static void RemoveCustomInteraction(this GClass2901 instance, CustomInteraction customInteraction) where T : Enum => + public static void RemoveCustomInteraction(this GClass2816 instance, CustomInteraction customInteraction) where T : Enum => instance.GetDynamicInteractions().Remove(customInteraction.Impl.Key); } diff --git a/CustomInteractions/CustomInteractions.csproj b/CustomInteractions/CustomInteractions.csproj index 66d8a71..d2d2b71 100644 --- a/CustomInteractions/CustomInteractions.csproj +++ b/CustomInteractions/CustomInteractions.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.CustomInteractions - 1.2.0 + 1.3.0 IcyClawz.CustomInteractions diff --git a/CustomInteractions/Plugin.cs b/CustomInteractions/Plugin.cs index 9bfc151..4a1e18a 100644 --- a/CustomInteractions/Plugin.cs +++ b/CustomInteractions/Plugin.cs @@ -4,13 +4,13 @@ using EFT.UI; using System.Linq; using System.Reflection; -using DynamicInteraction = GClass2900; -using ItemContext = GClass2710; -using ItemInfoInteractions = GClass2901; +using DynamicInteraction = GClass2815; +using ItemContext = GClass2622; +using ItemInfoInteractions = GClass2816; namespace IcyClawz.CustomInteractions { - [BepInPlugin("com.IcyClawz.CustomInteractions", "IcyClawz.CustomInteractions", "1.2.0")] + [BepInPlugin("com.IcyClawz.CustomInteractions", "IcyClawz.CustomInteractions", "1.3.0")] public class Plugin : BaseUnityPlugin { private void Awake() diff --git a/ItemAttributeFix/ItemAttributeFix.csproj b/ItemAttributeFix/ItemAttributeFix.csproj index 2b1ad5a..f97cc9a 100644 --- a/ItemAttributeFix/ItemAttributeFix.csproj +++ b/ItemAttributeFix/ItemAttributeFix.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.ItemAttributeFix - 1.1.0 + 1.2.0 IcyClawz.ItemAttributeFix diff --git a/ItemAttributeFix/Plugin.cs b/ItemAttributeFix/Plugin.cs index 18dd81d..361f00e 100644 --- a/ItemAttributeFix/Plugin.cs +++ b/ItemAttributeFix/Plugin.cs @@ -5,7 +5,7 @@ using System.Reflection; namespace IcyClawz.ItemAttributeFix { - [BepInPlugin("com.IcyClawz.ItemAttributeFix", "IcyClawz.ItemAttributeFix", "1.1.0")] + [BepInPlugin("com.IcyClawz.ItemAttributeFix", "IcyClawz.ItemAttributeFix", "1.2.0")] public class Plugin : BaseUnityPlugin { private void Awake() diff --git a/ItemContextMenuExt/ItemContextMenuExt.cs b/ItemContextMenuExt/ItemContextMenuExt.cs index aa92190..569209d 100644 --- a/ItemContextMenuExt/ItemContextMenuExt.cs +++ b/ItemContextMenuExt/ItemContextMenuExt.cs @@ -8,9 +8,9 @@ using System.Linq; using System.Reflection; using UnityEngine; -using ILightTemplate = GInterface252; -using LightsState = GStruct154; -using ResourceCache = GClass2076; +using ILightTemplate = GInterface246; +using LightsState = GStruct155; +using ResourceCache = GClass1976; namespace IcyClawz.ItemContextMenuExt { diff --git a/ItemContextMenuExt/ItemContextMenuExt.csproj b/ItemContextMenuExt/ItemContextMenuExt.csproj index e804c1c..156d7f7 100644 --- a/ItemContextMenuExt/ItemContextMenuExt.csproj +++ b/ItemContextMenuExt/ItemContextMenuExt.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.ItemContextMenuExt - 1.1.0 + 1.2.0 IcyClawz.ItemContextMenuExt diff --git a/ItemContextMenuExt/Plugin.cs b/ItemContextMenuExt/Plugin.cs index 7241576..82e99b2 100644 --- a/ItemContextMenuExt/Plugin.cs +++ b/ItemContextMenuExt/Plugin.cs @@ -3,7 +3,7 @@ using IcyClawz.CustomInteractions; namespace IcyClawz.ItemContextMenuExt { - [BepInPlugin("com.IcyClawz.ItemContextMenuExt", "IcyClawz.ItemContextMenuExt", "1.1.0")] + [BepInPlugin("com.IcyClawz.ItemContextMenuExt", "IcyClawz.ItemContextMenuExt", "1.2.0")] public class Plugin : BaseUnityPlugin { private void Awake() diff --git a/ItemSellPrice/ItemSellPrice.cs b/ItemSellPrice/ItemSellPrice.cs index 6744f55..dc55ac7 100644 --- a/ItemSellPrice/ItemSellPrice.cs +++ b/ItemSellPrice/ItemSellPrice.cs @@ -8,7 +8,7 @@ using System.Linq; using System.Reflection; using UnityEngine; -using CurrencyUtil = GClass2424; +using CurrencyUtil = GClass2333; namespace IcyClawz.ItemSellPrice { diff --git a/ItemSellPrice/ItemSellPrice.csproj b/ItemSellPrice/ItemSellPrice.csproj index e0bc671..2227cfc 100644 --- a/ItemSellPrice/ItemSellPrice.csproj +++ b/ItemSellPrice/ItemSellPrice.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.ItemSellPrice - 1.1.0 + 1.2.0 IcyClawz.ItemSellPrice diff --git a/ItemSellPrice/Plugin.cs b/ItemSellPrice/Plugin.cs index 2792361..5e3e927 100644 --- a/ItemSellPrice/Plugin.cs +++ b/ItemSellPrice/Plugin.cs @@ -5,7 +5,7 @@ using System.Reflection; namespace IcyClawz.ItemSellPrice { - [BepInPlugin("com.IcyClawz.ItemSellPrice", "IcyClawz.ItemSellPrice", "1.1.0")] + [BepInPlugin("com.IcyClawz.ItemSellPrice", "IcyClawz.ItemSellPrice", "1.2.0")] public class Plugin : BaseUnityPlugin { private void Awake() diff --git a/MagazineInspector/MagazineInspector.cs b/MagazineInspector/MagazineInspector.cs index 3051c7c..cb8c9d0 100644 --- a/MagazineInspector/MagazineInspector.cs +++ b/MagazineInspector/MagazineInspector.cs @@ -7,7 +7,7 @@ using System.Collections.Generic; using System.Linq; using UnityEngine; -using InGameStatus = GClass1819; +using InGameStatus = GClass1716; namespace IcyClawz.MagazineInspector { diff --git a/MagazineInspector/MagazineInspector.csproj b/MagazineInspector/MagazineInspector.csproj index 1ed02e1..4c31eeb 100644 --- a/MagazineInspector/MagazineInspector.csproj +++ b/MagazineInspector/MagazineInspector.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.MagazineInspector - 1.1.0 + 1.2.0 IcyClawz.MagazineInspector diff --git a/MagazineInspector/Plugin.cs b/MagazineInspector/Plugin.cs index 9ce44aa..d4ccfde 100644 --- a/MagazineInspector/Plugin.cs +++ b/MagazineInspector/Plugin.cs @@ -4,7 +4,7 @@ using System.Reflection; namespace IcyClawz.MagazineInspector { - [BepInPlugin("com.IcyClawz.MagazineInspector", "IcyClawz.MagazineInspector", "1.1.0")] + [BepInPlugin("com.IcyClawz.MagazineInspector", "IcyClawz.MagazineInspector", "1.2.0")] public class Plugin : BaseUnityPlugin { private void Awake() diff --git a/MunitionsExpert/MunitionsExpert.csproj b/MunitionsExpert/MunitionsExpert.csproj index d071336..6fa9a5f 100644 --- a/MunitionsExpert/MunitionsExpert.csproj +++ b/MunitionsExpert/MunitionsExpert.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.MunitionsExpert - 1.1.1 + 1.2.0 IcyClawz.MunitionsExpert diff --git a/MunitionsExpert/Plugin.cs b/MunitionsExpert/Plugin.cs index 124f0fc..55c4102 100644 --- a/MunitionsExpert/Plugin.cs +++ b/MunitionsExpert/Plugin.cs @@ -12,7 +12,7 @@ using UnityEngine; namespace IcyClawz.MunitionsExpert { - [BepInPlugin("com.IcyClawz.MunitionsExpert", "IcyClawz.MunitionsExpert", "1.1.1")] + [BepInPlugin("com.IcyClawz.MunitionsExpert", "IcyClawz.MunitionsExpert", "1.2.0")] public class Plugin : BaseUnityPlugin { internal static ConfigEntry ColorizeItemBackgrounds;