Renamed classes
parent
c553b589ab
commit
a250cbd98d
|
@ -213,7 +213,7 @@ namespace stardew_access
|
||||||
#region Chat Menu Patches
|
#region Chat Menu Patches
|
||||||
harmony.Patch(
|
harmony.Patch(
|
||||||
original: AccessTools.Method(typeof(ChatBox), nameof(ChatBox.update), new Type[] { typeof(GameTime) }),
|
original: AccessTools.Method(typeof(ChatBox), nameof(ChatBox.update), new Type[] { typeof(GameTime) }),
|
||||||
postfix: new HarmonyMethod(typeof(ChatMenuPatches), nameof(ChatMenuPatches.ChatBoxPatch))
|
postfix: new HarmonyMethod(typeof(ChatMenuPatch), nameof(ChatMenuPatch.UpdatePatch))
|
||||||
);
|
);
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
using StardewValley;
|
using StardewValley.Menus;
|
||||||
using StardewValley.Menus;
|
|
||||||
|
|
||||||
namespace stardew_access.Patches
|
namespace stardew_access.Patches
|
||||||
{
|
{
|
||||||
internal class ChatMenuPatches
|
internal class ChatMenuPatch
|
||||||
{
|
{
|
||||||
private static int currentChatMessageIndex = 0;
|
private static int currentChatMessageIndex = 0;
|
||||||
private static bool isChatRunning = false;
|
private static bool isChatRunning = false;
|
||||||
|
|
||||||
internal static void ChatBoxPatch(ChatBox __instance, List<ChatMessage> ___messages)
|
internal static void UpdatePatch(ChatBox __instance, List<ChatMessage> ___messages)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
|
@ -311,7 +311,6 @@ namespace stardew_access.Patches
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
internal static void LanguageSelectionMenuPatch(LanguageSelectionMenu __instance)
|
internal static void LanguageSelectionMenuPatch(LanguageSelectionMenu __instance)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue