Merge pull request #2420 from Haselnussbomber/add-agent-events

Add events based on AgentUpdateFlag
This commit is contained in:
goat 2025-11-08 11:44:44 +01:00 committed by GitHub
commit 3c3eb9159c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 79 additions and 18 deletions

View file

@ -26,6 +26,12 @@ public unsafe interface IGameGui
/// </summary>
public event EventHandler<HoveredAction> HoveredActionChanged;
/// <summary>
/// Fired when the game sets one or more <see cref="AgentUpdateFlag"/> values,
/// used by agents to conditionally update their addons.
/// </summary>
event Action<AgentUpdateFlag> AgentUpdate;
/// <summary>
/// Gets a value indicating whether the game UI is hidden.
/// </summary>