Ackis Recipe List

API

r9

AckisRecipeList:AckisRecipeList_Command(textdump)

Causes a scan of the tradeskill to be conducted.

Parameters

textdump
Boolean indicating if we want the output to be a text dump, or if we want to use the ARL GUI.

Return value

A frame with either the text dump, or the ARL frame.

Usage

AckisRecipeList:AckisRecipeList_Command(true)


AckisRecipeList:AddRecipeData(profession)

Initialize the recipe database with a specific profession.

Parameters

profession
Spell ID of the profession which you want to populate the database with.

Return value

Boolean indicating if the operation was successful. The recipe database will be populated with appropriate data.

Usage

AckisRecipeList:AddRecipeData(2259)


AckisRecipeList:GetRecipeData(spellID)

API for external addons to get recipe information from ARL

Parameters

spellID
The spell ID of the recipe you want information about.

Return value

Table containing all spell ID information or nil if it's not found.


AckisRecipeList:GetRecipeTable()

API for external addons to get recipe database from ARL

Return value

Table containing all recipe information or nil if it's not found.


AckisRecipeList:InitRecipeData()

Initialize the recipe database

Return values

  1. Boolean indicating if the operation was successful. The recipe database will be populated with appropriate data.
  2. Arrays containing the RecipeList, MobList, TrainerList, VendorList, QuestList, ReputationList, SeasonalList.

Usage

AckisRecipeList:InitRecipeData()


AckisRecipeList:addTradeSkill(RecipeDB, SpellID, SkillLevel, ItemID, Rarity, Profession, Specialty, textdump)

Adds a tradeskill recipe into the specified recipe database.

Parameters

RecipeDB
SpellID
SkillLevel
ItemID
Rarity
Profession
Specialty
textdump
RecipeDB The database (array) which you wish to add data too.

Return value

None, array is passed as a reference.

Usage

AckisRecipeList:addTradeSkill(RecipeDB,2329,1,2454,1,2259)