Skip to content

Commit

Permalink
10.0.2 (45969)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gethe committed Oct 6, 2022
1 parent 2b92043 commit 15a65c6
Show file tree
Hide file tree
Showing 251 changed files with 7,893 additions and 6,197 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ local BattlePetConstants =
{
Name = "BattlePetSpeciesFlags",
Type = "Enumeration",
NumValues = 16,
NumValues = 17,
MinValue = 1,
MaxValue = 32768,
MaxValue = 65536,
Fields =
{
{ Name = "NoRename", Type = "BattlePetSpeciesFlags", EnumValue = 1 },
Expand All @@ -260,6 +260,7 @@ local BattlePetConstants =
{ Name = "AddsAllowedWithBoss", Type = "BattlePetSpeciesFlags", EnumValue = 8192 },
{ Name = "HideUntilLearned", Type = "BattlePetSpeciesFlags", EnumValue = 16384 },
{ Name = "MatchPlayerHighPetLevel", Type = "BattlePetSpeciesFlags", EnumValue = 32768 },
{ Name = "NoWildPetAddsAllowed", Type = "BattlePetSpeciesFlags", EnumValue = 65536 },
},
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ SummonInfoDocumentation.lua
TTSSettingsDocumentation.lua
TaxiMapDocumentation.lua
TextureUtilsDocumentation.lua
TooltipConstantsDocumentation.lua
TooltipComparisonDocumentation.lua
TooltipInfoDocumentation.lua
ToyBoxInfoDocumentation.lua
TradeInfoDocumentation.lua
TradeSkillUIDocumentation.lua
Expand Down Expand Up @@ -289,6 +290,8 @@ SimpleHTMLSharedDocumentation.lua
SoftTargetConstantsDocumentation.lua
TextureSharedDocumentation.lua
TimeDocumentation.lua
TooltipConstantsDocumentation.lua
TooltipInfoSharedDocumentation.lua
TradeSkillUITypesDocumentation.lua
TraitConstantsDocumentation.lua
TransmogSharedDocumentation.lua
Expand Down Expand Up @@ -320,4 +323,5 @@ SoulbindsConstantsDocumentation.lua
SuperTrackManagerSharedDocumentation.lua
TransmogConstantsDocumentation.lua
UnitConstantsDocumentation.lua
WeeklyRewardsSharedDocumentation.lua
# End documentation files here
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,6 @@ local ChallengeModeInfo =
Name = "Reset",
Type = "Function",
},
{
Name = "SetKeystoneTooltip",
Type = "Function",
},
{
Name = "SlotKeystone",
Type = "Function",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ local CharacterCustomizationShared =
{ Name = "isNew", Type = "bool", Nilable = false },
{ Name = "swatchColor1", Type = "table", Mixin = "ColorMixin", Nilable = true },
{ Name = "swatchColor2", Type = "table", Mixin = "ColorMixin", Nilable = true },
{ Name = "showLocked", Type = "bool", Nilable = false },
{ Name = "lockedTooltip", Type = "string", Nilable = false },
{ Name = "isLocked", Type = "bool", Nilable = false },
{ Name = "lockedText", Type = "string", Nilable = true },
},
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ local Container =
{
{ Name = "containerIndex", Type = "number", Nilable = false },
{ Name = "slotIndex", Type = "number", Nilable = false },
{ Name = "isEquipped", Type = "bool", Nilable = false },
{ Name = "isEquipped", Type = "bool", Nilable = false, Default = false },
},
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ local Cursor =
Type = "Event",
LiteralName = "MOUNT_CURSOR_CLEAR",
},
{
Name = "WorldCursorTooltipUpdate",
Type = "Event",
LiteralName = "WORLD_CURSOR_TOOLTIP_UPDATE",
Documentation = { "Sends an update when the mouse enters or leaves something in-world (object, unit, etc) that should display a tooltip" },
Payload =
{
{ Name = "anchorType", Type = "WorldCursorAnchorType", Nilable = false },
},
},
},

