CanViewGuildRecipes

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 4.0.1

Checks if the player can view specific guild recipes.

canView = CanViewGuildRecipes(skillID)

Arguments

skillID
number - The skill ID to view recipes of. See GetGuildTradeSkillInfo on how to fetch a skill ID.

Returns

canView
boolean - Returns 1 if the player can promote, nil if not.

Details

QueryGuildRecipes must be called for the API to return true. You can then use ViewGuildRecipes to view the guild recipes for the specific skill ID.