feat: Add DtrInteractionEvent to allow plugins to make their own DTR events. (#2353)

This commit is contained in:
KazWolfe 2025-08-07 14:37:42 -07:00 committed by GitHub
parent 579ecdc4b2
commit 3d300a7811
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 132 additions and 3 deletions

View file

@ -641,7 +641,7 @@ internal sealed unsafe class DtrBar : IInternalDisposableService, IDtrBar
break;
case AddonEventType.MouseClick:
dtrBarEntry.OnClick?.Invoke(new AddonMouseEventData(eventData));
dtrBarEntry.OnClick?.Invoke(DtrInteractionEvent.FromMouseEvent(new AddonMouseEventData(eventData)));
break;
}
}