Add mobile touch UI and AVA2 biology system with server tools

This commit is contained in:
shen
2026-10-14 19:12:38 -07:00
parent e7f2202a94
commit 6472d17306
68 changed files with 4447 additions and 197 deletions
+7 -2
View File
@@ -738,6 +738,7 @@ class CPythonPlayer : public CSingleton<CPythonPlayer>, public IAbstractPlayer
std::vector<DWORD> AutoHunt_GetAvailableSkills();
void AutoHunt_SetSkills(const std::vector<DWORD>& indices);
void AutoHunt_OnDeath();
void AutoHunt_OnHit(DWORD victim); // PORT: actual collision hit, not attack animation
int AutoHunt_GetMountState() const { return m_iAutoHuntMountState; }
const SAutoHuntConfig& AutoHunt_GetConfig();
void AutoHunt_SetConfig(const SAutoHuntConfig& c_rkConfig);
@@ -759,7 +760,9 @@ class CPythonPlayer : public CSingleton<CPythonPlayer>, public IAbstractPlayer
void __AutoHunt_ResetMovement();
void __AutoHunt_MigrateSkills();
bool __AutoHunt_IsTargetAllowed(CInstanceBase& main, CInstanceBase& target); // PORT extension
bool __AutoHunt_RequestPull(CInstanceBase& main, float now); // PORT extension
DWORD __AutoHunt_FindCloseTarget(CInstanceBase& main, int* count = nullptr);
bool __AutoHunt_CanAttackHere(CInstanceBase& main, CInstanceBase& target);
bool __AutoHunt_RequestPull(CInstanceBase& main, float now); // PORT extension
DWORD __AutoHunt_FindTarget(CInstanceBase& rkInstMain, float fNow);
DWORD __AutoHunt_FindGatheredTarget(CInstanceBase& rkInstMain);
void __AutoHunt_PurgeGathered();
@@ -769,7 +772,9 @@ class CPythonPlayer : public CSingleton<CPythonPlayer>, public IAbstractPlayer
void __AutoHunt_LoadConfig();
void __AutoHunt_SaveConfig();
bool m_isAutoHuntLegacySkills = false;
float m_fAutoHuntCrowdUntil = 0, m_fAutoHuntItemStart = 0;
float m_fAutoHuntWaypointBest = 1e9f;
bool m_isAutoHuntLegacySkills = false;
int m_iAutoHuntMountState = 0; // 0 normal, 1 wait dismount, 2 cast, 3 wait remount
DWORD m_dwAutoHuntPendingSkill = 0;
float m_fAutoHuntMountDeadline = 0, m_fAutoHuntMountNextTime = 0;