Method Group:SetMemberFlag [-] [+]
Sets or removes a flag for a Group member
In multistate, this method is only available in the WORLD state
GroupMemberFlags | ID |
---|---|
MEMBER_FLAG_ASSISTANT | 1 |
MEMBER_FLAG_MAINTANK | 2 |
MEMBER_FLAG_MAINASSIST | 4 |
Synopsis
Group:SetMemberFlag( target, apply, flag )
Arguments
number target
GUID of the target.
Valid numbers: integers from 0 to 18,446,744,073,709,551,615.
boolean apply
Add the
flag
iftrue
, remove theflag
otherwise.
GroupMemberFlags flag
The flag to set or unset.
Returns
Nothing.