From d91be0d6668ab6fc3d2c174baeda3406c4532350 Mon Sep 17 00:00:00 2001 From: IgorEisberg Date: Mon, 31 Jul 2023 19:57:13 +0300 Subject: [PATCH] Updated for client version 0.13.1.3.25206 --- 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 3e00f9b..fa5f743 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("GClass2654"); // DynamicInteraction + var type = assembly.MainModule.GetType("GClass2900"); // DynamicInteraction if (type != null) { type.IsSealed = false; diff --git a/CustomInteractions.Prepatch/Prepatch.csproj b/CustomInteractions.Prepatch/Prepatch.csproj index e6424ac..4b01c44 100644 --- a/CustomInteractions.Prepatch/Prepatch.csproj +++ b/CustomInteractions.Prepatch/Prepatch.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.CustomInteractions.Prepatch - 1.1.1 + 1.2.0 IcyClawz.CustomInteractions diff --git a/CustomInteractions/CustomInteractions.cs b/CustomInteractions/CustomInteractions.cs index b3a71ae..e5d26ed 100644 --- a/CustomInteractions/CustomInteractions.cs +++ b/CustomInteractions/CustomInteractions.cs @@ -8,8 +8,8 @@ using System.Linq; using System.Reflection; using UnityEngine; -using DynamicInteraction = GClass2654; -using EmptyInteractions = GClass2655; +using DynamicInteraction = GClass2900; +using EmptyInteractions = GClass2901; namespace IcyClawz.CustomInteractions { @@ -110,14 +110,14 @@ namespace IcyClawz.CustomInteractions internal static class AbstractInteractionsExtensions { - private static Dictionary GetDynamicInteractions(this GClass2655 instance) where T : Enum => - typeof(GClass2655).GetField("dictionary_1", BindingFlags.NonPublic | BindingFlags.Instance) + private static Dictionary GetDynamicInteractions(this GClass2901 instance) where T : Enum => + typeof(GClass2901).GetField("dictionary_1", BindingFlags.NonPublic | BindingFlags.Instance) .GetValue(instance) as Dictionary; - public static void AddCustomInteraction(this GClass2655 instance, CustomInteraction customInteraction) where T : Enum => + public static void AddCustomInteraction(this GClass2901 instance, CustomInteraction customInteraction) where T : Enum => instance.GetDynamicInteractions()[customInteraction.Impl.Key] = customInteraction.Impl; - public static void RemoveCustomInteraction(this GClass2655 instance, CustomInteraction customInteraction) where T : Enum => + public static void RemoveCustomInteraction(this GClass2901 instance, CustomInteraction customInteraction) where T : Enum => instance.GetDynamicInteractions().Remove(customInteraction.Impl.Key); } diff --git a/CustomInteractions/CustomInteractions.csproj b/CustomInteractions/CustomInteractions.csproj index faa7847..66d8a71 100644 --- a/CustomInteractions/CustomInteractions.csproj +++ b/CustomInteractions/CustomInteractions.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.CustomInteractions - 1.1.1 + 1.2.0 IcyClawz.CustomInteractions diff --git a/CustomInteractions/Plugin.cs b/CustomInteractions/Plugin.cs index 5aa17b4..9bfc151 100644 --- a/CustomInteractions/Plugin.cs +++ b/CustomInteractions/Plugin.cs @@ -4,13 +4,13 @@ using EFT.UI; using System.Linq; using System.Reflection; -using DynamicInteraction = GClass2654; -using ItemContext = GClass2466; -using ItemInfoInteractions = GClass2655; +using DynamicInteraction = GClass2900; +using ItemContext = GClass2710; +using ItemInfoInteractions = GClass2901; namespace IcyClawz.CustomInteractions { - [BepInPlugin("com.IcyClawz.CustomInteractions", "IcyClawz.CustomInteractions", "1.1.1")] + [BepInPlugin("com.IcyClawz.CustomInteractions", "IcyClawz.CustomInteractions", "1.2.0")] public class Plugin : BaseUnityPlugin { private void Awake() diff --git a/ItemAttributeFix/ItemAttributeFix.csproj b/ItemAttributeFix/ItemAttributeFix.csproj index acd11ff..2b1ad5a 100644 --- a/ItemAttributeFix/ItemAttributeFix.csproj +++ b/ItemAttributeFix/ItemAttributeFix.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.ItemAttributeFix - 1.0.0 + 1.1.0 IcyClawz.ItemAttributeFix diff --git a/ItemAttributeFix/Plugin.cs b/ItemAttributeFix/Plugin.cs index 2acae2c..18dd81d 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.0.0")] + [BepInPlugin("com.IcyClawz.ItemAttributeFix", "IcyClawz.ItemAttributeFix", "1.1.0")] public class Plugin : BaseUnityPlugin { private void Awake() diff --git a/ItemContextMenuExt/ItemContextMenuExt.cs b/ItemContextMenuExt/ItemContextMenuExt.cs index 58eaf27..aa92190 100644 --- a/ItemContextMenuExt/ItemContextMenuExt.cs +++ b/ItemContextMenuExt/ItemContextMenuExt.cs @@ -8,9 +8,9 @@ using System.Linq; using System.Reflection; using UnityEngine; -using ILightTemplate = GInterface240; -using LightsState = GStruct143; -using ResourceCache = GClass2014; +using ILightTemplate = GInterface252; +using LightsState = GStruct154; +using ResourceCache = GClass2076; namespace IcyClawz.ItemContextMenuExt { diff --git a/ItemContextMenuExt/ItemContextMenuExt.csproj b/ItemContextMenuExt/ItemContextMenuExt.csproj index 5bcf443..e804c1c 100644 --- a/ItemContextMenuExt/ItemContextMenuExt.csproj +++ b/ItemContextMenuExt/ItemContextMenuExt.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.ItemContextMenuExt - 1.0.1 + 1.1.0 IcyClawz.ItemContextMenuExt diff --git a/ItemContextMenuExt/Plugin.cs b/ItemContextMenuExt/Plugin.cs index 0a76a2f..7241576 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.0.1")] + [BepInPlugin("com.IcyClawz.ItemContextMenuExt", "IcyClawz.ItemContextMenuExt", "1.1.0")] public class Plugin : BaseUnityPlugin { private void Awake() diff --git a/ItemSellPrice/ItemSellPrice.cs b/ItemSellPrice/ItemSellPrice.cs index 05fcf1d..6744f55 100644 --- a/ItemSellPrice/ItemSellPrice.cs +++ b/ItemSellPrice/ItemSellPrice.cs @@ -8,7 +8,7 @@ using System.Linq; using System.Reflection; using UnityEngine; -using CurrencyUtil = GClass2181; +using CurrencyUtil = GClass2424; namespace IcyClawz.ItemSellPrice { diff --git a/ItemSellPrice/ItemSellPrice.csproj b/ItemSellPrice/ItemSellPrice.csproj index 7347bd9..e0bc671 100644 --- a/ItemSellPrice/ItemSellPrice.csproj +++ b/ItemSellPrice/ItemSellPrice.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.ItemSellPrice - 1.0.2 + 1.1.0 IcyClawz.ItemSellPrice diff --git a/ItemSellPrice/Plugin.cs b/ItemSellPrice/Plugin.cs index f2785d0..2792361 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.0.2")] + [BepInPlugin("com.IcyClawz.ItemSellPrice", "IcyClawz.ItemSellPrice", "1.1.0")] public class Plugin : BaseUnityPlugin { private void Awake() diff --git a/MagazineInspector/MagazineInspector.cs b/MagazineInspector/MagazineInspector.cs index 172f637..3051c7c 100644 --- a/MagazineInspector/MagazineInspector.cs +++ b/MagazineInspector/MagazineInspector.cs @@ -7,7 +7,7 @@ using System.Collections.Generic; using System.Linq; using UnityEngine; -using InGameStatus = GClass1756; +using InGameStatus = GClass1819; namespace IcyClawz.MagazineInspector { diff --git a/MagazineInspector/MagazineInspector.csproj b/MagazineInspector/MagazineInspector.csproj index b3343ef..1ed02e1 100644 --- a/MagazineInspector/MagazineInspector.csproj +++ b/MagazineInspector/MagazineInspector.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.MagazineInspector - 1.0.1 + 1.1.0 IcyClawz.MagazineInspector diff --git a/MagazineInspector/Plugin.cs b/MagazineInspector/Plugin.cs index 0033fa0..9ce44aa 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.0.1")] + [BepInPlugin("com.IcyClawz.MagazineInspector", "IcyClawz.MagazineInspector", "1.1.0")] public class Plugin : BaseUnityPlugin { private void Awake() diff --git a/MunitionsExpert/MunitionsExpert.csproj b/MunitionsExpert/MunitionsExpert.csproj index 15f62f5..99f4f1f 100644 --- a/MunitionsExpert/MunitionsExpert.csproj +++ b/MunitionsExpert/MunitionsExpert.csproj @@ -3,7 +3,7 @@ net472 IcyClawz.MunitionsExpert - 1.0.0 + 1.1.0 IcyClawz.MunitionsExpert diff --git a/MunitionsExpert/Plugin.cs b/MunitionsExpert/Plugin.cs index 958b3e3..c4949af 100644 --- a/MunitionsExpert/Plugin.cs +++ b/MunitionsExpert/Plugin.cs @@ -11,7 +11,7 @@ using UnityEngine; namespace IcyClawz.MunitionsExpert { - [BepInPlugin("com.IcyClawz.MunitionsExpert", "IcyClawz.MunitionsExpert", "1.0.0")] + [BepInPlugin("com.IcyClawz.MunitionsExpert", "IcyClawz.MunitionsExpert", "1.1.0")] public class Plugin : BaseUnityPlugin { private void Awake()