image

Simple implementation of .NET Hook and event simulation

Simple implementation of .NET Hook and event simulation I have recently become addicted to playing “Stardew Valley”. It was originally a casual game, but now I have played it as an immortal game. I have been playing it for hundreds of hours, and my habit of taking a lunch break has been forced to change. Although it’s interesting, it’s too outrageous, so please be careful before jumping into the trap. To add, this game should be written based on XNA/MonoGame. This game will automatically pause when it loses focus and cannot advance automatically. I think the efficiency is too low. For Mr. Qi’s sake, I have to build something that automatically clicks. If you don’t want to download software, just write one yourself, because to ensure that the game is always in front, the switch must enable global shortcut keys. After searching, I found that there is a SharpHook (tolik.io) for . NET which is quite simple. It took me a few minutes to write one and realize the function. SharpHook is a cross-platform Hook component, the core is based on libuiohook Listening event The documentation on the official website is very concise and easy to understand. I set up…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索