Ackis Recipe List

API

r4

AckisRecipeList:AddRecipeData(profession)

API for external addons to initialize the recipe database with a specific profession

Parameters

profession
Name of the profession you wish to load data for

Return value

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

Usage

Used for an external program to load up data regarding a specific profession into the ARL database.

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:InitRecipeData()

API for external addons to 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

Causes ARL to load up all internal databases and provides them to the external application.