ESODecoded

EVENT_GROUP_MEMBER_ROLE_CHANGED

ESO Lua API function — used by 38 of the 3,030 addons we indexed (combined 19,742,724 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

EVENT_GROUP_MEMBER_ROLE_CHANGED(string unitTag, [LFGRole|#LFGRole] newRole)

Real usage — from AUI - Advanced UI

	EVENT_MANAGER:RegisterForEvent("AUI_EVENT_UNIT_FRAME_UPDATE", EVENT_UNIT_FRAME_UPDATE, OnUnitFrameUpdate)
	EVENT_MANAGER:RegisterForEvent("AUI_EVENT_GROUP_MEMBER_ROLE_CHANGED", EVENT_GROUP_MEMBER_ROLE_CHANGED, OnGroupMemberRoleChanged)

Short excerpt from the shipping addon AUI - Advanced UIits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Bandits User Interface6,130,317
AUI - Advanced UI5,406,091
Code's Combat Alerts4,445,158
Foundry Tactical Combat (FTC)1,097,601
CrutchAlerts916,918
OdySupportIcons - Group Role Icons & More484,590