Merge branch 'develop' of ssh://git.pthub.vn:3222/Unity/perfect-world-unity into feature-develop

This commit is contained in:
Chomper9981
2026-03-13 10:36:48 +07:00
137 changed files with 178889 additions and 16625 deletions
+3 -1
View File
@@ -1823,6 +1823,7 @@ namespace BrewMonster
/// If m_startingSkillID is set (>0), uses that specific skill ID and the next 7 (ID+1 through ID+7).
/// Otherwise, cycles through all learned skills in groups of 8.
/// </summary>
#if UNITY_EDITOR
public void CycleSkillShortcuts()
{
// Get shortcut set 1
@@ -1921,6 +1922,7 @@ namespace BrewMonster
CDlgQuickBar cDlgQuickBar = CECUIManager.Instance?.GetCDlgQuickBar();
cDlgQuickBar?.UpdateShortcuts();
}
#endif
#endif
}
}
+2
View File
@@ -681,11 +681,13 @@ public class CECUIManager : MonoSingleton<CECUIManager>
public void OnChangeSkillShortcut()
{
#if UNITY_EDITOR
CECHostPlayer hostPlayer = EC_Game.GetGameRun()?.GetHostPlayer();
if (hostPlayer != null)
{
hostPlayer.CycleSkillShortcuts();
}
#endif
}
/// <summary>