Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
IsRaidOfficer()
Usage
IsRaidOfficer();
Will return 1 if the player is a raid officer or 0 if the player is not.
Example
if (IsRaidOfficer()) DEFAULT_CHAT_FRAME:AddMessage ("I am a raid officer."); elseif not (IsRaidOfficer()) DEFAULT_CHAT_FRAME:AddMessage ("I am not a raid officer."); end
Confirmed: this actually returns true if you have the Assistant rank.