SHA256
Refactor Every namespace Keyword Usage
This commit is contained in:
1 parent
4e67cb9b09
commit
27be2141f7
44 files changed
+4619
-4545
No files matched your search
@@ -1,22 +1,21 @@
|
||||
using ADOFAIRenderer.Core;
|
||||
using HarmonyLib;
|
||||
|
||||
namespace ADOFAIRenderer.Patch.Game
|
||||
namespace ADOFAIRenderer.Patch.Game;
|
||||
|
||||
[HarmonyPatch(typeof(Persistence))]
|
||||
public static class PersistencePatch
|
||||
{
|
||||
[HarmonyPatch(typeof(Persistence))]
|
||||
public static class PersistencePatch
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch("skipIntroBehavior", MethodType.Getter)]
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public static void LockSkipIntroBehavior(ref SkipIntroBehavior __result)
|
||||
{
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch("skipIntroBehavior", MethodType.Getter)]
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public static void LockSkipIntroBehavior(ref SkipIntroBehavior __result)
|
||||
if (RenderManager.IsActive &&
|
||||
scrConductor.instance != null &&
|
||||
!scrConductor.instance.hasSongStarted)
|
||||
{
|
||||
if (RenderManager.IsActive &&
|
||||
scrConductor.instance != null &&
|
||||
!scrConductor.instance.hasSongStarted)
|
||||
{
|
||||
__result = SkipIntroBehavior.Off;
|
||||
}
|
||||
__result = SkipIntroBehavior.Off;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user