Updated for client version 0.13.1.3.25206
This commit is contained in:
parent
302173daff
commit
d91be0d666
@ -10,7 +10,7 @@ namespace IcyClawz.CustomInteractions
|
|||||||
|
|
||||||
public static void Patch(ref AssemblyDefinition assembly)
|
public static void Patch(ref AssemblyDefinition assembly)
|
||||||
{
|
{
|
||||||
var type = assembly.MainModule.GetType("GClass2654"); // DynamicInteraction
|
var type = assembly.MainModule.GetType("GClass2900"); // DynamicInteraction
|
||||||
if (type != null)
|
if (type != null)
|
||||||
{
|
{
|
||||||
type.IsSealed = false;
|
type.IsSealed = false;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net472</TargetFramework>
|
<TargetFramework>net472</TargetFramework>
|
||||||
<AssemblyName>IcyClawz.CustomInteractions.Prepatch</AssemblyName>
|
<AssemblyName>IcyClawz.CustomInteractions.Prepatch</AssemblyName>
|
||||||
<Version>1.1.1</Version>
|
<Version>1.2.0</Version>
|
||||||
<RootNamespace>IcyClawz.CustomInteractions</RootNamespace>
|
<RootNamespace>IcyClawz.CustomInteractions</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@ using System.Linq;
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
using DynamicInteraction = GClass2654;
|
using DynamicInteraction = GClass2900;
|
||||||
using EmptyInteractions = GClass2655<System.Enum>;
|
using EmptyInteractions = GClass2901<System.Enum>;
|
||||||
|
|
||||||
namespace IcyClawz.CustomInteractions
|
namespace IcyClawz.CustomInteractions
|
||||||
{
|
{
|
||||||
@ -110,14 +110,14 @@ namespace IcyClawz.CustomInteractions
|
|||||||
|
|
||||||
internal static class AbstractInteractionsExtensions
|
internal static class AbstractInteractionsExtensions
|
||||||
{
|
{
|
||||||
private static Dictionary<string, DynamicInteraction> GetDynamicInteractions<T>(this GClass2655<T> instance) where T : Enum =>
|
private static Dictionary<string, DynamicInteraction> GetDynamicInteractions<T>(this GClass2901<T> instance) where T : Enum =>
|
||||||
typeof(GClass2655<T>).GetField("dictionary_1", BindingFlags.NonPublic | BindingFlags.Instance)
|
typeof(GClass2901<T>).GetField("dictionary_1", BindingFlags.NonPublic | BindingFlags.Instance)
|
||||||
.GetValue(instance) as Dictionary<string, DynamicInteraction>;
|
.GetValue(instance) as Dictionary<string, DynamicInteraction>;
|
||||||
|
|
||||||
public static void AddCustomInteraction<T>(this GClass2655<T> instance, CustomInteraction customInteraction) where T : Enum =>
|
public static void AddCustomInteraction<T>(this GClass2901<T> instance, CustomInteraction customInteraction) where T : Enum =>
|
||||||
instance.GetDynamicInteractions()[customInteraction.Impl.Key] = customInteraction.Impl;
|
instance.GetDynamicInteractions()[customInteraction.Impl.Key] = customInteraction.Impl;
|
||||||
|
|
||||||
public static void RemoveCustomInteraction<T>(this GClass2655<T> instance, CustomInteraction customInteraction) where T : Enum =>
|
public static void RemoveCustomInteraction<T>(this GClass2901<T> instance, CustomInteraction customInteraction) where T : Enum =>
|
||||||
instance.GetDynamicInteractions().Remove(customInteraction.Impl.Key);
|
instance.GetDynamicInteractions().Remove(customInteraction.Impl.Key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net472</TargetFramework>
|
<TargetFramework>net472</TargetFramework>
|
||||||
<AssemblyName>IcyClawz.CustomInteractions</AssemblyName>
|
<AssemblyName>IcyClawz.CustomInteractions</AssemblyName>
|
||||||
<Version>1.1.1</Version>
|
<Version>1.2.0</Version>
|
||||||
<RootNamespace>IcyClawz.CustomInteractions</RootNamespace>
|
<RootNamespace>IcyClawz.CustomInteractions</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -4,13 +4,13 @@ using EFT.UI;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
using DynamicInteraction = GClass2654;
|
using DynamicInteraction = GClass2900;
|
||||||
using ItemContext = GClass2466;
|
using ItemContext = GClass2710;
|
||||||
using ItemInfoInteractions = GClass2655<EFT.InventoryLogic.EItemInfoButton>;
|
using ItemInfoInteractions = GClass2901<EFT.InventoryLogic.EItemInfoButton>;
|
||||||
|
|
||||||
namespace IcyClawz.CustomInteractions
|
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
|
public class Plugin : BaseUnityPlugin
|
||||||
{
|
{
|
||||||
private void Awake()
|
private void Awake()
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net472</TargetFramework>
|
<TargetFramework>net472</TargetFramework>
|
||||||
<AssemblyName>IcyClawz.ItemAttributeFix</AssemblyName>
|
<AssemblyName>IcyClawz.ItemAttributeFix</AssemblyName>
|
||||||
<Version>1.0.0</Version>
|
<Version>1.1.0</Version>
|
||||||
<RootNamespace>IcyClawz.ItemAttributeFix</RootNamespace>
|
<RootNamespace>IcyClawz.ItemAttributeFix</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ using System.Reflection;
|
|||||||
|
|
||||||
namespace IcyClawz.ItemAttributeFix
|
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
|
public class Plugin : BaseUnityPlugin
|
||||||
{
|
{
|
||||||
private void Awake()
|
private void Awake()
|
||||||
|
@ -8,9 +8,9 @@ using System.Linq;
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
using ILightTemplate = GInterface240;
|
using ILightTemplate = GInterface252;
|
||||||
using LightsState = GStruct143;
|
using LightsState = GStruct154;
|
||||||
using ResourceCache = GClass2014;
|
using ResourceCache = GClass2076;
|
||||||
|
|
||||||
namespace IcyClawz.ItemContextMenuExt
|
namespace IcyClawz.ItemContextMenuExt
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net472</TargetFramework>
|
<TargetFramework>net472</TargetFramework>
|
||||||
<AssemblyName>IcyClawz.ItemContextMenuExt</AssemblyName>
|
<AssemblyName>IcyClawz.ItemContextMenuExt</AssemblyName>
|
||||||
<Version>1.0.1</Version>
|
<Version>1.1.0</Version>
|
||||||
<RootNamespace>IcyClawz.ItemContextMenuExt</RootNamespace>
|
<RootNamespace>IcyClawz.ItemContextMenuExt</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ using IcyClawz.CustomInteractions;
|
|||||||
|
|
||||||
namespace IcyClawz.ItemContextMenuExt
|
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
|
public class Plugin : BaseUnityPlugin
|
||||||
{
|
{
|
||||||
private void Awake()
|
private void Awake()
|
||||||
|
@ -8,7 +8,7 @@ using System.Linq;
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
using CurrencyUtil = GClass2181;
|
using CurrencyUtil = GClass2424;
|
||||||
|
|
||||||
namespace IcyClawz.ItemSellPrice
|
namespace IcyClawz.ItemSellPrice
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net472</TargetFramework>
|
<TargetFramework>net472</TargetFramework>
|
||||||
<AssemblyName>IcyClawz.ItemSellPrice</AssemblyName>
|
<AssemblyName>IcyClawz.ItemSellPrice</AssemblyName>
|
||||||
<Version>1.0.2</Version>
|
<Version>1.1.0</Version>
|
||||||
<RootNamespace>IcyClawz.ItemSellPrice</RootNamespace>
|
<RootNamespace>IcyClawz.ItemSellPrice</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ using System.Reflection;
|
|||||||
|
|
||||||
namespace IcyClawz.ItemSellPrice
|
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
|
public class Plugin : BaseUnityPlugin
|
||||||
{
|
{
|
||||||
private void Awake()
|
private void Awake()
|
||||||
|
@ -7,7 +7,7 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
using InGameStatus = GClass1756;
|
using InGameStatus = GClass1819;
|
||||||
|
|
||||||
namespace IcyClawz.MagazineInspector
|
namespace IcyClawz.MagazineInspector
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net472</TargetFramework>
|
<TargetFramework>net472</TargetFramework>
|
||||||
<AssemblyName>IcyClawz.MagazineInspector</AssemblyName>
|
<AssemblyName>IcyClawz.MagazineInspector</AssemblyName>
|
||||||
<Version>1.0.1</Version>
|
<Version>1.1.0</Version>
|
||||||
<RootNamespace>IcyClawz.MagazineInspector</RootNamespace>
|
<RootNamespace>IcyClawz.MagazineInspector</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ using System.Reflection;
|
|||||||
|
|
||||||
namespace IcyClawz.MagazineInspector
|
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
|
public class Plugin : BaseUnityPlugin
|
||||||
{
|
{
|
||||||
private void Awake()
|
private void Awake()
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net472</TargetFramework>
|
<TargetFramework>net472</TargetFramework>
|
||||||
<AssemblyName>IcyClawz.MunitionsExpert</AssemblyName>
|
<AssemblyName>IcyClawz.MunitionsExpert</AssemblyName>
|
||||||
<Version>1.0.0</Version>
|
<Version>1.1.0</Version>
|
||||||
<RootNamespace>IcyClawz.MunitionsExpert</RootNamespace>
|
<RootNamespace>IcyClawz.MunitionsExpert</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ using UnityEngine;
|
|||||||
|
|
||||||
namespace IcyClawz.MunitionsExpert
|
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
|
public class Plugin : BaseUnityPlugin
|
||||||
{
|
{
|
||||||
private void Awake()
|
private void Awake()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user