Can I Hook UninviteUnit(unitName, [reason])?

Question is pretty much in the title.

I’m attempting to write a tracker for people who either quit or were booted from M+ runs and while I found the “Someone left the party” event, there doesn’t seem to be an indicator there for whether they quit or were kicked.

I figure there are only two choices, so if I can hook this I can record that it happened (the hooked code would simply be storing that it happened), then I’ll know that if I stored a very recent “someone was kicked” when a “someone left” event occurs, I can figure out which it was.

No reason why not as you’re not calling the function, just reacting to a call to it.

Okay. I wanted to ask before I did anything that would negatively impact an M+ run. Delays (like having to turn off an addon and reload) cause tempers to flare pretty fast in there.

I thought that was right, but I wasn’t absolutely sure.