API GetPartyAssignment

Returns a list of raidmembers with a main tank or main assist role. raidIndex1, raidIndex2 = GetPartyAssignment("assignment" [,"raidmember", exactMatch])

Arguments

 * assignment : string - The role to search, either "MAINTANK" or "MAINASSIST" (not case-sensitive).
 * raidmember : string - UnitId
 * exactMatch : boolean

Returns

 * raidIndex1 : number - The first found raid member with the requested role, nil if none are found.
 * raidIndex2 : number - The second found raid member with the requested role, nil if one/none are found.