1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-08 20:53:28 +08:00

Completed initial functions

This commit is contained in:
2023-08-31 19:09:29 +08:00
parent 55610e991b
commit 125ff43e09
2 changed files with 245 additions and 61 deletions

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using HarmonyLib;
namespace LabOpt;
@@ -376,6 +377,7 @@ public static class LabOptPatchFunctions
SetFunctionInternal(ref lab, researchMode, recpId, techId, signPool, labPool);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static void SetFunctionInternal(ref LabComponent lab, bool researchMode, int recpId, int techId, SignData[] signPool, LabComponent[] labPool)
{
// LabOptPatch.Logger.LogDebug($"SetFunctionNew: {lab.id} {(int)RootLabIdField.GetValue(lab)} {researchMode} {recpId} {techId}");