Fires when a party/raid member's role is changed manually. Roles are the strings "TANK", "HEALER", "DAMAGER", and "NONE". Use the additional arguments if you want to immediately use the new status; a call to UnitGroupRolesAssigned may not report the new data when called at this time.

Signature:

("changedPlayer", "changedBy", "oldRole", "newRole")

Arguments:

  • changedPlayer - The name of the player whose role was changed (string)
  • changedBy - The name of player who made the change (string)
  • oldRole - Their role before the change (string)
  • newRole - Their new role (string)