Unify agent update events into AgentUpdate

This commit is contained in:
Haselnussbomber 2025-11-08 11:31:10 +01:00
parent 0b6f3b8bcf
commit 8fd49f261a
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1
4 changed files with 46 additions and 70 deletions

View file

@ -27,25 +27,10 @@ public unsafe interface IGameGui
public event EventHandler<HoveredAction> HoveredActionChanged;
/// <summary>
/// Event that is fired when the inventory has been updated.
/// Fired when the game sets one or more <see cref="AgentUpdateFlag"/> values,
/// used by agents to conditionally update their addons.
/// </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;
event Action<AgentUpdateFlag> AgentUpdate;
/// <summary>
/// Gets a value indicating whether the game UI is hidden.