Include Blizzard_APIDocumentation and Search API Button to Code Editor with Wrath Classic Data (#57)
This commit is contained in:
@@ -0,0 +1,229 @@
|
||||
local PaperDollInfo =
|
||||
{
|
||||
Name = "PaperDollInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_PaperDollInfo",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetArmorEffectiveness",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "armor", Type = "number", Nilable = false },
|
||||
{ Name = "attackerLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "effectiveness", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetArmorEffectivenessAgainstTarget",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "armor", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "effectiveness", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMinItemLevel",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "minItemLevel", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "OffhandHasShield",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "offhandHasShield", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "OffhandHasWeapon",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "offhandHasWeapon", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "ActiveTalentGroupChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "ACTIVE_TALENT_GROUP_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "changedTo", Type = "number", Nilable = false },
|
||||
{ Name = "changedFrom", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CharacterPointsChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "CHARACTER_POINTS_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "change", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatRatingUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "COMBAT_RATING_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "DisableXpGain",
|
||||
Type = "Event",
|
||||
LiteralName = "DISABLE_XP_GAIN",
|
||||
},
|
||||
{
|
||||
Name = "EnableXpGain",
|
||||
Type = "Event",
|
||||
LiteralName = "ENABLE_XP_GAIN",
|
||||
},
|
||||
{
|
||||
Name = "EquipBindConfirm",
|
||||
Type = "Event",
|
||||
LiteralName = "EQUIP_BIND_CONFIRM",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "InspectHonorUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "INSPECT_HONOR_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "InspectReady",
|
||||
Type = "Event",
|
||||
LiteralName = "INSPECT_READY",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "inspecteeGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetSpellPowerUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_SPELL_POWER_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "PetTalentUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_TALENT_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "PlayerAvgItemLevelUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYER_AVG_ITEM_LEVEL_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "PlayerEquipmentChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYER_EQUIPMENT_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "equipmentSlot", Type = "number", Nilable = false },
|
||||
{ Name = "hasCurrent", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayerTalentUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYER_TALENT_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "PreviewPetTalentPointsChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PREVIEW_PET_TALENT_POINTS_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "talentIndex", Type = "number", Nilable = false },
|
||||
{ Name = "tabIndex", Type = "number", Nilable = false },
|
||||
{ Name = "groupIndex", Type = "number", Nilable = false },
|
||||
{ Name = "points", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PreviewTalentPointsChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PREVIEW_TALENT_POINTS_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "talentIndex", Type = "number", Nilable = false },
|
||||
{ Name = "tabIndex", Type = "number", Nilable = false },
|
||||
{ Name = "groupIndex", Type = "number", Nilable = false },
|
||||
{ Name = "points", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SpellPowerChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "SPELL_POWER_CHANGED",
|
||||
},
|
||||
{
|
||||
Name = "TalentGroupRoleChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "TALENT_GROUP_ROLE_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "groupIndex", Type = "number", Nilable = false },
|
||||
{ Name = "newRole", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UpdateFaction",
|
||||
Type = "Event",
|
||||
LiteralName = "UPDATE_FACTION",
|
||||
},
|
||||
{
|
||||
Name = "UpdateInventoryAlerts",
|
||||
Type = "Event",
|
||||
LiteralName = "UPDATE_INVENTORY_ALERTS",
|
||||
},
|
||||
{
|
||||
Name = "UpdateInventoryDurability",
|
||||
Type = "Event",
|
||||
LiteralName = "UPDATE_INVENTORY_DURABILITY",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "InspectPVPData",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "rating", Type = "number", Nilable = false },
|
||||
{ Name = "gamesWon", Type = "number", Nilable = false },
|
||||
{ Name = "gamesPlayed", Type = "number", Nilable = false },
|
||||
{ Name = "roundsWon", Type = "number", Nilable = false },
|
||||
{ Name = "roundsPlayed", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(PaperDollInfo);
|
||||
Reference in New Issue
Block a user