Add dependencies

This commit is contained in:
2024-04-17 13:21:49 +02:00
parent 15b35f7904
commit 8a38ba5aa8
24 changed files with 131 additions and 7920 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,86 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>BepInEx.Harmony</name>
</assembly>
<members>
<member name="T:BepInEx.Harmony.ParameterByRefAttribute">
<summary>
Specifies the indices of parameters that are ByRef.
</summary>
</member>
<member name="P:BepInEx.Harmony.ParameterByRefAttribute.ParameterIndices">
<summary>
The indices of parameters that are ByRef.
</summary>
</member>
<member name="M:BepInEx.Harmony.ParameterByRefAttribute.#ctor(System.Int32[])">
<param name="parameterIndices">The indices of parameters that are ByRef.</param>
</member>
<member name="T:BepInEx.Harmony.HarmonyExtensions">
<summary>
An extension class for Harmony based operations.
</summary>
</member>
<member name="M:BepInEx.Harmony.HarmonyExtensions.PatchAll(HarmonyLib.Harmony,System.Type)">
<summary>
Applies all patches specified in the type.
</summary>
<param name="harmonyInstance">The HarmonyInstance to use.</param>
<param name="type">The type to scan.</param>
</member>
<member name="T:BepInEx.Harmony.HarmonyWrapper">
<summary>
A wrapper for Harmony based operations.
</summary>
</member>
<member name="M:BepInEx.Harmony.HarmonyWrapper.PatchAll(System.Type,HarmonyLib.Harmony)">
<summary>
Applies all patches specified in the type.
</summary>
<param name="type">The type to scan.</param>
<param name="harmonyInstance">The HarmonyInstance to use.</param>
</member>
<member name="M:BepInEx.Harmony.HarmonyWrapper.PatchAll(System.Type,System.String)">
<summary>
Applies all patches specified in the type.
</summary>
<param name="type">The type to scan.</param>
<param name="harmonyInstanceId">The ID for the Harmony instance to create, which will be used.</param>
</member>
<member name="M:BepInEx.Harmony.HarmonyWrapper.PatchAll(System.Reflection.Assembly,HarmonyLib.Harmony)">
<summary>
Applies all patches specified in the assembly.
</summary>
<param name="assembly">The assembly to scan.</param>
<param name="harmonyInstance">The HarmonyInstance to use.</param>
</member>
<member name="M:BepInEx.Harmony.HarmonyWrapper.PatchAll(System.Reflection.Assembly,System.String)">
<summary>
Applies all patches specified in the assembly.
</summary>
<param name="assembly">The assembly to scan.</param>
<param name="harmonyInstanceId">The ID for the Harmony instance to create, which will be used.</param>
</member>
<member name="M:BepInEx.Harmony.HarmonyWrapper.PatchAll(HarmonyLib.Harmony)">
<summary>
Applies all patches specified in the calling assembly.
</summary>
<param name="harmonyInstance">The Harmony instance to use.</param>
</member>
<member name="M:BepInEx.Harmony.HarmonyWrapper.PatchAll(System.String)">
<summary>
Applies all patches specified in the calling assembly.
</summary>
<param name="harmonyInstanceId">The ID for the Harmony instance to create, which will be used.</param>
</member>
<member name="M:BepInEx.Harmony.HarmonyWrapper.EmitDelegate``1(``0)">
<summary>
Returns an instruction to call the specified delegate.
</summary>
<typeparam name="T">The delegate type to emit.</typeparam>
<param name="action">The delegate to emit.</param>
<returns>The instruction to </returns>
</member>
</members>
</doc>

View File

