Collectinator

Database Documentation

'''Database and code documentation for Collectinator'''

Localization

Please see this [http://www.wowace.com/projects/collectinator/pages/localization/ page] for information on localization within the addon.

API

All database functions are documented on the [[http://www.wowace.com/projects/collectinator/pages/api/ api] page.

Filter Flags

A item can be flagged with many (or even all) of the below flags. They are defined as follows:

Obtain

  • 1 = Alliance faction
  • 2 = Horde faction
  • 3 = Vendor
  • 4 = Quest
  • 5 = UNUSED
  • 6 = Instance
  • 7 = Raid
  • 8 = Seasonal
  • 9 = World Drop
  • 10 = Mob drop
  • 11 = Trading Card Game
  • 12 = Special Event
  • 13 = Collectors Edition
  • 14 = Not in game anymore
  • 15 = Achievement
  • 16 = PVP
  • 17-19 = Reserved for future use

Binding Properties

  • 20 = Item BoE
  • 21 = Item BoP
  • 22 = Item BoA
  • 23-24 = Reserved for future use

Profession

  1. Which professions is the pet restricted to?
  • 25 = Alchemist
  • 26 = Blacksmithing
  • 27 = Cooking
  • 28 = Enchanting
  • 29 = Engineering
  • 30 = First Aid
  • 31 = Inscription
  • 32 = Jewelcrafting
  • 33 = Leatherworking
  • 34 = Smelting
  • 35 = Tailoring
  • 36 = Fishing
  • 37-39 = Reserved for future use

Reputation

Original

  • 40 = Argent Dawn
  • 41 = Bloodsail Buccaneers
  • 42 = Cenarion Circle
  • 43 = Thorium Brotherhood
  • 44 = Timbermaw Hold
  • 45 = Zandalar Tribe

Burning Crusade

  • 46 = The Aldor
  • 47 = Ashtongue Deathsworn
  • 48 = Cenarion Expedition
  • 49 = Hellfire Factions (Thrallmar/Honor Hold)
  • 50 = Consortium
  • 51 = Keepers of Time
  • 52 = Lower City
  • 53 = Nagrand Factions (Maghar/Kureni)
  • 54 = Netherwing
  • 55 = Scale of the Sands
  • 56 = The Scryer
  • 57 = Sha'tar
  • 90 = Shatari Skyguard
  • 58 = Shattered Sun
  • 59 = Sporeggar
  • 60 = Violeteye

Faction Cities

  • 61 = Darnassus/Darkspear
  • 62 = Stormwind/Orgrimmar
  • 63 = Gnomerga/Thunder Bluff
  • 64 = Ironforge/Undercity
  • 65 = Exodar/Silvermoon

PVP

  • 66 = WSG
  • 67 = AV
  • 68 = AB
  • 69 - 70 = Reserved for future use

Wrath of the Lich King

  • 71 = Argent Crusade
  • 72 = Frenzyheart Tribe
  • 73 = Knights of the Ebon Blade
  • 74 = Kirin Tor
  • 75 = The Sons of Hodir
  • 76 = The Kalu'ak
  • 77 = The Oracles
  • 78 = The Wyrmrest Accord
  • 79 = Wrath Common Factions (The Silver Convenant/The Sunreavers)
  • 80 = Wrath Common Factions (Explorer's League/Hand of Vengance)
  • 81 = Wrath Common Factions(Explorer's League/Valiance Expedition)
  • 82 = Wrath Common Factions (The Frostborn/The Taunka)
  • 83 = Wrath Common Factions (Alliance Vanguard/Horde Expedition)

Acquire Flags

Defined below is the specification for the arguments passed back into addon:AddCompanionAcquire(DB, SpellID, ...). Each Acquire Type passes in different parameters depending on how the recipe is acquired:

<pre><nowiki> Acquire Type = 1 ( Vendor ) ID - Index into VendorList Acquire Type = 2 ( Quest ) ID - Index into QuestList Acquire Type = 3 ( Crafted ) ID - Spell ID of the profession which crafts the pet SpellID - Spell ID that creates the pet Acquire Type = 4 ( Mob Drop ) ID - Index into MobList Acquire Type = 5 ( Seasonal ) ID - Index into SeasonList Acquire Type = 6 ( Reputation ) ID - Index into ReputationList RepLevel - ReputationLevel RepVendor - Index into VendorList Acquire Type = 7 ( World Drop ) ID - Rarity Level Acquire Type = 8 ( Custom ) ID - Custom string Acquire Type = 9 ( Achievement ) ID - Achievement ID </nowiki></pre>

Reputation ID

:0 = Neutral :1 = Friendly :2 = Honored :3 = Revered :4 = Exalted

Faction ID

:1 - Horde :2 - Alliance :3 - Neutral

Rarity colours

0 - poor #919191 1 - common #ffffff 2 - uncommon #00A900 3 - rare #0062C3 4 - epic #B343FF 5 - legendary #FA9900 6 - artifact #e5cc80

You must login to post a comment. Don't have an account? Register to get one!