API C PlayerInfo.GetSex

Returns the sex of a player. sex = C_PlayerInfo.GetSex(playerLocation)

Arguments

 * playerLocation : PlayerLocationMixin

Returns

 * sex : Enum.Unitsex ?

Example
Returns the gender of your character. /dump C_PlayerInfo.GetSex(PlayerLocation:CreateFromUnit("player"))

> 1 -- Female