Tables =
Expand Down Expand Up @@ -75,6 +85,20 @@ local Cursor =
{ Name = "ConduitCollectionItem", Type = "UICursorType", EnumValue = 20 },
},
},
{
Name = "WorldCursorAnchorType",
Type = "Enumeration",
NumValues = 4,
MinValue = 0,
MaxValue = 3,
Fields =
{
{ Name = "None", Type = "WorldCursorAnchorType", EnumValue = 0 },
{ Name = "Default", Type = "WorldCursorAnchorType", EnumValue = 1 },
{ Name = "Cursor", Type = "WorldCursorAnchorType", EnumValue = 2 },
{ Name = "Nameplate", Type = "WorldCursorAnchorType", EnumValue = 3 },
},
},
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ local EditModeManagerShared =
{
Name = "EditModeUnitFrameSetting",
Type = "Enumeration",
NumValues = 16,
NumValues = 17,
MinValue = 0,
MaxValue = 15,
MaxValue = 16,
Fields =
{
{ Name = "HidePortrait", Type = "EditModeUnitFrameSetting", EnumValue = 0 },
Expand All @@ -301,6 +301,7 @@ local EditModeManagerShared =
{ Name = "RaidGroupDisplayType", Type = "EditModeUnitFrameSetting", EnumValue = 13 },
{ Name = "SortPlayersBy", Type = "EditModeUnitFrameSetting", EnumValue = 14 },
{ Name = "RowSize", Type = "EditModeUnitFrameSetting", EnumValue = 15 },
{ Name = "FrameSize", Type = "EditModeUnitFrameSetting", EnumValue = 16 },
},
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,20 @@ local Item =
{ Name = "itemLink", Type = "string", Nilable = true },
},
},
{
Name = "GetItemLinkByGUID",
Type = "Function",

Arguments =
{
{ Name = "itemGUID", Type = "string", Nilable = false },
},

Returns =
{
{ Name = "itemLink", Type = "string", Nilable = true },
},
},
{
Name = "GetItemLocation",
Type = "Function",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,6 @@ local ItemInteractionUI =
Name = "Reset",
Type = "Function",
},
{
Name = "SetCorruptionReforgerItemTooltip",
Type = "Function",
},
{
Name = "SetItemConversionOutputTooltip",
Type = "Function",
},
{
Name = "SetPendingItem",
Type = "Function",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ local ProfessionSpecConstants =
{ Name = "description", Type = "string", Nilable = false },
},
},
{
Name = "SpecializationCurrencyInfo",
Type = "Structure",
Fields =
{
{ Name = "numAvailable", Type = "number", Nilable = false },
{ Name = "currencyName", Type = "string", Nilable = false },
},
},
{
Name = "SpecializationTabInfo",
Type = "Structure",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,20 @@ local ProfessionSpecUI =
{ Name = "configID", Type = "number", Nilable = false },
},
},
{
Name = "GetCurrencyInfoForSkillLine",
Type = "Function",

Arguments =
{
{ Name = "skillLineID", Type = "number", Nilable = false },
},

Returns =
{
{ Name = "info", Type = "SpecializationCurrencyInfo", Nilable = false },
},
},
{
Name = "GetDefaultSpecSkillLine",
Type = "Function",
Expand Down Expand Up @@ -296,20 +310,6 @@ local ProfessionSpecUI =
{ Name = "unlockRank", Type = "number", Nilable = true },
},
},
{
Name = "GetUnspentPointsForSkillLine",
Type = "Function",

Arguments =
{
{ Name = "skillLineID", Type = "number", Nilable = false },
},

Returns =
{
{ Name = "unspentPoints", Type = "number", Nilable = false },
},
},
{
Name = "ShouldShowSpecTab",
Type = "Function",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ local ReturningPlayerUI =
Name = "AcceptPrompt",
Type = "Function",
},
{
Name = "DeclinePrompt",
Type = "Function",
},
},

