2021-06-12 14:58:34 +00:00
|
|
|
|
using QSB.Patches;
|
|
|
|
|
|
|
|
|
|
namespace QSB.TimeSync.Patches
|
|
|
|
|
{
|
2021-07-12 21:02:50 +00:00
|
|
|
|
internal class TimePatches : QSBPatch
|
2021-06-12 14:58:34 +00:00
|
|
|
|
{
|
|
|
|
|
public override QSBPatchTypes Type => QSBPatchTypes.OnClientConnect;
|
|
|
|
|
|
2021-06-19 10:26:05 +00:00
|
|
|
|
public override void DoPatches()
|
2021-08-26 13:56:07 +00:00
|
|
|
|
{
|
|
|
|
|
Prefix(nameof(PlayerCameraEffectController_OnStartOfTimeLoop));
|
|
|
|
|
Empty("OWTime_Pause");
|
2021-10-14 10:46:14 +00:00
|
|
|
|
Empty("SubmitActionSkipToNextLoop_AdvanceToNextLoop"); // TODO : remove this, remove meditation button instead
|
2021-08-26 13:56:07 +00:00
|
|
|
|
}
|
2021-06-12 14:58:34 +00:00
|
|
|
|
|
2021-06-19 10:26:05 +00:00
|
|
|
|
public static bool PlayerCameraEffectController_OnStartOfTimeLoop()
|
2021-06-12 14:58:34 +00:00
|
|
|
|
=> false;
|
|
|
|
|
}
|
|
|
|
|
}
|