Skip to content

Commit

Permalink
Update patches
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchangelWTF committed Jan 14, 2025
1 parent 48a8eb7 commit 7b8f8b8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Fika.Headless/FikaHeadlessPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected void Awake()
new ValidateFormatPatch2().Enable();
new ValidateFormatPatch3().Enable();
new GameWorld_OnGameStarted_Patch().Enable();
new MainMenuController_method_47_Patch().Enable();
new MainMenuController_method_48_Patch().Enable();
new ConsoleScreen_OnProfileReceive_Patch().Enable();
new Class442_Run_Patch().Enable();
new Player_VisualPass_Patch().Enable();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class GClass3324_SetResolution_Patch : ModulePatch
{
protected override MethodBase GetTargetMethod()
{
return typeof(GClass3324).GetMethod(nameof(GClass3396.SetResolution));
return typeof(GClass3396).GetMethod(nameof(GClass3396.SetResolution));
}

[PatchPrefix]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

namespace Fika.Headless.Patches
{
public class MainMenuController_method_47_Patch : ModulePatch
public class MainMenuController_method_48_Patch : ModulePatch
{
protected override MethodBase GetTargetMethod()
{
return typeof(MainMenuController).GetMethod(nameof(MainMenuController.method_47));
return typeof(MainMenuController).GetMethod(nameof(MainMenuController.method_48));
}

[PatchPrefix]
Expand Down
3 changes: 1 addition & 2 deletions Fika.Headless/Patches/MessageWindow_Show_Patch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ protected override MethodBase GetTargetMethod()
{
return typeof(MessageWindow).GetMethod(nameof(MessageWindow.Show), [typeof(string),
typeof(string),
typeof(Action),
typeof(Action),
typeof(bool),
typeof(float)]);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class SessionResultExitStatusPatch : ModulePatch
protected override MethodBase GetTargetMethod()
{
return typeof(SessionResultExitStatus).GetMethod(nameof(SessionResultExitStatus.Show), [typeof(Profile),
typeof(GClass1917),
typeof(GClass1945),
typeof(ESideType),
typeof(ExitStatus),
typeof(TimeSpan),
Expand Down

0 comments on commit 7b8f8b8

Please sign in to comment.