mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-28 19:39:19 +01:00
Add access to game keypress state buffer
This commit is contained in:
parent
68af40d9fc
commit
eec77ac239
3 changed files with 73 additions and 0 deletions
|
|
@ -80,6 +80,11 @@ namespace Dalamud.Game.ClientState
|
|||
/// </summary>
|
||||
public JobGauges JobGauges;
|
||||
|
||||
/// <summary>
|
||||
/// Provides access to the keypress state of keyboard keys in game.
|
||||
/// </summary>
|
||||
public KeyState KeyState;
|
||||
|
||||
/// <summary>
|
||||
/// Set up client state access.
|
||||
/// </summary>
|
||||
|
|
@ -98,6 +103,8 @@ namespace Dalamud.Game.ClientState
|
|||
|
||||
this.JobGauges = new JobGauges(Address);
|
||||
|
||||
this.KeyState = new KeyState(Address, scanner.Module.BaseAddress);
|
||||
|
||||
Log.Verbose("SetupTerritoryType address {SetupTerritoryType}", Address.SetupTerritoryType);
|
||||
|
||||
this.setupTerritoryTypeHook = new Hook<SetupTerritoryTypeDelegate>(Address.SetupTerritoryType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue