Is there an easy way for an addon to detect a boss kill?
Looking at a few addons that do this, they tend to register to receive the unfiltered combat log, then compare the event ID to UNIT_DIED, then do the GUID magic to look up against a table of Boss IDs.
Someone has asked me to add boss kill detection to one of my addons, and this seems to be a lot of client-side processing to add the feature. A full Naxx clear generates nearly a million entries in my combat log, so that's one million comparisons to find units dying, then as many comparisons as matches to see if what died was a boss.
I know that DBM publishes a message that I can register to receive when it detects a boss kill. If there's no simpler way to detect it I may opt to just make DBM a prerequisite for this feature, but I thought I'd ask before going down that path.