feat: 完善双版本门控、状态名单分类搜索与YesNo对话自动确认

This commit is contained in:
2026-10-14 01:17:24 +08:00
parent a6cccdbc43
commit c68f5f743a
4 changed files with 121 additions and 14 deletions
+2 -2
View File
@@ -83,7 +83,7 @@ public sealed unsafe class CombatModules(GameContext game, Configuration config,
modules.Register(13,AcquireRange);
modules.Register(14, scope =>
{
if(game.GameVersion!=AccelerationPolicy.AuditedVersion) throw new InvalidOperationException("原生目标圈入口仅核对了 2026.09.15 客户端");
if(!AccelerationPolicy.IsAuditedVersion(game.GameVersion)) throw new InvalidOperationException($"原生目标圈入口仅核对了已审计客户端,当前为 {game.GameVersion}。");
Hook<ActionManager.Delegates.GetActionInRangeOrLoS>? rangeCheck = null;
Hook<ActionManager.Delegates.IsActionTargetInRange>? precheck = null;
Hook<TargetRingUpdate>? ringUpdate=null;
@@ -137,7 +137,7 @@ public sealed unsafe class CombatModules(GameContext game, Configuration config,
});
modules.Register(16, scope =>
{
if(game.GameVersion!=AccelerationPolicy.AuditedVersion) throw new InvalidOperationException("技能位移结构仅核对了 2026.09.15 客户端");
if(!AccelerationPolicy.IsAuditedVersion(game.GameVersion)) throw new InvalidOperationException($"技能位移结构仅核对了已审计客户端,当前为 {game.GameVersion}。");
Hook<Dash>? hook = null;
hook = game.Hook<Dash>(scope,Signatures.ActionMovementStart,(controller,moveType,target,origin,facing,data) =>
{