API C PlayerInfo.GetSex

Returns the sex of a player.
 sex = C_PlayerInfo.GetSex(playerLocation)
==Arguments==
:;playerLocation:
==Returns==
:;sex:
{| class="sortable darktable zebra" style="margin-left: 3.9em"
! Value !! Field !! Description
|-
| align="center" | 0 || Male || 
|-
| align="center" | 1 || Female || 
|-
| align="center" | 2 || None || 
|}
==Example==
Returns the gender of your character.
/dump C_PlayerInfo.GetSex(PlayerLocation:CreateFromUnit("player")) -- 1 (Female)
==Patch changes==
==See also==
* ()