mirror of
https://github.com/babalae/better-genshin-impact
synced 2025-01-08 11:57:53 +08:00
mod: 更改开书按键
This commit is contained in:
parent
89109958a2
commit
71876a5e65
@ -4,6 +4,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using BetterGenshinImpact.Core.Recognition;
|
||||
using BetterGenshinImpact.Core.Simulator;
|
||||
using BetterGenshinImpact.Core.Simulator.Extensions;
|
||||
using BetterGenshinImpact.GameTask.Common.Element.Assets;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Vanara.PInvoke;
|
||||
@ -37,7 +38,7 @@ public class ClaimEncounterPointsRewardsTask
|
||||
|
||||
await Delay(200, ct);
|
||||
|
||||
TaskContext.Instance().PostMessageSimulator.KeyPress(User32.VK.VK_F1); // F1 开书
|
||||
TaskContext.Instance().PostMessageSimulator.SimulateAction(GIActions.OpenAdventurerHandbook); // F1 开书
|
||||
|
||||
await Delay(1000, ct);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user