From 36c7a61072724d0a86e381b2644c25b7c8f45727 Mon Sep 17 00:00:00 2001
From: TuyenTuyenTuyen <1975vuong@gmail.com>
Date: Mon, 22 Jun 2026 00:52:10 +0700
Subject: [PATCH] Updated some namespaces and dependencies
---
Assembly-CSharp/Assembly-CSharp.csproj | 11 ++++++++++-
Assembly-CSharp/Menu/MenuUtils.cs | 2 +-
Assembly-CSharp/Mod.cs | 2 +-
Assembly-CSharp/ModListMenu.cs | 2 +-
Assembly-CSharp/Patches/GameManager.cs | 1 +
Assembly-CSharp/Patches/HeroController.cs | 5 ++++-
6 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/Assembly-CSharp/Assembly-CSharp.csproj b/Assembly-CSharp/Assembly-CSharp.csproj
index 337c16c9..2db38382 100644
--- a/Assembly-CSharp/Assembly-CSharp.csproj
+++ b/Assembly-CSharp/Assembly-CSharp.csproj
@@ -148,7 +148,7 @@
..\override\mscorlib.dll
-
+
../Vanilla/netstandard.dll
@@ -158,6 +158,15 @@
../Vanilla/PlayMaker.dll
False
+
+ ../Vanilla/TeamCherry.Localization.dll
+
+
+ ..\Vanilla\TeamCherry.SharedUtils.dll
+
+
+ ..\Vanilla\TeamCherry.TK2D.dll
+
../Vanilla/UnityEngine.dll
diff --git a/Assembly-CSharp/Menu/MenuUtils.cs b/Assembly-CSharp/Menu/MenuUtils.cs
index af0a1de8..0bd47d9a 100644
--- a/Assembly-CSharp/Menu/MenuUtils.cs
+++ b/Assembly-CSharp/Menu/MenuUtils.cs
@@ -8,7 +8,7 @@
using UnityEngine;
using UnityEngine.UI;
using Patch = Modding.Patches;
-using Lang = Language.Language;
+using Lang = TeamCherry.Localization.Language;
namespace Modding.Menu
diff --git a/Assembly-CSharp/Mod.cs b/Assembly-CSharp/Mod.cs
index 3e476940..717bc889 100644
--- a/Assembly-CSharp/Mod.cs
+++ b/Assembly-CSharp/Mod.cs
@@ -188,7 +188,7 @@ public virtual void Initialize() { }
/// change the text of the button to jump to this mod's menu.
///
///
- public virtual string GetMenuButtonText() => $"{GetName()} {Language.Language.Get("MAIN_OPTIONS", "MainMenu")}";
+ public virtual string GetMenuButtonText() => $"{GetName()} {TeamCherry.Localization.Language.Get("MAIN_OPTIONS", "MainMenu")}";
private void HookSaveMethods()
{
diff --git a/Assembly-CSharp/ModListMenu.cs b/Assembly-CSharp/ModListMenu.cs
index fec0f388..0a7b6082 100644
--- a/Assembly-CSharp/ModListMenu.cs
+++ b/Assembly-CSharp/ModListMenu.cs
@@ -6,7 +6,7 @@
using UnityEngine.UI;
using static Modding.ModLoader;
using Patch = Modding.Patches;
-using Lang = Language.Language;
+using Lang = TeamCherry.Localization.Language;
namespace Modding
{
diff --git a/Assembly-CSharp/Patches/GameManager.cs b/Assembly-CSharp/Patches/GameManager.cs
index 9510c2d5..87995ffb 100644
--- a/Assembly-CSharp/Patches/GameManager.cs
+++ b/Assembly-CSharp/Patches/GameManager.cs
@@ -8,6 +8,7 @@
using Newtonsoft.Json;
using UnityEngine;
using UnityEngine.SceneManagement;
+using TeamCherry.SharedUtils;
// ReSharper disable all
#pragma warning disable 1591, 649, 414, 169, CS0108, CS0626
diff --git a/Assembly-CSharp/Patches/HeroController.cs b/Assembly-CSharp/Patches/HeroController.cs
index f0430b60..9ae58730 100644
--- a/Assembly-CSharp/Patches/HeroController.cs
+++ b/Assembly-CSharp/Patches/HeroController.cs
@@ -487,6 +487,9 @@ private void LookForQueueInput()
[MonoModIgnore]
private float nailChargeTimer;
+ [MonoModIgnore]
+ private HeroVibrationController vibrationCtrl;
+
[MonoModIgnore]
private extern IEnumerator Die();
@@ -638,7 +641,7 @@ public void TakeDamage(GameObject go, CollisionSide damageSide, int damageAmount
if (this.cState.wallSliding)
{
this.cState.wallSliding = false;
- this.wallSlideVibrationPlayer.Stop();
+ this.vibrationCtrl.StopWallSlide();
}
if (this.cState.touchingWall)