Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
This function returns information about the last tradeskill you were looking at when you clicked "View Crafters" on a guild listing.
professionID, recipeID, unknown = GetGuildRecipeInfoPostQuery()
Returns
- professionID
- number - this is the same value as would be returned using GetGuildTradeSkillInfo(index)
- recipeID
- number - this is the same value as is used by wowhead.com for recipe spells
- unknown
- - memory fails now, but it was either 0, 1, true, false, or nil in each case; it had been of no interest at time of test; perhaps it is the number of crafters
Example
SelectTradeSkill(index) QueryGuildMembersForRecipe() -- in the event handler: professionID, recipeID, _ = GetGuildRecipeInfoPostQuery() print("recipe", recipeID, "in profession", professionID, "is now scanned for guildie crafters") crafter, isOnline = GetGuildRecipeMember(1) print(crafter, "is the first on the list of crafters for this recipe")
Results
recipe 7183 in profession 171 is now scanned for guildie crafters Bob is the first on the list of crafters for this recipe
Details
This function can be used only after the event GUILD_RECIPE_KNOWN_BY_MEMBERS or the client will crash, judging from past performance (without extensive troubleshooting on the use of this particular function).