Consistent access modifiers on inner patches

This commit is contained in:
Tyfon
2024-05-29 14:33:43 -07:00
parent e022cf5f32
commit 328224ca65
4 changed files with 11 additions and 11 deletions

View File

@@ -36,7 +36,7 @@ namespace UIFixes
new RagfairScreenShowPatch().Enable(); new RagfairScreenShowPatch().Enable();
new OfferViewListCategoryPickedPatch().Enable(); new OfferViewListCategoryPickedPatch().Enable();
new OfferViewListDoneLoadingPatch().Enable(); new OfferViewListDoneLoadingPatch().Enable();
new ChangedViewListType().Enable(); new ChangedViewListTypePatch().Enable();
Settings.EnableFleaHistory.SettingChanged += (object sender, EventArgs args) => Settings.EnableFleaHistory.SettingChanged += (object sender, EventArgs args) =>
{ {
@@ -268,7 +268,7 @@ namespace UIFixes
} }
} }
public class ChangedViewListType : ModulePatch public class ChangedViewListTypePatch : ModulePatch
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()
{ {

View File

@@ -31,7 +31,7 @@ namespace UIFixes
new GrowInspectWindowDescriptionPatch().Enable(); new GrowInspectWindowDescriptionPatch().Enable();
} }
private class SaveInspectWindowSizePatch : ModulePatch public class SaveInspectWindowSizePatch : ModulePatch
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()
{ {
@@ -57,7 +57,7 @@ namespace UIFixes
} }
} }
private class AddInspectWindowButtonsPatch : ModulePatch public class AddInspectWindowButtonsPatch : ModulePatch
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()
{ {
@@ -212,7 +212,7 @@ namespace UIFixes
} }
} }
private class GrowInspectWindowDescriptionPatch : ModulePatch public class GrowInspectWindowDescriptionPatch : ModulePatch
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()
{ {

View File

@@ -25,7 +25,7 @@ namespace UIFixes
new FormatFullValuesPatch().Enable(); new FormatFullValuesPatch().Enable();
} }
private class CalculateModStatsPatch : ModulePatch public class CalculateModStatsPatch : ModulePatch
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()
{ {
@@ -89,7 +89,7 @@ namespace UIFixes
// I wish I could prefix method_6 and update the compare item with the deep attributes, but that only works when adding a mod // I wish I could prefix method_6 and update the compare item with the deep attributes, but that only works when adding a mod
// When removing, current item and compare item end up the same since current item never considers the mod anyway // When removing, current item and compare item end up the same since current item never considers the mod anyway
// So I have to forcably call the refresh values method // So I have to forcably call the refresh values method
private class CompareModStatsPatch : ModulePatch public class CompareModStatsPatch : ModulePatch
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()
{ {
@@ -141,7 +141,7 @@ namespace UIFixes
} }
} }
private class AddShowHideModStatsButtonPatch : ModulePatch public class AddShowHideModStatsButtonPatch : ModulePatch
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()
{ {
@@ -202,7 +202,7 @@ namespace UIFixes
} }
} }
private class FormatCompactValuesPatch : ModulePatch public class FormatCompactValuesPatch : ModulePatch
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()
{ {
@@ -223,7 +223,7 @@ namespace UIFixes
} }
} }
private class FormatFullValuesPatch : ModulePatch public class FormatFullValuesPatch : ModulePatch
{ {
private static MethodInfo RoundToIntMethod; private static MethodInfo RoundToIntMethod;
private static MethodInfo ToStringMethod; private static MethodInfo ToStringMethod;

View File

@@ -35,7 +35,7 @@ namespace UIFixes
scrollRect.onValueChanged.AddListener(UpdateScrollPosition); scrollRect.onValueChanged.AddListener(UpdateScrollPosition);
} }
private class SyncStashScrollPatch : ModulePatch public class SyncStashScrollPatch : ModulePatch
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()
{ {