perf(autohunt): avoid discarded A-star searches for attack sight lines

This commit is contained in:
shen
2026-10-16 23:14:48 -07:00
parent b9f5d737cb
commit ae0fc25a81
4 changed files with 25 additions and 8 deletions
+1 -1
View File
@@ -757,7 +757,7 @@ class CPythonPlayer : public CSingleton<CPythonPlayer>, public IAbstractPlayer
bool __AutoHunt_CastSkill(DWORD slot, float now);
bool __AutoHunt_UpdateMount(CInstanceBase& main, float now);
bool __AutoHunt_UpdateRecovery(CInstanceBase& main, float now);
bool __AutoHunt_BuildPath(const TPixelPosition& goal, float arrival, std::vector<TPixelPosition>& path, float body = 0.f);
bool __AutoHunt_BuildPath(const TPixelPosition& goal, float arrival, std::vector<TPixelPosition>& path, float body = 0.f, bool directOnly = false);
bool __AutoHunt_MoveTo(const TPixelPosition& goal, float arrival, float now, float body = 0.f);
void __AutoHunt_ResetMovement();
void __AutoHunt_WalkAt(CInstanceBase& main, const TPixelPosition& goal, float now);