Beta Documentation - Subject to change.

Gets information about a player's profession.

Syntax

Lua
function FreePeopleAttributes:GetProfessionInfo(profession);

Parameters

profession
Type: number

Returns

Type: ProfessionInfo
The profession information for the specified profession if that player has that profession. If the player does not have that profession, nil will be returned.

Remarks

See Also