@@ -1,169 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>BepInEx.Preloader</name>
</assembly>
<members>
<member name="T:BepInEx.Preloader.EnvVars">
<summary>
Doorstop environment variables, passed into the BepInEx preloader.
<para>https://github.com/NeighTools/UnityDoorstop/wiki#environment-variables</para>
</summary>
</member>
<member name="P:BepInEx.Preloader.EnvVars.DOORSTOP_INVOKE_DLL_PATH">
<summary>
Path to the assembly that was invoked via Doorstop. Contains the same value as in "targetAssembly" configuration option in the config file.
</summary>
</member>
<member name="P:BepInEx.Preloader.EnvVars.DOORSTOP_MANAGED_FOLDER_DIR">
<summary>
Full path to the game's "Managed" folder that contains all the game's managed assemblies
</summary>
</member>
<member name="P:BepInEx.Preloader.EnvVars.DOORSTOP_PROCESS_PATH">
<summary>
Full path to the game executable currently running.
</summary>
</member>
<member name="P:BepInEx.Preloader.EnvVars.DOORSTOP_DLL_SEARCH_DIRS">
<summary>
Array of paths where Mono searches DLLs from before assembly resolvers are invoked.
</summary>
</member>
<member name="T:BepInEx.Preloader.Patching.AssemblyPatcherDelegate">
<summary>
Delegate used in patching assemblies.
</summary>
<param name="assembly">The assembly that is being patched.</param>
</member>
<member name="T:BepInEx.Preloader.Patching.AssemblyPatcher">
<summary>
Worker class which is used for loading and patching entire folders of assemblies, or alternatively patching and
loading assemblies one at a time.
</summary>
</member>
<member name="P:BepInEx.Preloader.Patching.AssemblyPatcher.PatcherPlugins">
<summary>
List of all patcher plugins to be applied
</summary>
</member>
<member name="M:BepInEx.Preloader.Patching.AssemblyPatcher.AddPatcher(BepInEx.Preloader.Patching.PatcherPlugin)">
<summary>
Adds a single assembly patcher to the pool of applicable patches.
</summary>
<param name="patcher">Patcher to apply.</param>
</member>
<member name="M:BepInEx.Preloader.Patching.AssemblyPatcher.AddPatchersFromDirectory(System.String)">
<summary>
Adds all patchers from all managed assemblies specified in a directory.
</summary>
<param name="directory">Directory to search patcher DLLs from.</param>
</member>
<member name="M:BepInEx.Preloader.Patching.AssemblyPatcher.DisposePatchers">
<summary>
Releases all patchers to let them be collected by GC.
</summary>
</member>
<member name="M:BepInEx.Preloader.Patching.AssemblyPatcher.PatchAndLoad(System.String[])">
<summary>
Applies patchers to all assemblies in the given directory and loads patched assemblies into memory.
</summary>
<param name="directories">Directories to load CLR assemblies from in their search order.</param>
</member>
<member name="M:BepInEx.Preloader.Patching.AssemblyPatcher.Load(Mono.Cecil.AssemblyDefinition,System.String)">
<summary>
Loads an individual assembly definition into the CLR.
</summary>
<param name="assembly">The assembly to load.</param>
<param name="filename">File name of the assembly being loaded.</param>
</member>
<member name="T:BepInEx.Preloader.Patching.PatcherPlugin">
<summary>
A single assembly patcher.
</summary>
</member>
<member name="P:BepInEx.Preloader.Patching.PatcherPlugin.TargetDLLs">
<summary>
Target assemblies to patch.
</summary>
</member>
<member name="P:BepInEx.Preloader.Patching.PatcherPlugin.Initializer">
<summary>
Initializer method that is run before any patching occurs.
</summary>
</member>
<member name="P:BepInEx.Preloader.Patching.PatcherPlugin.Finalizer">
<summary>
Finalizer method that is run after all patching is done.
</summary>
</member>
<member name="P:BepInEx.Preloader.Patching.PatcherPlugin.Patcher">
<summary>
The main patcher method that is called on every DLL defined in <see cref="P:BepInEx.Preloader.Patching.PatcherPlugin.TargetDLLs" />.
</summary>
</member>
<member name="P:BepInEx.Preloader.Patching.PatcherPlugin.TypeName">
<summary>
Type name of the patcher.
</summary>
</member>
<member name="M:BepInEx.Preloader.Patching.PatcherPlugin.Save(System.IO.BinaryWriter)">
<inheritdoc />
</member>
<member name="M:BepInEx.Preloader.Patching.PatcherPlugin.Load(System.IO.BinaryReader)">
<inheritdoc />
</member>
<member name="M:BepInEx.Preloader.Entrypoint.Main">
<summary>
The main entrypoint of BepInEx, called from Doorstop.
</summary>
</member>
<member name="M:BepInEx.Preloader.PlatformUtils.SetPlatform">
<summary>
Recreation of MonoMod's PlatformHelper.DeterminePlatform method, but with libc calls instead of creating processes.
</summary>
</member>
<member name="T:BepInEx.Preloader.RuntimeFixes.TraceFix">
<summary>
This exists because the Mono implementation of <see cref="T:System.Diagnostics.Trace"/> is/was broken, and would call Write directly instead of calling TraceEvent.
</summary>
</member>
<member name="T:BepInEx.Preloader.Preloader">
<summary>
The main entrypoint of BepInEx, and initializes all patchers and the chainloader.
</summary>
</member>
<member name="P:BepInEx.Preloader.Preloader.PreloaderLog">
<summary>
The log writer that is specific to the preloader.
</summary>
</member>
<member name="M:BepInEx.Preloader.Preloader.PatchEntrypoint(Mono.Cecil.AssemblyDefinition@)">
<summary>
Inserts BepInEx's own chainloader entrypoint into UnityEngine.
</summary>
<param name="assembly">The assembly that will be attempted to be patched.</param>
</member>
<member name="M:BepInEx.Preloader.Preloader.AllocateConsole">
<summary>
Allocates a console window for use by BepInEx safely.
</summary>
</member>
<member name="T:BepInEx.Preloader.PreloaderConsoleListener">
<summary>
Log listener that listens to logs during preloading time and buffers messages for output in Unity logs later.
</summary>
</member>
<member name="P:BepInEx.Preloader.PreloaderConsoleListener.LogEvents">
<summary>
</summary>
</member>
<member name="M:BepInEx.Preloader.PreloaderConsoleListener.LogEvent(System.Object,BepInEx.Logging.LogEventArgs)">
<inheritdoc />
</member>
<member name="M:BepInEx.Preloader.PreloaderConsoleListener.Dispose">
<inheritdoc />
</member>
</members>
</doc>

