2021-10-15 20:06:51 +00:00
|
|
|
|
using HarmonyLib;
|
|
|
|
|
using QSB.Patches;
|
2021-03-28 16:53:05 +00:00
|
|
|
|
|
2022-03-03 03:46:33 +00:00
|
|
|
|
namespace QSB.PoolSync.Patches;
|
|
|
|
|
|
|
|
|
|
[HarmonyPatch]
|
|
|
|
|
internal class PoolPatches : QSBPatch
|
2021-03-28 16:53:05 +00:00
|
|
|
|
{
|
2022-03-03 03:46:33 +00:00
|
|
|
|
public override QSBPatchTypes Type => QSBPatchTypes.OnClientConnect;
|
|
|
|
|
|
|
|
|
|
[HarmonyPrefix]
|
|
|
|
|
[HarmonyPatch(typeof(NomaiRemoteCameraPlatform), nameof(NomaiRemoteCameraPlatform.Awake))]
|
|
|
|
|
public static bool NomaiRemoteCameraPlatform_Awake() => false;
|
|
|
|
|
|
|
|
|
|
[HarmonyPrefix]
|
|
|
|
|
[HarmonyPatch(typeof(NomaiRemoteCameraPlatform), nameof(NomaiRemoteCameraPlatform.Update))]
|
|
|
|
|
public static bool NomaiRemoteCameraPlatform_Update() => false;
|
|
|
|
|
|
|
|
|
|
[HarmonyPrefix]
|
|
|
|
|
[HarmonyPatch(typeof(NomaiRemoteCameraPlatform), nameof(NomaiRemoteCameraPlatform.OnSocketableRemoved))]
|
|
|
|
|
public static bool NomaiRemoteCameraPlatform_OnSocketableRemoved() => false;
|
|
|
|
|
|
|
|
|
|
[HarmonyPrefix]
|
|
|
|
|
[HarmonyPatch(typeof(NomaiRemoteCameraPlatform), nameof(NomaiRemoteCameraPlatform.OnSocketableDonePlacing))]
|
|
|
|
|
public static bool NomaiRemoteCameraPlatform_OnSocketableDonePlacing() => false;
|
|
|
|
|
|
|
|
|
|
[HarmonyPrefix]
|
|
|
|
|
[HarmonyPatch(typeof(NomaiRemoteCameraPlatform), nameof(NomaiRemoteCameraPlatform.OnPedestalContact))]
|
|
|
|
|
public static bool NomaiRemoteCameraPlatform_OnPedestalContact() => false;
|
|
|
|
|
|
|
|
|
|
[HarmonyPrefix]
|
|
|
|
|
[HarmonyPatch(typeof(NomaiRemoteCameraStreaming), nameof(NomaiRemoteCameraStreaming.FixedUpdate))]
|
|
|
|
|
public static bool NomaiRemoteCameraStreaming_FixedUpdate() => false;
|
|
|
|
|
|
|
|
|
|
[HarmonyPrefix]
|
|
|
|
|
[HarmonyPatch(typeof(NomaiRemoteCameraStreaming), nameof(NomaiRemoteCameraStreaming.OnSectorOccupantAdded))]
|
|
|
|
|
public static bool NomaiRemoteCameraStreaming_OnSectorOccupantAdded() => false;
|
|
|
|
|
|
|
|
|
|
[HarmonyPrefix]
|
|
|
|
|
[HarmonyPatch(typeof(NomaiRemoteCameraStreaming), nameof(NomaiRemoteCameraStreaming.OnSectorOccupantRemoved))]
|
|
|
|
|
public static bool NomaiRemoteCameraStreaming_OnSectorOccupantRemoved() => false;
|
|
|
|
|
|
|
|
|
|
[HarmonyPrefix]
|
|
|
|
|
[HarmonyPatch(typeof(NomaiRemoteCameraStreaming), nameof(NomaiRemoteCameraStreaming.OnEntry))]
|
|
|
|
|
public static bool NomaiRemoteCameraStreaming_OnEntry() => false;
|
|
|
|
|
|
|
|
|
|
[HarmonyPrefix]
|
|
|
|
|
[HarmonyPatch(typeof(NomaiRemoteCameraStreaming), nameof(NomaiRemoteCameraStreaming.OnExit))]
|
|
|
|
|
public static bool NomaiRemoteCameraStreaming_OnExit() => false;
|
2022-02-25 06:04:54 +00:00
|
|
|
|
}
|