LFDRole API changes (Cataclysm)
Evilpaul opened this issue ยท 4 comments
Cataclysm has changed the API for UnitGroupRolesAssigned(unit)
the new API is:
role = UnitGroupRolesAssigned(Unit)
the return value role is of type string, with possible values of "NONE", "TANK", "HEALER", "DAMAGER"
(return values are what I have seen on the beta and read in Blizzard UI code)
here is a possible solution..
- I'd prefer you posting format-patches or clean git branches. The main reason for this is that you should get credited for the code you contribute.
- I currently strive to support both live and cataclysm (take a look at the cc-events branch).
I'm not sure if I want to push 1.5 early, or when cataclysm is closing in yet either.
OK, to me a while to figure it out but this might work....