Renamed classes
parent
c553b589ab
commit
a250cbd98d
|
@ -213,7 +213,7 @@ namespace stardew_access
|
|||
#region Chat Menu Patches
|
||||
harmony.Patch(
|
||||
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
|
||||
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
using StardewValley;
|
||||
using StardewValley.Menus;
|
||||
using StardewValley.Menus;
|
||||
|
||||
namespace stardew_access.Patches
|
||||
{
|
||||
internal class ChatMenuPatches
|
||||
internal class ChatMenuPatch
|
||||
{
|
||||
private static int currentChatMessageIndex = 0;
|
||||
private static bool isChatRunning = false;
|
||||
|
||||
internal static void ChatBoxPatch(ChatBox __instance, List<ChatMessage> ___messages)
|
||||
internal static void UpdatePatch(ChatBox __instance, List<ChatMessage> ___messages)
|
||||
{
|
||||
try
|
||||
{
|
|
@ -311,7 +311,6 @@ namespace stardew_access.Patches
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
internal static void LanguageSelectionMenuPatch(LanguageSelectionMenu __instance)
|
||||
{
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue