CWX-mods/Live/CWX_BushWhacker/BushWhackerPatch.cs
2023-08-08 19:34:27 +01:00

21 lines
502 B
C#

using Aki.Reflection.Patching;
using EFT;
using System.Reflection;
namespace CWX_BushWhacker
{
public class BushWhackerPatch : ModulePatch
{
protected override MethodBase GetTargetMethod()
{
return typeof(GameWorld).GetMethod("OnGameStarted", BindingFlags.Public | BindingFlags.Instance);
}
[PatchPostfix]
public static void PatchPostFix()
{
BushWhackerScript bushWhacker = new BushWhackerScript();
}
}
}