Events =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ local SharedTraits =
{ Name = "success", Type = "bool", Nilable = false },
},
},
{
Name = "ClearCascadeRepurchaseHistory",
Type = "Function",

Arguments =
{
{ Name = "configID", Type = "number", Nilable = false },
},
},
{
Name = "CloseTraitSystemInteraction",
Type = "Function",
Expand Down Expand Up @@ -323,6 +332,7 @@ local SharedTraits =
{
Name = "GetTreeNodes",
Type = "Function",
Documentation = { "Returns a list of nodeIDs, sorted ascending, for a given treeID. Contains nodes for all class specializations." },

Arguments =
{
Expand All @@ -334,6 +344,15 @@ local SharedTraits =
{ Name = "nodeIDs", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "HasValidInspectData",
Type = "Function",

Returns =
{
{ Name = "hasValidInspectData", Type = "bool", Nilable = false },
},
},
{
Name = "PurchaseRank",
Type = "Function",
Expand Down Expand Up @@ -482,6 +501,11 @@ local SharedTraits =
{ Name = "configID", Type = "number", Nilable = false },
},
},
{
Name = "TraitConfigListUpdated",
Type = "Event",
LiteralName = "TRAIT_CONFIG_LIST_UPDATED",
},
{
Name = "TraitConfigUpdated",
Type = "Event",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,19 @@ local SimpleAnimGroupAPI =
{ Name = "isPlaying", Type = "bool", Nilable = false },
},
},
{
Name = "IsReverse",
Type = "Function",

Arguments =
{
},

Returns =
{
{ Name = "isReverse", Type = "bool", Nilable = false },
},
},
{
Name = "IsSetToFinalAlpha",
Type = "Function",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
local TooltipComparison =
{
Name = "TooltipComparison",
Type = "System",
Namespace = "C_TooltipComparison",

Functions =
{
{
Name = "GetItemComparisonDelta",
Type = "Function",

Arguments =
{
{ Name = "comparisonItem", Type = "table", Nilable = false },
{ Name = "equippedItem", Type = "table", Nilable = false },
{ Name = "pairedItem", Type = "table", Nilable = true },
{ Name = "addPairedStats", Type = "bool", Nilable = true, Documentation = { "Whether the paired item's stats are added or subtracted" } },
},

Returns =
{
{ Name = "lines", Type = "table", InnerType = "string", Nilable = false },
},
},
{
Name = "GetItemComparisonInfo",
Type = "Function",

Arguments =
{
{ Name = "comparisonItem", Type = "table", Nilable = false },
},

Returns =
{
{ Name = "info", Type = "TooltipItemComparisonInfo", Nilable = false },
},
},
},

Events =
{
},

Tables =
{
{
Name = "TooltipComparisonMethod",
Type = "Enumeration",
NumValues = 4,
MinValue = 0,
MaxValue = 3,
Fields =
{
{ Name = "Single", Type = "TooltipComparisonMethod", EnumValue = 0 },
{ Name = "WithBothHands", Type = "TooltipComparisonMethod", EnumValue = 1 },
{ Name = "WithBagMainHandItem", Type = "TooltipComparisonMethod", EnumValue = 2 },
{ Name = "WithBagOffHandItem", Type = "TooltipComparisonMethod", EnumValue = 3 },
},
},
{
Name = "TooltipItemComparisonInfo",
Type = "Structure",
Fields =
{
{ Name = "method", Type = "TooltipComparisonMethod", Nilable = false, Default = "Single" },
{ Name = "item", Type = "table", Nilable = false },
{ Name = "additionalItems", Type = "table", InnerType = "table", Nilable = false },
},
},
},
};

APIDocumentation:AddDocumentationTable(TooltipComparison);
Loading

0 comments on commit 15a65c6

Please sign in to comment.