Add events based on AgentUpdateFlag

This commit is contained in:
Haselnussbomber 2025-10-01 15:30:29 +02:00
parent 116e8aadbc
commit 0b6f3b8bcf
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1
3 changed files with 103 additions and 18 deletions

View file

@ -26,6 +26,27 @@ public unsafe interface IGameGui
/// </summary>
public event EventHandler<HoveredAction> HoveredActionChanged;
/// <summary>
/// Event that is fired when the inventory has been updated.
/// </summary>
event Action InventoryUpdate;
/// <summary>
/// Fired when the action bar needs to be updated, e.g. after changing Class/Job,
/// updating Gear Sets, modifying Macros, or executing a hotbar slot.
/// </summary>
event Action ActionBarUpdate;
/// <summary>
/// Event that is fired when collectibles, content or systems were unlocked.
/// </summary>
event Action UnlocksUpdate;
/// <summary>
/// Event that is fired when the enable state of MainCommands has been updated.
/// </summary>
event Action MainCommandEnabledStateUpdate;
/// <summary>
/// Gets a value indicating whether the game UI is hidden.
/// </summary>