Files
gregExtractor/generated-template/HookTemplate.HarmonyPatches.cs
T

3845 lines
141 KiB
C#

using HarmonyLib;
namespace greg.Plugin.HookTemplate;
[HarmonyPatch]
internal static class AutoPatch_AddAppPerformance_538402598
{
private const string GregHook = "greg.CUSTOMER.AppPerformanceAdded";
private const string PatchTarget = "Il2Cpp.CustomerBase::AddAppPerformance(int, float)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:AddAppPerformance");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_AppText_1607096505
{
private const string GregHook = "greg.CUSTOMER.AppText";
private const string PatchTarget = "Il2Cpp.CustomerBase::AppText(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:AppText");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_AreAllAppRequirementsMet_921686379
{
private const string GregHook = "greg.CUSTOMER.AreAllAppRequirementsMet";
private const string PatchTarget = "Il2Cpp.CustomerBase::AreAllAppRequirementsMet()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:AreAllAppRequirementsMet");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Awake_640363721
{
private const string GregHook = "greg.CUSTOMER.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.CustomerBase::Awake()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:Awake");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Awake_1317574534
{
private const string GregHook = "greg.CUSTOMER.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.CustomerBaseDoor::Awake()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBaseDoor:Awake");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_BoxIl2CppObject_984808577
{
private const string GregHook = "greg.CUSTOMER.BoxIl2CppObject";
private const string PatchTarget = "Il2Cpp.CustomerNetworkInfo::BoxIl2CppObject()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerNetworkInfo:BoxIl2CppObject");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CheckIfAppRequirementsAreMet_1505318639
{
private const string GregHook = "greg.CUSTOMER.CheckIfAppRequirementsAreMet";
private const string PatchTarget = "Il2Cpp.CustomerBase::CheckIfAppRequirementsAreMet()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:CheckIfAppRequirementsAreMet");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_DelayedAppDoorOpening_1670341131
{
private const string GregHook = "greg.CUSTOMER.DelayedAppDoorOpening";
private const string PatchTarget = "Il2Cpp.CustomerBase::DelayedAppDoorOpening(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:DelayedAppDoorOpening");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetAppIDForIP_1266320477
{
private const string GregHook = "greg.CUSTOMER.GetAppIDForIP";
private const string PatchTarget = "Il2Cpp.CustomerBase::GetAppIDForIP(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:GetAppIDForIP");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetAppsSpeedRequirements_2024643399
{
private const string GregHook = "greg.CUSTOMER.GetAppsSpeedRequirements";
private const string PatchTarget = "Il2Cpp.CustomerBase::GetAppsSpeedRequirements()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:GetAppsSpeedRequirements");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetEffectiveMoneySpeed_2056910741
{
private const string GregHook = "greg.CUSTOMER.GetEffectiveMoneySpeed";
private const string PatchTarget = "Il2Cpp.CustomerBase::GetEffectiveMoneySpeed()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:GetEffectiveMoneySpeed");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetServerTypeForIP_2139015526
{
private const string GregHook = "greg.CUSTOMER.GetServerTypeForIP";
private const string PatchTarget = "Il2Cpp.CustomerBase::GetServerTypeForIP(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:GetServerTypeForIP");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetSubnetsPerApp_1508308849
{
private const string GregHook = "greg.CUSTOMER.GetSubnetsPerApp";
private const string PatchTarget = "Il2Cpp.CustomerBase::GetSubnetsPerApp()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:GetSubnetsPerApp");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetTotalAppSpeed_112234653
{
private const string GregHook = "greg.CUSTOMER.GetTotalAppSpeed";
private const string PatchTarget = "Il2Cpp.CustomerBase::GetTotalAppSpeed()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:GetTotalAppSpeed");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetVlanIdsPerApp_1640565021
{
private const string GregHook = "greg.CUSTOMER.GetVlanIdsPerApp";
private const string PatchTarget = "Il2Cpp.CustomerBase::GetVlanIdsPerApp()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:GetVlanIdsPerApp");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InteractOnClick_1573336816
{
private const string GregHook = "greg.CUSTOMER.InteractOnClick";
private const string PatchTarget = "Il2Cpp.CustomerBaseDoor::InteractOnClick()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBaseDoor:InteractOnClick");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InteractOnHover_560006201
{
private const string GregHook = "greg.CUSTOMER.InteractOnHover";
private const string PatchTarget = "Il2Cpp.CustomerBaseDoor::InteractOnHover(RaycastHit)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBaseDoor:InteractOnHover");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_IsIPPresent_1515025544
{
private const string GregHook = "greg.CUSTOMER.IsIPPresent";
private const string PatchTarget = "Il2Cpp.CustomerBase::IsIPPresent(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:IsIPPresent");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_LoadData_1848278436
{
private const string GregHook = "greg.CUSTOMER.DataLoaded";
private const string PatchTarget = "Il2Cpp.CustomerBase::LoadData(CustomerBaseSaveData)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:LoadData");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnDestroy_109010656
{
private const string GregHook = "greg.CUSTOMER.OnDestroy";
private const string PatchTarget = "Il2Cpp.CustomerBaseDoor::OnDestroy()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBaseDoor:OnDestroy");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnHoverOver_593282785
{
private const string GregHook = "greg.CUSTOMER.OnHoverOver";
private const string PatchTarget = "Il2Cpp.CustomerBaseDoor::OnHoverOver()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBaseDoor:OnHoverOver");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnLoad_1055316574
{
private const string GregHook = "greg.CUSTOMER.OnLoad";
private const string PatchTarget = "Il2Cpp.CustomerBaseDoor::OnLoad()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBaseDoor:OnLoad");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OpenDoor_605173207
{
private const string GregHook = "greg.CUSTOMER.OpenDoor";
private const string PatchTarget = "Il2Cpp.CustomerBaseDoor::OpenDoor()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBaseDoor:OpenDoor");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OpenDoorAndSetupBase_570576298
{
private const string GregHook = "greg.CUSTOMER.OpenDoorAndSetupBase";
private const string PatchTarget = "Il2Cpp.CustomerBaseDoor::OpenDoorAndSetupBase(CustomerItem)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBaseDoor:OpenDoorAndSetupBase");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ResetAllAppSpeeds_1607388734
{
private const string GregHook = "greg.CUSTOMER.ResetAllAppSpeeds";
private const string PatchTarget = "Il2Cpp.CustomerBase::ResetAllAppSpeeds()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:ResetAllAppSpeeds");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SetCustomer_252938350
{
private const string GregHook = "greg.CUSTOMER.CustomerSet";
private const string PatchTarget = "Il2Cpp.CustomerCard::SetCustomer(CustomerItem)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerCard:SetCustomer");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SetUpApp_469014289
{
private const string GregHook = "greg.CUSTOMER.UpAppSet";
private const string PatchTarget = "Il2Cpp.CustomerBase::SetUpApp(int, int, CustomerBaseSaveData)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:SetUpApp");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SetUpBase_1484263033
{
private const string GregHook = "greg.CUSTOMER.UpBaseSet";
private const string PatchTarget = "Il2Cpp.CustomerBase::SetUpBase(CustomerItem, CustomerBaseSaveData)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:SetUpBase");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Start_879947721
{
private const string GregHook = "greg.CUSTOMER.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.CustomerBase::Start()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:Start");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_UpdateCustomerServerCountAndSpeed_1583172375
{
private const string GregHook = "greg.CUSTOMER.CustomerServerCountAndSpeedChanged";
private const string PatchTarget = "Il2Cpp.CustomerBase::UpdateCustomerServerCountAndSpeed(int, float)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:UpdateCustomerServerCountAndSpeed");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_UpdateMoney_2106328581
{
private const string GregHook = "greg.CUSTOMER.MoneyChanged";
private const string PatchTarget = "Il2Cpp.CustomerBase::UpdateMoney()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:UpdateMoney");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_UpdateSpeedOnCustomerBaseApp_2018895521
{
private const string GregHook = "greg.CUSTOMER.SpeedOnCustomerBaseAppChanged";
private const string PatchTarget = "Il2Cpp.CustomerBase::UpdateSpeedOnCustomerBaseApp(int, float)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerBase:UpdateSpeedOnCustomerBaseApp");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch___AssignHandles_2050084795
{
private const string GregHook = "greg.CUSTOMER.__AssignHandles";
private const string PatchTarget = "Il2Cpp.CustomerNetworkInfo::__AssignHandles(Unity.Entities.SystemState)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CustomerNetworkInfo:__AssignHandles");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_AddTechnician_2065814564
{
private const string GregHook = "greg.EMPLOYEE.Hired";
private const string PatchTarget = "Il2Cpp.TechnicianManager::AddTechnician(Technician)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.TechnicianManager:AddTechnician");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_AssignJob_1571484243
{
private const string GregHook = "greg.EMPLOYEE.AssignJob";
private const string PatchTarget = "Il2Cpp.Technician::AssignJob(TechnicianManager.RepairJob)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:AssignJob");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Awake_1924990056
{
private const string GregHook = "greg.EMPLOYEE.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.Technician::Awake()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:Awake");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Awake_1644423188
{
private const string GregHook = "greg.EMPLOYEE.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.TechnicianManager::Awake()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.TechnicianManager:Awake");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ButtonCancelBuying_501471026
{
private const string GregHook = "greg.EMPLOYEE.ButtonCancelBuying";
private const string PatchTarget = "Il2Cpp.HRSystem::ButtonCancelBuying()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.HRSystem:ButtonCancelBuying");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ButtonConfirmFireEmployee_1084761910
{
private const string GregHook = "greg.EMPLOYEE.ButtonConfirmFireEmployee";
private const string PatchTarget = "Il2Cpp.HRSystem::ButtonConfirmFireEmployee()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.HRSystem:ButtonConfirmFireEmployee");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ButtonConfirmHire_523096741
{
private const string GregHook = "greg.EMPLOYEE.ButtonConfirmHire";
private const string PatchTarget = "Il2Cpp.HRSystem::ButtonConfirmHire()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.HRSystem:ButtonConfirmHire");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ButtonFireEmployee_1723441167
{
private const string GregHook = "greg.EMPLOYEE.ButtonFireEmployee";
private const string PatchTarget = "Il2Cpp.HRSystem::ButtonFireEmployee(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.HRSystem:ButtonFireEmployee");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ButtonHireEmployee_1632014099
{
private const string GregHook = "greg.EMPLOYEE.ButtonHireEmployee";
private const string PatchTarget = "Il2Cpp.HRSystem::ButtonHireEmployee(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.HRSystem:ButtonHireEmployee");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CacheDeviceBounds_1357444008
{
private const string GregHook = "greg.EMPLOYEE.CacheDeviceBounds";
private const string PatchTarget = "Il2Cpp.Technician::CacheDeviceBounds(GameObject)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:CacheDeviceBounds");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_EnqueueDispatch_638868122
{
private const string GregHook = "greg.EMPLOYEE.JobQueued";
private const string PatchTarget = "Il2Cpp.TechnicianManager::EnqueueDispatch(TechnicianManager.RepairJob)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.TechnicianManager:EnqueueDispatch");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_FireTechnician_456913160
{
private const string GregHook = "greg.EMPLOYEE.Fired";
private const string PatchTarget = "Il2Cpp.TechnicianManager::FireTechnician(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.TechnicianManager:FireTechnician");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetActiveJobs_1584126490
{
private const string GregHook = "greg.EMPLOYEE.GetActiveJobs";
private const string PatchTarget = "Il2Cpp.TechnicianManager::GetActiveJobs()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.TechnicianManager:GetActiveJobs");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetCorrectDevicePrefab_1834390630
{
private const string GregHook = "greg.EMPLOYEE.GetCorrectDevicePrefab";
private const string PatchTarget = "Il2Cpp.Technician::GetCorrectDevicePrefab()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:GetCorrectDevicePrefab");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetQueuedJobs_697898304
{
private const string GregHook = "greg.EMPLOYEE.GetQueuedJobs";
private const string PatchTarget = "Il2Cpp.TechnicianManager::GetQueuedJobs()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.TechnicianManager:GetQueuedJobs");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GettingNewServer_1335124477
{
private const string GregHook = "greg.EMPLOYEE.GettingNewServer";
private const string PatchTarget = "Il2Cpp.Technician::GettingNewServer()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:GettingNewServer");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_IsDeviceAlreadyAssigned_805529401
{
private const string GregHook = "greg.EMPLOYEE.IsDeviceAlreadyAssigned";
private const string PatchTarget = "Il2Cpp.TechnicianManager::IsDeviceAlreadyAssigned(NetworkSwitch, Server)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.TechnicianManager:IsDeviceAlreadyAssigned");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnDestroy_258782507
{
private const string GregHook = "greg.EMPLOYEE.OnDestroy";
private const string PatchTarget = "Il2Cpp.Technician::OnDestroy()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:OnDestroy");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnEnable_1407219086
{
private const string GregHook = "greg.EMPLOYEE.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.HRSystem::OnEnable()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.HRSystem:OnEnable");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnLoadingStarted_1773331222
{
private const string GregHook = "greg.EMPLOYEE.OnLoadingStarted";
private const string PatchTarget = "Il2Cpp.Technician::OnLoadingStarted()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:OnLoadingStarted");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_PositionHandTargetsOnDevice_282624404
{
private const string GregHook = "greg.EMPLOYEE.PositionHandTargetsOnDevice";
private const string PatchTarget = "Il2Cpp.Technician::PositionHandTargetsOnDevice(GameObject)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:PositionHandTargetsOnDevice");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ProcessDispatchQueue_683927295
{
private const string GregHook = "greg.EMPLOYEE.ProcessDispatchQueue";
private const string PatchTarget = "Il2Cpp.TechnicianManager::ProcessDispatchQueue()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.TechnicianManager:ProcessDispatchQueue");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RepairDevice_1126995084
{
private const string GregHook = "greg.EMPLOYEE.DeviceRepaired";
private const string PatchTarget = "Il2Cpp.Technician::RepairDevice()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:RepairDevice");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ReplacingServer_815832232
{
private const string GregHook = "greg.EMPLOYEE.ReplacingServer";
private const string PatchTarget = "Il2Cpp.Technician::ReplacingServer()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:ReplacingServer");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RequestJobDelayed_1388882817
{
private const string GregHook = "greg.EMPLOYEE.RequestJobDelayed";
private const string PatchTarget = "Il2Cpp.Technician::RequestJobDelayed()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:RequestJobDelayed");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RequestNextJob_236416391
{
private const string GregHook = "greg.EMPLOYEE.NextJobRequested";
private const string PatchTarget = "Il2Cpp.TechnicianManager::RequestNextJob(Technician)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.TechnicianManager:RequestNextJob");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RestoreJobQueue_1680213915
{
private const string GregHook = "greg.EMPLOYEE.JobQueueLoaded";
private const string PatchTarget = "Il2Cpp.TechnicianManager::RestoreJobQueue(List<RepairJobSaveData>)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.TechnicianManager:RestoreJobQueue");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RotateTowardsGoal_1099171021
{
private const string GregHook = "greg.EMPLOYEE.RotateTowardsGoal";
private const string PatchTarget = "Il2Cpp.Technician::RotateTowardsGoal(Vector3)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:RotateTowardsGoal");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SendTechnician_787353086
{
private const string GregHook = "greg.EMPLOYEE.Dispatched";
private const string PatchTarget = "Il2Cpp.TechnicianManager::SendTechnician(NetworkSwitch, Server)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.TechnicianManager:SendTechnician");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SendToContainer_1048857450
{
private const string GregHook = "greg.EMPLOYEE.ToContainerDispatched";
private const string PatchTarget = "Il2Cpp.Technician::SendToContainer()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:SendToContainer");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SetHandIKWeight_1820156531
{
private const string GregHook = "greg.EMPLOYEE.HandIKWeightSet";
private const string PatchTarget = "Il2Cpp.Technician::SetHandIKWeight(float, float)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:SetHandIKWeight");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Start_40251796
{
private const string GregHook = "greg.EMPLOYEE.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.Technician::Start()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:Start");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_StartTextingAnimation_427388195
{
private const string GregHook = "greg.EMPLOYEE.StartTextingAnimation";
private const string PatchTarget = "Il2Cpp.Technician::StartTextingAnimation()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:StartTextingAnimation");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ThrowingOutServer_998648731
{
private const string GregHook = "greg.EMPLOYEE.ThrowingOutServer";
private const string PatchTarget = "Il2Cpp.Technician::ThrowingOutServer()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:ThrowingOutServer");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Update_2083647970
{
private const string GregHook = "greg.EMPLOYEE.Changed";
private const string PatchTarget = "Il2Cpp.Technician::Update()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Technician:Update");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Awake_1406993918
{
private const string GregHook = "greg.GAMEPLAY.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.Objectives::Awake()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:Awake");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ClearObjectives_659392516
{
private const string GregHook = "greg.GAMEPLAY.ClearObjectives";
private const string PatchTarget = "Il2Cpp.Objectives::ClearObjectives()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:ClearObjectives");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CreateAppObjective_236240420
{
private const string GregHook = "greg.GAMEPLAY.CreateAppObjective";
private const string PatchTarget = "Il2Cpp.Objectives::CreateAppObjective(int, int, int, int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:CreateAppObjective");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_DestroyObjective_1652143479
{
private const string GregHook = "greg.GAMEPLAY.DestroyObjective";
private const string PatchTarget = "Il2Cpp.Objectives::DestroyObjective(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:DestroyObjective");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_EffectOnDestroy_2120595398
{
private const string GregHook = "greg.GAMEPLAY.EffectOnDestroy";
private const string PatchTarget = "Il2Cpp.Objectives::EffectOnDestroy(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:EffectOnDestroy");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetReward_1853769122
{
private const string GregHook = "greg.GAMEPLAY.GetReward";
private const string PatchTarget = "Il2Cpp.ObjectiveObject::GetReward()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.ObjectiveObject:GetReward");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetTimedObjective_1909308936
{
private const string GregHook = "greg.GAMEPLAY.GetTimedObjective";
private const string PatchTarget = "Il2Cpp.Objectives::GetTimedObjective(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:GetTimedObjective");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InstantiateObjectiveSign_1278123797
{
private const string GregHook = "greg.GAMEPLAY.InstantiateObjectiveSign";
private const string PatchTarget = "Il2Cpp.Objectives::InstantiateObjectiveSign(int, Vector3)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:InstantiateObjectiveSign");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_IsTutorialInProgress_1890136508
{
private const string GregHook = "greg.GAMEPLAY.IsTutorialInProgress";
private const string PatchTarget = "Il2Cpp.Objectives::IsTutorialInProgress()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:IsTutorialInProgress");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_LoadObjectives_1124392810
{
private const string GregHook = "greg.GAMEPLAY.ObjectivesLoaded";
private const string PatchTarget = "Il2Cpp.Objectives::LoadObjectives(HashSet<int>)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:LoadObjectives");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ObjectiveTimedText_65437704
{
private const string GregHook = "greg.GAMEPLAY.ObjectiveTimedText";
private const string PatchTarget = "Il2Cpp.Objectives::ObjectiveTimedText()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:ObjectiveTimedText");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnDestroy_304218713
{
private const string GregHook = "greg.GAMEPLAY.OnDestroy";
private const string PatchTarget = "Il2Cpp.Objectives::OnDestroy()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:OnDestroy");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnLoad_647640020
{
private const string GregHook = "greg.GAMEPLAY.OnLoad";
private const string PatchTarget = "Il2Cpp.Objectives::OnLoad()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:OnLoad");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_PlayUIEffectDisolve_739183137
{
private const string GregHook = "greg.GAMEPLAY.PlayUIEffectDisolve";
private const string PatchTarget = "Il2Cpp.ObjectiveObject::PlayUIEffectDisolve()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.ObjectiveObject:PlayUIEffectDisolve");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveObjectiveSign_298470597
{
private const string GregHook = "greg.GAMEPLAY.ObjectiveSignRemoved";
private const string PatchTarget = "Il2Cpp.Objectives::RemoveObjectiveSign(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:RemoveObjectiveSign");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Start_1856381310
{
private const string GregHook = "greg.GAMEPLAY.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.ObjectiveObject::Start()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.ObjectiveObject:Start");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Start_343689952
{
private const string GregHook = "greg.GAMEPLAY.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.Objectives::Start()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:Start");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_StartObjective_736155304
{
private const string GregHook = "greg.GAMEPLAY.StartObjective";
private const string PatchTarget = "Il2Cpp.Objectives::StartObjective(int, bool)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Objectives:StartObjective");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_UpdateDisplay_190890658
{
private const string GregHook = "greg.GAMEPLAY.DisplayChanged";
private const string PatchTarget = "Il2Cpp.ObjectiveTimed::UpdateDisplay(int, int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.ObjectiveTimed:UpdateDisplay");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_AddBrokenServer_348702684
{
private const string GregHook = "greg.NETWORK.BrokenServerAdded";
private const string PatchTarget = "Il2Cpp.NetworkMap::AddBrokenServer(Server)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:AddBrokenServer");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_AddBrokenSwitch_1398081799
{
private const string GregHook = "greg.NETWORK.BrokenSwitchAdded";
private const string PatchTarget = "Il2Cpp.NetworkMap::AddBrokenSwitch(NetworkSwitch)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:AddBrokenSwitch");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_AddDevice_1664229713
{
private const string GregHook = "greg.NETWORK.DeviceAdded";
private const string PatchTarget = "Il2Cpp.NetworkMap::AddDevice(string, CableLink.TypeOfLink, int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:AddDevice");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_AddSwitchConnection_1138033958
{
private const string GregHook = "greg.NETWORK.SwitchConnectionAdded";
private const string PatchTarget = "Il2Cpp.NetworkMap::AddSwitchConnection(string, string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:AddSwitchConnection");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ApplyColor_324126200
{
private const string GregHook = "greg.NETWORK.ApplyColor";
private const string PatchTarget = "Il2Cpp.CableSpinner::ApplyColor(Color, string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableSpinner:ApplyColor");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_AssignEntity_352361542
{
private const string GregHook = "greg.NETWORK.AssignEntity";
private const string PatchTarget = "Il2Cpp.CablePositions::AssignEntity(int, Entity)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:AssignEntity");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Awake_1536754265
{
private const string GregHook = "greg.NETWORK.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.CablePositions::Awake()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:Awake");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Awake_255757898
{
private const string GregHook = "greg.NETWORK.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.NetworkMap::Awake()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:Awake");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Awake_82011775
{
private const string GregHook = "greg.NETWORK.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::Awake()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:Awake");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Awake_1818815612
{
private const string GregHook = "greg.NETWORK.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::Awake()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:Awake");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Awake_1984929328
{
private const string GregHook = "greg.NETWORK.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.SFPBox::Awake()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPBox:Awake");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Awake_452597124
{
private const string GregHook = "greg.NETWORK.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.SFPModule::Awake()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPModule:Awake");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_BuildPatchPanelCache_182048977
{
private const string GregHook = "greg.NETWORK.BuildPatchPanelCache";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::BuildPatchPanelCache()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:BuildPatchPanelCache");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ButtonEditLabel_1787653594
{
private const string GregHook = "greg.NETWORK.ButtonEditLabel";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::ButtonEditLabel()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:ButtonEditLabel");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ButtonShowNetworkSwitchConfig_433823136
{
private const string GregHook = "greg.NETWORK.ButtonShowNetworkSwitchConfig";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::ButtonShowNetworkSwitchConfig()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:ButtonShowNetworkSwitchConfig");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CanAcceptSFP_795725984
{
private const string GregHook = "greg.NETWORK.CanAcceptSFP";
private const string PatchTarget = "Il2Cpp.SFPBox::CanAcceptSFP(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPBox:CanAcceptSFP");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ClearAllCables_465632632
{
private const string GregHook = "greg.NETWORK.ClearAllCables";
private const string PatchTarget = "Il2Cpp.CablePositions::ClearAllCables()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:ClearAllCables");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ClearErrorSign_1433209132
{
private const string GregHook = "greg.NETWORK.ClearErrorSign";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::ClearErrorSign()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:ClearErrorSign");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ClearMap_1235416082
{
private const string GregHook = "greg.NETWORK.ClearMap";
private const string PatchTarget = "Il2Cpp.NetworkMap::ClearMap()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:ClearMap");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ClearVLANDisplay_1259816514
{
private const string GregHook = "greg.NETWORK.ClearVLANDisplay";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::ClearVLANDisplay()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:ClearVLANDisplay");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ClearWarningSign_1809662769
{
private const string GregHook = "greg.NETWORK.ClearWarningSign";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::ClearWarningSign(bool)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:ClearWarningSign");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ClickPort_1554987955
{
private const string GregHook = "greg.NETWORK.ClickPort";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::ClickPort(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:ClickPort");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CloseConfig_684713958
{
private const string GregHook = "greg.NETWORK.CloseConfig";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::CloseConfig()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:CloseConfig");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CollectPatchPanelChainCables_1815149125
{
private const string GregHook = "greg.NETWORK.CollectPatchPanelChainCables";
private const string PatchTarget = "Il2Cpp.CableLink::CollectPatchPanelChainCables(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:CollectPatchPanelChainCables");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Connect_1126989948
{
private const string GregHook = "greg.NETWORK.Connect";
private const string PatchTarget = "Il2Cpp.NetworkMap::Connect(string, string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:Connect");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CreateLACP_1723181117
{
private const string GregHook = "greg.NETWORK.CreateLACP";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::CreateLACP()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:CreateLACP");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CreateLACPGroup_1709298854
{
private const string GregHook = "greg.NETWORK.CreateLACPGroup";
private const string PatchTarget = "Il2Cpp.NetworkMap::CreateLACPGroup(string, string, List<int>)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:CreateLACPGroup");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CreateNewCable_1937373818
{
private const string GregHook = "greg.NETWORK.CreateNewCable";
private const string PatchTarget = "Il2Cpp.CablePositions::CreateNewCable()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:CreateNewCable");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CreateNewReverseCable_470599775
{
private const string GregHook = "greg.NETWORK.CreateNewReverseCable";
private const string PatchTarget = "Il2Cpp.CablePositions::CreateNewReverseCable()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:CreateNewReverseCable");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CreateRopeAttachPoint_1894310557
{
private const string GregHook = "greg.NETWORK.CreateRopeAttachPoint";
private const string PatchTarget = "Il2Cpp.CableLink::CreateRopeAttachPoint()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:CreateRopeAttachPoint");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CreateTubeMesh_1352835513
{
private const string GregHook = "greg.NETWORK.CreateTubeMesh";
private const string PatchTarget = "Il2Cpp.CablePositions::CreateTubeMesh(List<Vector3>)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:CreateTubeMesh");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Disconnect_1297789326
{
private const string GregHook = "greg.NETWORK.Disconnect";
private const string PatchTarget = "Il2Cpp.NetworkMap::Disconnect(string, string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:Disconnect");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_DisconnectCables_699946196
{
private const string GregHook = "greg.NETWORK.DisconnectCables";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::DisconnectCables()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:DisconnectCables");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_DisconnectCablesWhenSwitchIsOff_651207854
{
private const string GregHook = "greg.NETWORK.DisconnectCablesWhenSwitchIsOff";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::DisconnectCablesWhenSwitchIsOff()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:DisconnectCablesWhenSwitchIsOff");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_DropObject_1826782360
{
private const string GregHook = "greg.NETWORK.ObjectDropped";
private const string PatchTarget = "Il2Cpp.CableSpinner::DropObject()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableSpinner:DropObject");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_FindAllReachablePathsFrom_486312512
{
private const string GregHook = "greg.NETWORK.FindAllReachablePathsFrom";
private const string PatchTarget = "Il2Cpp.NetworkMap::FindAllReachablePathsFrom(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:FindAllReachablePathsFrom");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_FindAllRoutes_11794856
{
private const string GregHook = "greg.NETWORK.FindAllRoutes";
private const string PatchTarget = "Il2Cpp.NetworkMap::FindAllRoutes(string, string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:FindAllRoutes");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_FindPhysicalPath_515412861
{
private const string GregHook = "greg.NETWORK.FindPhysicalPath";
private const string PatchTarget = "Il2Cpp.NetworkMap::FindPhysicalPath(string, string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:FindPhysicalPath");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GenerateDeviceName_1160580762
{
private const string GregHook = "greg.NETWORK.GenerateDeviceName";
private const string PatchTarget = "Il2Cpp.NetworkMap::GenerateDeviceName(CableLink.TypeOfLink, Vector3)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GenerateDeviceName");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GenerateFinalPath_232709097
{
private const string GregHook = "greg.NETWORK.GenerateFinalPath";
private const string PatchTarget = "Il2Cpp.CablePositions::GenerateFinalPath(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:GenerateFinalPath");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetAllBrokenServers_1105875935
{
private const string GregHook = "greg.NETWORK.GetAllBrokenServers";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetAllBrokenServers()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetAllBrokenServers");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetAllBrokenSwitches_1996045249
{
private const string GregHook = "greg.NETWORK.GetAllBrokenSwitches";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetAllBrokenSwitches()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetAllBrokenSwitches");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetAllDevices_1364175150
{
private const string GregHook = "greg.NETWORK.GetAllDevices";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetAllDevices()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetAllDevices");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetAllDisallowedVlans_37428224
{
private const string GregHook = "greg.NETWORK.GetAllDisallowedVlans";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::GetAllDisallowedVlans()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:GetAllDisallowedVlans");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetAllLACPGroups_1758564052
{
private const string GregHook = "greg.NETWORK.GetAllLACPGroups";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetAllLACPGroups()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetAllLACPGroups");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetAllNetworkSwitches_1972768721
{
private const string GregHook = "greg.NETWORK.GetAllNetworkSwitches";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetAllNetworkSwitches()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetAllNetworkSwitches");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetAllServers_939894954
{
private const string GregHook = "greg.NETWORK.GetAllServers";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetAllServers()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetAllServers");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetCableMaterial_371290061
{
private const string GregHook = "greg.NETWORK.GetCableMaterial";
private const string PatchTarget = "Il2Cpp.CablePositions::GetCableMaterial(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:GetCableMaterial");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetCablePositions_1311124979
{
private const string GregHook = "greg.NETWORK.GetCablePositions";
private const string PatchTarget = "Il2Cpp.CablePositions::GetCablePositions(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:GetCablePositions");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetConnectedDevices_349876653
{
private const string GregHook = "greg.NETWORK.GetConnectedDevices";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::GetConnectedDevices()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:GetConnectedDevices");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetCustomerBase_909703353
{
private const string GregHook = "greg.NETWORK.GetCustomerBase";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetCustomerBase(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetCustomerBase");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetDevice_1004983264
{
private const string GregHook = "greg.NETWORK.GetDevice";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetDevice(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetDevice");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetDevicePrefix_1299863887
{
private const string GregHook = "greg.NETWORK.GetDevicePrefix";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::GetDevicePrefix(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:GetDevicePrefix");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetDisallowedVlans_477135136
{
private const string GregHook = "greg.NETWORK.GetDisallowedVlans";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::GetDisallowedVlans(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:GetDisallowedVlans");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetFreeSpaceInTheBox_1948958549
{
private const string GregHook = "greg.NETWORK.GetFreeSpaceInTheBox";
private const string PatchTarget = "Il2Cpp.SFPBox::GetFreeSpaceInTheBox()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPBox:GetFreeSpaceInTheBox");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetLACPGroupBetween_1041391657
{
private const string GregHook = "greg.NETWORK.GetLACPGroupBetween";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetLACPGroupBetween(string, string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetLACPGroupBetween");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetLACPGroupForCable_161784126
{
private const string GregHook = "greg.NETWORK.GetLACPGroupForCable";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetLACPGroupForCable(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetLACPGroupForCable");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetNumberOfDevices_536441460
{
private const string GregHook = "greg.NETWORK.GetNumberOfDevices";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetNumberOfDevices()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetNumberOfDevices");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetRawCablePositions_741792892
{
private const string GregHook = "greg.NETWORK.GetRawCablePositions";
private const string PatchTarget = "Il2Cpp.CablePositions::GetRawCablePositions(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:GetRawCablePositions");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetRawLinkTransforms_1194802599
{
private const string GregHook = "greg.NETWORK.GetRawLinkTransforms";
private const string PatchTarget = "Il2Cpp.CablePositions::GetRawLinkTransforms(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:GetRawLinkTransforms");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetRopeAttachPoint_1134455152
{
private const string GregHook = "greg.NETWORK.GetRopeAttachPoint";
private const string PatchTarget = "Il2Cpp.CableLink::GetRopeAttachPoint()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:GetRopeAttachPoint");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetServer_827838278
{
private const string GregHook = "greg.NETWORK.GetServer";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetServer(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetServer");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetSwitchById_776695308
{
private const string GregHook = "greg.NETWORK.GetSwitchById";
private const string PatchTarget = "Il2Cpp.NetworkMap::GetSwitchById(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:GetSwitchById");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetSwitchId_1798941899
{
private const string GregHook = "greg.NETWORK.GetSwitchId";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::GetSwitchId()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:GetSwitchId");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_GetVisibleVLANs_1211295357
{
private const string GregHook = "greg.NETWORK.GetVisibleVLANs";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::GetVisibleVLANs()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:GetVisibleVLANs");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_HandleNewCableWhileOff_157555995
{
private const string GregHook = "greg.NETWORK.HandleNewCableWhileOff";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::HandleNewCableWhileOff(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:HandleNewCableWhileOff");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InsertDirectlyIntoPort_446938291
{
private const string GregHook = "greg.NETWORK.InsertDirectlyIntoPort";
private const string PatchTarget = "Il2Cpp.SFPModule::InsertDirectlyIntoPort(CableLink)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPModule:InsertDirectlyIntoPort");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InsertedInSFPPort_1522336649
{
private const string GregHook = "greg.NETWORK.InsertedInSFPPort";
private const string PatchTarget = "Il2Cpp.SFPModule::InsertedInSFPPort(CableLink, bool)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPModule:InsertedInSFPPort");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InsertSFP_528128601
{
private const string GregHook = "greg.NETWORK.InsertSFP";
private const string PatchTarget = "Il2Cpp.CableLink::InsertSFP(float, int, SFPModule)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:InsertSFP");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InsertSFPBackIntoBox_1149758258
{
private const string GregHook = "greg.NETWORK.InsertSFPBackIntoBox";
private const string PatchTarget = "Il2Cpp.SFPBox::InsertSFPBackIntoBox()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPBox:InsertSFPBackIntoBox");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InteractOnClick_245600081
{
private const string GregHook = "greg.NETWORK.InteractOnClick";
private const string PatchTarget = "Il2Cpp.CableLink::InteractOnClick()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:InteractOnClick");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InteractOnClick_1291801756
{
private const string GregHook = "greg.NETWORK.InteractOnClick";
private const string PatchTarget = "Il2Cpp.CableSpinner::InteractOnClick()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableSpinner:InteractOnClick");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InteractOnClick_468975386
{
private const string GregHook = "greg.NETWORK.InteractOnClick";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::InteractOnClick()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:InteractOnClick");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InteractOnClick_1192800553
{
private const string GregHook = "greg.NETWORK.InteractOnClick";
private const string PatchTarget = "Il2Cpp.SFPBox::InteractOnClick()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPBox:InteractOnClick");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InteractOnClick_1976514360
{
private const string GregHook = "greg.NETWORK.InteractOnClick";
private const string PatchTarget = "Il2Cpp.SFPModule::InteractOnClick()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPModule:InteractOnClick");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InteractOnHover_1305512091
{
private const string GregHook = "greg.NETWORK.InteractOnHover";
private const string PatchTarget = "Il2Cpp.CableLink::InteractOnHover(RaycastHit)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:InteractOnHover");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InteractOnHover_1655545177
{
private const string GregHook = "greg.NETWORK.InteractOnHover";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::InteractOnHover(RaycastHit)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:InteractOnHover");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InteractOnHover_2114694379
{
private const string GregHook = "greg.NETWORK.InteractOnHover";
private const string PatchTarget = "Il2Cpp.SFPBox::InteractOnHover(RaycastHit)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPBox:InteractOnHover");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_InteractOnHover_2145407766
{
private const string GregHook = "greg.NETWORK.InteractOnHover";
private const string PatchTarget = "Il2Cpp.SFPModule::InteractOnHover(RaycastHit)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPModule:InteractOnHover");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_IsAllowedToDoSecondAction_1864462408
{
private const string GregHook = "greg.NETWORK.IsAllowedToDoSecondAction";
private const string PatchTarget = "Il2Cpp.CableLink::IsAllowedToDoSecondAction()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:IsAllowedToDoSecondAction");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_IsAnyCableConnected_422256938
{
private const string GregHook = "greg.NETWORK.IsAnyCableConnected";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::IsAnyCableConnected()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:IsAnyCableConnected");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_IsAnyCableConnected_1359914034
{
private const string GregHook = "greg.NETWORK.IsAnyCableConnected";
private const string PatchTarget = "Il2Cpp.SFPModule::IsAnyCableConnected()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPModule:IsAnyCableConnected");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_IsCableComplete_1375206767
{
private const string GregHook = "greg.NETWORK.IsCableComplete";
private const string PatchTarget = "Il2Cpp.CablePositions::IsCableComplete(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:IsCableComplete");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_IsCableLenghtEnough_518045835
{
private const string GregHook = "greg.NETWORK.IsCableLenghtEnough";
private const string PatchTarget = "Il2Cpp.CableSpinner::IsCableLenghtEnough()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableSpinner:IsCableLenghtEnough");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_IsIpAddressDuplicate_1751636468
{
private const string GregHook = "greg.NETWORK.IsIpAddressDuplicate";
private const string PatchTarget = "Il2Cpp.NetworkMap::IsIpAddressDuplicate(string, Server)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:IsIpAddressDuplicate");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_IsPatchPanelPort_1765400509
{
private const string GregHook = "greg.NETWORK.IsPatchPanelPort";
private const string PatchTarget = "Il2Cpp.NetworkMap::IsPatchPanelPort(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:IsPatchPanelPort");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_IsVlanAllowedOnCable_1672596741
{
private const string GregHook = "greg.NETWORK.IsVlanAllowedOnCable";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::IsVlanAllowedOnCable(int, int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:IsVlanAllowedOnCable");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_IsVlanAllowedOnPort_416916989
{
private const string GregHook = "greg.NETWORK.IsVlanAllowedOnPort";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::IsVlanAllowedOnPort(int, int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:IsVlanAllowedOnPort");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ItIsBroken_1467405605
{
private const string GregHook = "greg.NETWORK.ItIsBroken";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::ItIsBroken()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:ItIsBroken");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_LabelActionOnClick_1717248868
{
private const string GregHook = "greg.NETWORK.LabelActionOnClick";
private const string PatchTarget = "Il2Cpp.CableLink::LabelActionOnClick()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:LabelActionOnClick");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_LoadCable_1555023019
{
private const string GregHook = "greg.NETWORK.CableLoaded";
private const string PatchTarget = "Il2Cpp.CablePositions::LoadCable(CableSaveData)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:LoadCable");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_LoadSavedColor_407995708
{
private const string GregHook = "greg.NETWORK.SavedColorLoaded";
private const string PatchTarget = "Il2Cpp.CableSpinner::LoadSavedColor()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableSpinner:LoadSavedColor");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_LoadSFPsFromSave_1140109786
{
private const string GregHook = "greg.NETWORK.SFPsFromSaveLoaded";
private const string PatchTarget = "Il2Cpp.SFPBox::LoadSFPsFromSave()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPBox:LoadSFPsFromSave");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_LowerAmountOfCable_537455193
{
private const string GregHook = "greg.NETWORK.LowerAmountOfCable";
private const string PatchTarget = "Il2Cpp.CableSpinner::LowerAmountOfCable(float)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableSpinner:LowerAmountOfCable");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_NormalizeDeviceKey_308249158
{
private const string GregHook = "greg.NETWORK.NormalizeDeviceKey";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::NormalizeDeviceKey(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:NormalizeDeviceKey");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnCreate_1799041278
{
private const string GregHook = "greg.NETWORK.OnCreate";
private const string PatchTarget = "Il2Cpp.PacketSpawnerSystem::OnCreate(SystemState)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.PacketSpawnerSystem:OnCreate");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnCreateForCompiler_1086789779
{
private const string GregHook = "greg.NETWORK.OnCreateForCompiler";
private const string PatchTarget = "Il2Cpp.PacketSpawnerSystem::OnCreateForCompiler(SystemState)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.PacketSpawnerSystem:OnCreateForCompiler");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnDestroy_1994746005
{
private const string GregHook = "greg.NETWORK.OnDestroy";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::OnDestroy()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:OnDestroy");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnDestroy_970744230
{
private const string GregHook = "greg.NETWORK.OnDestroy";
private const string PatchTarget = "Il2Cpp.SFPModule::OnDestroy()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPModule:OnDestroy");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnEndEditingInputText_2071517278
{
private const string GregHook = "greg.NETWORK.OnEndEditingInputText";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::OnEndEditingInputText(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:OnEndEditingInputText");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnHoverOver_1873838013
{
private const string GregHook = "greg.NETWORK.OnHoverOver";
private const string PatchTarget = "Il2Cpp.CableLink::OnHoverOver()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:OnHoverOver");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OnUpdate_1491471650
{
private const string GregHook = "greg.NETWORK.OnUpdate";
private const string PatchTarget = "Il2Cpp.PacketSpawnerSystem::OnUpdate(SystemState)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.PacketSpawnerSystem:OnUpdate");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_OpenConfig_1509830229
{
private const string GregHook = "greg.NETWORK.OpenConfig";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::OpenConfig(NetworkSwitch)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:OpenConfig");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ParentTheObjectWithDelay_1488633473
{
private const string GregHook = "greg.NETWORK.ParentTheObjectWithDelay";
private const string PatchTarget = "Il2Cpp.SFPBox::ParentTheObjectWithDelay(Transform, int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPBox:ParentTheObjectWithDelay");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_PowerButton_2003818229
{
private const string GregHook = "greg.NETWORK.PowerButton";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::PowerButton(bool)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:PowerButton");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_PrintNetworkMap_695951244
{
private const string GregHook = "greg.NETWORK.PrintNetworkMap";
private const string PatchTarget = "Il2Cpp.NetworkMap::PrintNetworkMap()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:PrintNetworkMap");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ReconnectCables_1103112097
{
private const string GregHook = "greg.NETWORK.ReconnectCables";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::ReconnectCables()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:ReconnectCables");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RedrawCable_250151001
{
private const string GregHook = "greg.NETWORK.RedrawCable";
private const string PatchTarget = "Il2Cpp.CablePositions::RedrawCable(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:RedrawCable");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RefreshPortDisplay_766553353
{
private const string GregHook = "greg.NETWORK.RefreshPortDisplay";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::RefreshPortDisplay()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:RefreshPortDisplay");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RefreshVLANDisplayForSelection_431355729
{
private const string GregHook = "greg.NETWORK.RefreshVLANDisplayForSelection";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::RefreshVLANDisplayForSelection(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:RefreshVLANDisplayForSelection");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RegisterCustomerBase_882688661
{
private const string GregHook = "greg.NETWORK.RegisterCustomerBase";
private const string PatchTarget = "Il2Cpp.NetworkMap::RegisterCustomerBase(CustomerBase)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:RegisterCustomerBase");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RegisterServer_1236916478
{
private const string GregHook = "greg.NETWORK.RegisterServer";
private const string PatchTarget = "Il2Cpp.NetworkMap::RegisterServer(Server)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:RegisterServer");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RegisterSwitch_1591560090
{
private const string GregHook = "greg.NETWORK.RegisterSwitch";
private const string PatchTarget = "Il2Cpp.NetworkMap::RegisterSwitch(NetworkSwitch)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:RegisterSwitch");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemapDeviceId_444716681
{
private const string GregHook = "greg.NETWORK.RemapDeviceId";
private const string PatchTarget = "Il2Cpp.NetworkMap::RemapDeviceId(string, string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:RemapDeviceId");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveBrokenServer_964855114
{
private const string GregHook = "greg.NETWORK.BrokenServerRemoved";
private const string PatchTarget = "Il2Cpp.NetworkMap::RemoveBrokenServer(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:RemoveBrokenServer");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveBrokenSwitch_1356709737
{
private const string GregHook = "greg.NETWORK.BrokenSwitchRemoved";
private const string PatchTarget = "Il2Cpp.NetworkMap::RemoveBrokenSwitch(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:RemoveBrokenSwitch");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveCableConnection_1143847440
{
private const string GregHook = "greg.NETWORK.CableConnectionRemoved";
private const string PatchTarget = "Il2Cpp.NetworkMap::RemoveCableConnection(int, bool)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:RemoveCableConnection");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveCableFromLACPGroups_376711922
{
private const string GregHook = "greg.NETWORK.CableFromLACPGroupsRemoved";
private const string PatchTarget = "Il2Cpp.NetworkMap::RemoveCableFromLACPGroups(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:RemoveCableFromLACPGroups");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveDevice_478879730
{
private const string GregHook = "greg.NETWORK.DeviceRemoved";
private const string PatchTarget = "Il2Cpp.NetworkMap::RemoveDevice(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:RemoveDevice");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveFromPort_1983890882
{
private const string GregHook = "greg.NETWORK.FromPortRemoved";
private const string PatchTarget = "Il2Cpp.SFPModule::RemoveFromPort()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPModule:RemoveFromPort");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveIsolatedDevice_546717908
{
private const string GregHook = "greg.NETWORK.IsolatedDeviceRemoved";
private const string PatchTarget = "Il2Cpp.NetworkMap::RemoveIsolatedDevice(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:RemoveIsolatedDevice");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveLACP_185803619
{
private const string GregHook = "greg.NETWORK.LACPRemoved";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::RemoveLACP()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:RemoveLACP");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveLACPGroup_1303447862
{
private const string GregHook = "greg.NETWORK.LACPGroupRemoved";
private const string PatchTarget = "Il2Cpp.NetworkMap::RemoveLACPGroup(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:RemoveLACPGroup");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveLastPosition_1845399456
{
private const string GregHook = "greg.NETWORK.LastPositionRemoved";
private const string PatchTarget = "Il2Cpp.CablePositions::RemoveLastPosition(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:RemoveLastPosition");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemovePosition_1504878964
{
private const string GregHook = "greg.NETWORK.PositionRemoved";
private const string PatchTarget = "Il2Cpp.CablePositions::RemovePosition(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:RemovePosition");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveSFP_1984506716
{
private const string GregHook = "greg.NETWORK.SFPRemoved";
private const string PatchTarget = "Il2Cpp.CableLink::RemoveSFP()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:RemoveSFP");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RemoveSFPFromBox_1637439058
{
private const string GregHook = "greg.NETWORK.SFPFromBoxRemoved";
private const string PatchTarget = "Il2Cpp.SFPBox::RemoveSFPFromBox(int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPBox:RemoveSFPFromBox");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_RepairDevice_1687463358
{
private const string GregHook = "greg.NETWORK.DeviceRepaired";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::RepairDevice()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:RepairDevice");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ResolveRemoteDevice_189959351
{
private const string GregHook = "greg.NETWORK.ResolveRemoteDevice";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::ResolveRemoteDevice(CableLink)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:ResolveRemoteDevice");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ResolveThroughPatchPanel_1407763106
{
private const string GregHook = "greg.NETWORK.ResolveThroughPatchPanel";
private const string PatchTarget = "Il2Cpp.NetworkMap::ResolveThroughPatchPanel(string, string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:ResolveThroughPatchPanel");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ReturnSFPDirectly_1447846894
{
private const string GregHook = "greg.NETWORK.ReturnSFPDirectly";
private const string PatchTarget = "Il2Cpp.SFPBox::ReturnSFPDirectly(SFPModule)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPBox:ReturnSFPDirectly");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SecondActionOnClick_440554745
{
private const string GregHook = "greg.NETWORK.SecondActionOnClick";
private const string PatchTarget = "Il2Cpp.CableLink::SecondActionOnClick()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:SecondActionOnClick");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SetConnectionSpeed_1281383648
{
private const string GregHook = "greg.NETWORK.ConnectionSpeedSet";
private const string PatchTarget = "Il2Cpp.CableLink::SetConnectionSpeed(float)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:SetConnectionSpeed");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SetDisallowedVlansPerPort_342996562
{
private const string GregHook = "greg.NETWORK.DisallowedVlansPerPortSet";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::SetDisallowedVlansPerPort(Dictionary<int, HashSet<int>>)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:SetDisallowedVlansPerPort");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SetLACPGroups_1034082903
{
private const string GregHook = "greg.NETWORK.LACPGroupsSet";
private const string PatchTarget = "Il2Cpp.NetworkMap::SetLACPGroups(Dictionary<int, NetworkMap.LACPGroup>)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:SetLACPGroups");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SetPowerLightMaterial_729960800
{
private const string GregHook = "greg.NETWORK.PowerLightMaterialSet";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::SetPowerLightMaterial(Material)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:SetPowerLightMaterial");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SetVlanAllowed_1934055143
{
private const string GregHook = "greg.NETWORK.VlanAllowedSet";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::SetVlanAllowed(int, int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:SetVlanAllowed");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SetVlanDisallowed_2011363497
{
private const string GregHook = "greg.NETWORK.VlanDisallowedSet";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::SetVlanDisallowed(int, int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:SetVlanDisallowed");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SlideIntoPort_2140690273
{
private const string GregHook = "greg.NETWORK.SlideIntoPort";
private const string PatchTarget = "Il2Cpp.SFPModule::SlideIntoPort(Transform)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPModule:SlideIntoPort");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Start_1136614728
{
private const string GregHook = "greg.NETWORK.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.CableLink::Start()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableLink:Start");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Start_1753911035
{
private const string GregHook = "greg.NETWORK.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.CablePositions::Start()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CablePositions:Start");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Start_645174459
{
private const string GregHook = "greg.NETWORK.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.CableSpinner::Start()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableSpinner:Start");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Start_732481337
{
private const string GregHook = "greg.NETWORK.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::Start()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:Start");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_SwitchInsertedInRack_2118680144
{
private const string GregHook = "greg.NETWORK.SwitchInsertedInRack";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::SwitchInsertedInRack(SwitchSaveData)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:SwitchInsertedInRack");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_TakeSFPFromBox_362357063
{
private const string GregHook = "greg.NETWORK.TakeSFPFromBox";
private const string PatchTarget = "Il2Cpp.SFPBox::TakeSFPFromBox()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.SFPBox:TakeSFPFromBox");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_TickTimer_2026598098
{
private const string GregHook = "greg.NETWORK.TickTimer";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::TickTimer()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:TickTimer");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ToggleVLANMulti_869072977
{
private const string GregHook = "greg.NETWORK.ToggleVLANMulti";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::ToggleVLANMulti(List<int>, int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:ToggleVLANMulti");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_TraversePatchPanels_1302136594
{
private const string GregHook = "greg.NETWORK.TraversePatchPanels";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::TraversePatchPanels(CableLink)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:TraversePatchPanels");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_TurnOffCommonFunctions_1067912129
{
private const string GregHook = "greg.NETWORK.TurnOffCommonFunctions";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::TurnOffCommonFunctions()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:TurnOffCommonFunctions");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_TurnOnCommonFunction_1651479434
{
private const string GregHook = "greg.NETWORK.TurnOnCommonFunction";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::TurnOnCommonFunction()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:TurnOnCommonFunction");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_UpdateCurrentLength_1142138125
{
private const string GregHook = "greg.NETWORK.CurrentLengthChanged";
private const string PatchTarget = "Il2Cpp.CableSpinner::UpdateCurrentLength(float)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableSpinner:UpdateCurrentLength");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_UpdateDeviceCustomerID_1778676718
{
private const string GregHook = "greg.NETWORK.DeviceCustomerIDChanged";
private const string PatchTarget = "Il2Cpp.NetworkMap::UpdateDeviceCustomerID(string, int)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:UpdateDeviceCustomerID");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_UpdateScreenUI_1940014669
{
private const string GregHook = "greg.NETWORK.ScreenUIChanged";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::UpdateScreenUI()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:UpdateScreenUI");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_UpdateText_1466512571
{
private const string GregHook = "greg.NETWORK.TextChanged";
private const string PatchTarget = "Il2Cpp.CableSpinner::UpdateText()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.CableSpinner:UpdateText");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ValidateRackPosition_438614698
{
private const string GregHook = "greg.NETWORK.ValidateRackPosition";
private const string PatchTarget = "Il2Cpp.NetworkSwitch::ValidateRackPosition()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitch:ValidateRackPosition");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch__ButtonEditLabel_b__30_0_101079556
{
private const string GregHook = "greg.NETWORK._ButtonEditLabel_b__30_0";
private const string PatchTarget = "Il2Cpp.NetworkSwitchConfiguration::_ButtonEditLabel_b__30_0(string)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkSwitchConfiguration:_ButtonEditLabel_b__30_0");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch__PrintNetworkMap_b__42_0_1113135869
{
private const string GregHook = "greg.NETWORK._PrintNetworkMap_b__42_0";
private const string PatchTarget = "Il2Cpp.NetworkMap::_PrintNetworkMap_b__42_0(NetworkMap.Device)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:_PrintNetworkMap_b__42_0");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch__PrintNetworkMap_b__42_1_1423686072
{
private const string GregHook = "greg.NETWORK._PrintNetworkMap_b__42_1";
private const string PatchTarget = "Il2Cpp.NetworkMap::_PrintNetworkMap_b__42_1(NetworkMap.Device)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.NetworkMap:_PrintNetworkMap_b__42_1");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch___AssignQueries_768497982
{
private const string GregHook = "greg.NETWORK.__AssignQueries";
private const string PatchTarget = "Il2Cpp.PacketSpawnerSystem::__AssignQueries(SystemState)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.PacketSpawnerSystem:__AssignQueries");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch___codegen__OnCreate_1921278261
{
private const string GregHook = "greg.NETWORK.__codegen__OnCreate";
private const string PatchTarget = "Il2Cpp.PacketSpawnerSystem::__codegen__OnCreate(System.IntPtr, System.IntPtr)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.PacketSpawnerSystem:__codegen__OnCreate");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch___codegen__OnCreateForCompiler_1037848808
{
private const string GregHook = "greg.NETWORK.__codegen__OnCreateForCompiler";
private const string PatchTarget = "Il2Cpp.PacketSpawnerSystem::__codegen__OnCreateForCompiler(System.IntPtr, System.IntPtr)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.PacketSpawnerSystem:__codegen__OnCreateForCompiler");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch___codegen__OnUpdate_1164349281
{
private const string GregHook = "greg.NETWORK.__codegen__OnUpdate";
private const string PatchTarget = "Il2Cpp.PacketSpawnerSystem::__codegen__OnUpdate(System.IntPtr, System.IntPtr)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.PacketSpawnerSystem:__codegen__OnUpdate");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_AddCallbacks_1433418719
{
private const string GregHook = "greg.PLAYER.CallbacksAdded";
private const string PatchTarget = "Il2Cpp.PlayerActions::AddCallbacks(InputController.IPlayerActions)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.PlayerActions:AddCallbacks");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Awake_1814049722
{
private const string GregHook = "greg.PLAYER.ComponentInitialized";
private const string PatchTarget = "Il2Cpp.PlayerManager::Awake()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.PlayerManager:Awake");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_CheckFallsThroughMap_1939094863
{
private const string GregHook = "greg.PLAYER.CheckFallsThroughMap";
private const string PatchTarget = "Il2Cpp.Player::CheckFallsThroughMap()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Player:CheckFallsThroughMap");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_ConfinedCursorforUI_1444161236
{
private const string GregHook = "greg.PLAYER.ConfinedCursorforUI";
private const string PatchTarget = "Il2Cpp.PlayerManager::ConfinedCursorforUI()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.PlayerManager:ConfinedCursorforUI");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_DefaultActionEffect_852552950
{
private const string GregHook = "greg.PLAYER.DefaultActionEffect";
private const string PatchTarget = "Il2Cpp.PlayerManager::DefaultActionEffect(Vector3, float)";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.PlayerManager:DefaultActionEffect");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_Disable_1705760099
{
private const string GregHook = "greg.PLAYER.Disable";
private const string PatchTarget = "Il2Cpp.PlayerActions::Disable()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.PlayerActions:Disable");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}
[HarmonyPatch]
internal static class AutoPatch_DropAllItems_1533138283
{
private const string GregHook = "greg.PLAYER.DroppedAllItems";
private const string PatchTarget = "Il2Cpp.Player::DropAllItems()";
private static System.Reflection.MethodBase TargetMethod()
=> AccessTools.Method("Il2Cpp.Player:DropAllItems");
private static void Postfix(object __instance, object __result, object[] __args)
{
HookTemplateGameApiBridge.Emit(GregHook, PatchTarget, __instance, __result, __args);
}
}