feat: 增加对话列表快捷选择指令与PVP动画锁实时状态显示
This commit is contained in:
@@ -21,7 +21,7 @@ public sealed class StatusBlockModule(GameContext game, Configuration config, Mo
|
||||
public void Register() => modules.Register(8, scope =>
|
||||
{
|
||||
if(!StatusBlockPolicy.IsAuditedVersion(game.GameVersion))
|
||||
throw new InvalidOperationException($"状态屏蔽仅适配国际服已审计版本,当前为 {game.GameVersion}。");
|
||||
throw new InvalidOperationException($"状态屏蔽仅适配已核对客户端(国服/国际服),当前为 {game.GameVersion}。");
|
||||
if(Marshal.OffsetOf<BattleChara>(nameof(BattleChara.StatusManager)).ToInt32() != StatusBlockPolicy.ManagerOffset ||
|
||||
Marshal.OffsetOf<GameObject>(nameof(GameObject.EntityId)).ToInt32() != StatusBlockPolicy.EntityIdOffset)
|
||||
throw new InvalidOperationException("当前 SDK 的角色布局与已核对的状态入口不一致。");
|
||||
|
||||
Reference in New Issue
Block a user