Updated for client version 0.13.5.2.26282

This commit is contained in:
IgorEisberg 2023-10-09 03:21:08 +03:00
parent 40cd708ebb
commit 3f0d802beb
18 changed files with 28 additions and 28 deletions

View File

@ -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;

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<AssemblyName>IcyClawz.CustomInteractions.Prepatch</AssemblyName>
<Version>1.2.0</Version>
<Version>1.3.0</Version>
<RootNamespace>IcyClawz.CustomInteractions</RootNamespace>
</PropertyGroup>

View File

@ -8,8 +8,8 @@ using System.Linq;
using System.Reflection;
using UnityEngine;
using DynamicInteraction = GClass2900;
using EmptyInteractions = GClass2901<System.Enum>;
using DynamicInteraction = GClass2815;
using EmptyInteractions = GClass2816<System.Enum>;
namespace IcyClawz.CustomInteractions
{
@ -110,14 +110,14 @@ namespace IcyClawz.CustomInteractions
internal static class AbstractInteractionsExtensions
{
private static Dictionary<string, DynamicInteraction> GetDynamicInteractions<T>(this GClass2901<T> instance) where T : Enum =>
typeof(GClass2901<T>).GetField("dictionary_1", BindingFlags.NonPublic | BindingFlags.Instance)
private static Dictionary<string, DynamicInteraction> GetDynamicInteractions<T>(this GClass2816<T> instance) where T : Enum =>
typeof(GClass2816<T>).GetField("dictionary_1", BindingFlags.NonPublic | BindingFlags.Instance)
.GetValue(instance) as Dictionary<string, DynamicInteraction>;
public static void AddCustomInteraction<T>(this GClass2901<T> instance, CustomInteraction customInteraction) where T : Enum =>
public static void AddCustomInteraction<T>(this GClass2816<T> instance, CustomInteraction customInteraction) where T : Enum =>
instance.GetDynamicInteractions()[customInteraction.Impl.Key] = customInteraction.Impl;
public static void RemoveCustomInteraction<T>(this GClass2901<T> instance, CustomInteraction customInteraction) where T : Enum =>
public static void RemoveCustomInteraction<T>(this GClass2816<T> instance, CustomInteraction customInteraction) where T : Enum =>
instance.GetDynamicInteractions().Remove(customInteraction.Impl.Key);
}

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<AssemblyName>IcyClawz.CustomInteractions</AssemblyName>
<Version>1.2.0</Version>
<Version>1.3.0</Version>
<RootNamespace>IcyClawz.CustomInteractions</RootNamespace>
</PropertyGroup>

View File

@ -4,13 +4,13 @@ using EFT.UI;
using System.Linq;
using System.Reflection;
using DynamicInteraction = GClass2900;
using ItemContext = GClass2710;
using ItemInfoInteractions = GClass2901<EFT.InventoryLogic.EItemInfoButton>;
using DynamicInteraction = GClass2815;
using ItemContext = GClass2622;
using ItemInfoInteractions = GClass2816<EFT.InventoryLogic.EItemInfoButton>;
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()

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<AssemblyName>IcyClawz.ItemAttributeFix</AssemblyName>
<Version>1.1.0</Version>
<Version>1.2.0</Version>
<RootNamespace>IcyClawz.ItemAttributeFix</RootNamespace>
</PropertyGroup>

View File

@ -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()

View File

@ -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
{

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<AssemblyName>IcyClawz.ItemContextMenuExt</AssemblyName>
<Version>1.1.0</Version>
<Version>1.2.0</Version>
<RootNamespace>IcyClawz.ItemContextMenuExt</RootNamespace>
</PropertyGroup>

View File

@ -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()

View File

@ -8,7 +8,7 @@ using System.Linq;
using System.Reflection;
using UnityEngine;
using CurrencyUtil = GClass2424;
using CurrencyUtil = GClass2333;
namespace IcyClawz.ItemSellPrice
{

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<AssemblyName>IcyClawz.ItemSellPrice</AssemblyName>
<Version>1.1.0</Version>
<Version>1.2.0</Version>
<RootNamespace>IcyClawz.ItemSellPrice</RootNamespace>
</PropertyGroup>

View File

@ -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()

View File

@ -7,7 +7,7 @@ using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using InGameStatus = GClass1819;
using InGameStatus = GClass1716;
namespace IcyClawz.MagazineInspector
{

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<AssemblyName>IcyClawz.MagazineInspector</AssemblyName>
<Version>1.1.0</Version>
<Version>1.2.0</Version>
<RootNamespace>IcyClawz.MagazineInspector</RootNamespace>
</PropertyGroup>

View File

@ -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()

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<AssemblyName>IcyClawz.MunitionsExpert</AssemblyName>
<Version>1.1.1</Version>
<Version>1.2.0</Version>
<RootNamespace>IcyClawz.MunitionsExpert</RootNamespace>
</PropertyGroup>

View File

@ -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<bool> ColorizeItemBackgrounds;