File diff suppressed because it is too large Load Diff

View File

@@ -1,178 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>MonoMod.RuntimeDetour</name>
</assembly>
<members>
<member name="T:MonoMod.RuntimeDetour.Detour">
<summary>
A fully managed detour.
Multiple Detours for a method to detour from can exist at any given time. Detours can be layered.
If you're writing your own detour manager or need to detour native functions, it's better to create instances of NativeDetour instead.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.Detour.Apply">
<summary>
Mark the detour as applied in the detour chain. This can be done automatically when creating an instance.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.Detour.Undo">
<summary>
Undo the detour without freeing it, allowing you to reapply it later.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.Detour.Free">
<summary>
Free the detour, while also permanently undoing it. This makes any further operations on this detour invalid.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.Detour.Dispose">
<summary>
Undo and free this temporary detour.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.Detour.GenerateTrampoline(System.Reflection.MethodBase)">
<summary>
Generate a new DynamicMethod with which you can invoke the previous state.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.Detour.GenerateTrampoline``1">
<summary>
Generate a new DynamicMethod with which you can invoke the previous state.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.Hook.GenerateTrampoline``1">
<summary>
Generate a new DynamicMethod with which you can invoke the previous state.
</summary>
</member>
<member name="T:MonoMod.RuntimeDetour.NativeDetour">
<summary>
A "raw" native detour, acting as a wrapper around NativeDetourData with a few helpers.
Only one NativeDetour for a method to detour from can exist at any given time. NativeDetours cannot be layered.
If you don't need the trampoline generator or any of the management helpers, use DetourManager.Native directly.
Unless you're writing your own detour manager or need to detour native functions, it's better to create instances of Detour instead.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.NativeDetour.Apply">
<summary>
Apply the native detour. This can be done automatically when creating an instance.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.NativeDetour.Undo">
<summary>
Undo the native detour without freeing the detour native data, allowing you to reapply it later.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.NativeDetour.ChangeSource(System.IntPtr)">
<summary>
Changes the source of this native detour to a new source address. This does not repair the old source location.
This also assumes that <paramref name="newSource"/> is simply a new address for the same method as this was constructed with.
</summary>
<param name="newSource">The new source location.</param>
</member>
<member name="M:MonoMod.RuntimeDetour.NativeDetour.ChangeTarget(System.IntPtr)">
<summary>
Changed the target of this native detour to a new target.
</summary>
<param name="newTarget">The new target address.</param>
</member>
<member name="M:MonoMod.RuntimeDetour.NativeDetour.Free">
<summary>
Free the detour's data without undoing it. This makes any further operations on this detour invalid.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.NativeDetour.Dispose">
<summary>
Undo and free this temporary detour.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.NativeDetour.GenerateTrampoline(System.Reflection.MethodBase)">
<summary>
Generate a new DynamicMethod with which you can invoke the previous state.
If the NativeDetour holds a reference to a managed method, a copy of the original method is returned.
If the NativeDetour holds a reference to a native function, an "undo-call-redo" trampoline with a matching signature is returned.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.NativeDetour.GenerateTrampoline``1">
<summary>
Generate a new delegate with which you can invoke the previous state.
If the NativeDetour holds a reference to a managed method, a copy of the original method is returned.
If the NativeDetour holds a reference to a native function, an "undo-call-redo" trampoline with a matching signature is returned.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.DetourHelper.Write(System.IntPtr,System.Int32@,System.Byte)">
<summary>
Write the given value at the address to + offs, afterwards advancing offs by sizeof(byte).
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.DetourHelper.Write(System.IntPtr,System.Int32@,System.UInt16)">
<summary>
Write the given value at the address to + offs, afterwards advancing offs by sizeof(ushort).
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.DetourHelper.Write(System.IntPtr,System.Int32@,System.UInt32)">
<summary>
Write the given value at the address to + offs, afterwards advancing offs by sizeof(ushort).
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.DetourHelper.Write(System.IntPtr,System.Int32@,System.UInt64)">
<summary>
Write the given value at the address to + offs, afterwards advancing offs by sizeof(ulong).
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.DetourHelper.GenerateNativeProxy(System.IntPtr,System.Reflection.MethodBase)">
<summary>
Generate a DynamicMethod to easily call the given native function from another DynamicMethod.
</summary>
<param name="target">The pointer to the native function to call.</param>
<param name="signature">A MethodBase with the target function's signature.</param>
<returns>The detoured DynamicMethod.</returns>
</member>
<member name="M:MonoMod.RuntimeDetour.DetourHelper.StubCriticalDetour(MonoMod.Utils.DynamicMethodDefinition)">
<summary>
Fill the DynamicMethodDefinition with a throw.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.DetourHelper.EmitDetourCopy(Mono.Cecil.Cil.ILProcessor,System.IntPtr,System.IntPtr,System.Byte)">
<summary>
Emit a call to DetourManager.Native.Copy using the given parameters.
</summary>
</member>
<member name="M:MonoMod.RuntimeDetour.DetourHelper.EmitDetourApply(Mono.Cecil.Cil.ILProcessor,MonoMod.RuntimeDetour.NativeDetourData)">
<summary>
Emit a call to DetourManager.Native.Apply using a copy of the given data.
</summary>
</member>
<member name="T:MonoMod.RuntimeDetour.NativeDetourData">
<summary>
The data forming a "raw" native detour, created and consumed by DetourManager.Native.
</summary>
</member>
<member name="F:MonoMod.RuntimeDetour.NativeDetourData.Method">
<summary>
The method to detour from. Set when the structure is created by the IDetourNativePlatform.
</summary>
</member>
<member name="F:MonoMod.RuntimeDetour.NativeDetourData.Target">
<summary>
The target method to be called instead. Set when the structure is created by the IDetourNativePlatform.
</summary>
</member>
<member name="F:MonoMod.RuntimeDetour.NativeDetourData.Type">
<summary>
The type of the detour. Determined when the structure is created by the IDetourNativePlatform.
</summary>
</member>
<member name="F:MonoMod.RuntimeDetour.NativeDetourData.Size">
<summary>
The size of the detour. Calculated when the structure is created by the IDetourNativePlatform.
</summary>
</member>
<member name="F:MonoMod.RuntimeDetour.NativeDetourData.Extra">
<summary>
DetourManager.Native-specific data.
</summary>
</member>
</members>
</doc>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{EE5EFB7F-A4DC-44F0-967B-F71ECA2D46AE}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>TerraTech</RootNamespace>
<AssemblyName>CaptainOfIndustry</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Compile Include="BeamPropertiesManager.cs" />
<Compile Include="Class1.cs" />
<Compile Include="FuelPropertiesManager.cs" />
<Compile Include="GeneratorPropertiesManager.cs" />
<Compile Include="HomingAndVelocityProjectilePatch.cs" />
<Compile Include="MagnetPropertiesManager.cs" />
<Compile Include="MinerPropertiesManager.cs" />
<Compile Include="Patches.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SeekingProjectileManager.cs" />
<Compile Include="ThrusterPropertiesManager.cs" />
<Compile Include="WeaponPropertiesManager.cs" />
<Compile Include="WheelPropertiesManager.cs" />
<Compile Include="WirelessChargerPropertiesManager.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="0Harmony">
<HintPath>..\libs\0Harmony.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>..\libs\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="BepInEx">
<HintPath>..\libs\BepInEx.dll</HintPath>
</Reference>
<Reference Include="ConfigurationManager">
<HintPath>..\libs\ConfigurationManager.dll</HintPath>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\libs\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>..\libs\UnityEngine.CoreModule.dll</HintPath>
</Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,19 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Build" type="ShConfigurationType">
<option name="SCRIPT_TEXT" value="cp &quot;C:\Users\Administrator\RiderProjects\Bepinex\Projects\Escapists2\Escapists2\obj\Debug\Escapists2.dll&quot; &quot;C:\Games\The.Escapists.2.v1.1.10\BepInEx\plugins&quot;" />
<option name="INDEPENDENT_SCRIPT_PATH" value="true" />
<option name="SCRIPT_PATH" value="" />
<option name="SCRIPT_OPTIONS" value="" />
<option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
<option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
<option name="INTERPRETER_PATH" value="" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="EXECUTE_IN_TERMINAL" value="true" />
<option name="EXECUTE_SCRIPT_FILE" value="false" />
<envs />
<method v="2">
<option name="Build" default="false" projectName="Escapists2" projectPath="file://$PROJECT_DIR$/Escapists2/Escapists2.csproj" />
</method>
</configuration>
</component>

View File

@@ -0,0 +1,5 @@
namespace Escapists2 {
public class XPPatch {
}
}

View File

@@ -0,0 +1,24 @@
using HarmonyLib;
namespace TerraTech {
[HarmonyPatch]
public class Patches {
[HarmonyPrefix]
[HarmonyPatch(typeof(ManLicenses), "AddXP")]
static void XPMulti(FactionSubTypes corporation, ref int xp, bool showUI = true) {
xp = (int)(xp * Main.xpMultiplier.Value);
}
[HarmonyPrefix]
[HarmonyPatch(typeof(ManPlayer), "AddMoney")]
static void MoneyMulti(ref int amount) {
amount = (int)(amount * Main.moneyMultiplier.Value);
}
[HarmonyPrefix]
[HarmonyPatch(typeof(TechHolders), "SetHeartbeatInterval")]
static void HeartbeatMulti(ref float interval) {
interval *= Main.heartbeatIntervalMultiplier.Value;
}
}
}

View File

@@ -0,0 +1,5 @@
namespace Regiments {
public class Transpiler {
}
}