Skip to content

Commit

Permalink
11.0.0 (54605)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 9, 2024
1 parent 1a67348 commit aa85329
Show file tree
Hide file tree
Showing 161 changed files with 4,993 additions and 1,807 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,21 @@ local Bank =
{ Name = "hasMaxBankTabs", Type = "bool", Nilable = false },
},
},
{
Name = "IsItemAllowedInBankType",
Type = "Function",

Arguments =
{
{ Name = "bankType", Type = "BankType", Nilable = false },
{ Name = "itemLocation", Type = "ItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
},

Returns =
{
{ Name = "isItemAllowedInBankType", Type = "bool", Nilable = false },
},
},
{
Name = "PurchaseBankTab",
Type = "Function",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ MapConstantsDocumentation.lua
MatrixSharedDocumentation.lua
MinimapConstantsDocumentation.lua
ModelAnimationSharedDocumentation.lua
MountConstantsDocumentation.lua
NamePlateDocumentation.lua
PVPMgrConstantsDocumentation.lua
PartyConstantsDocumentation.lua
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,19 @@ local CurrencyConstants =
{ Name = "StartsCollapsed", Type = "CurrencyTokenCategoryFlags", EnumValue = 16 },
},
},
{
Name = "CurrencyTransferFailReason",
Type = "Enumeration",
NumValues = 3,
MinValue = 0,
MaxValue = 2,
Fields =
{
{ Name = "InvalidType", Type = "CurrencyTransferFailReason", EnumValue = 0 },
{ Name = "MaxQuantity", Type = "CurrencyTransferFailReason", EnumValue = 1 },
{ Name = "NoValidSourceCharacter", Type = "CurrencyTransferFailReason", EnumValue = 2 },
},
},
{
Name = "LinkedCurrencyFlags",
Type = "Enumeration",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ local CurrencyInfo =

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

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

Returns =
{
{ Name = "canTransferCurrency", Type = "bool", Nilable = false },
{ Name = "failureReason", Type = "CurrencyTransferFailReason", Nilable = true },
},
},
{
Name = "DoesWarModeBonusApply",
Type = "Function",
Expand All @@ -31,6 +46,29 @@ local CurrencyInfo =
{ Name = "expand", Type = "bool", Nilable = false },
},
},
{
Name = "FetchCurrencyTransferTransactions",
Type = "Function",

Returns =
{
{ Name = "currencyTransferTransactions", Type = "table", InnerType = "CurrencyTransferTransaction", Nilable = false },
},
},
{
Name = "FetchRosterCurrencyData",
Type = "Function",

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

Returns =
{
{ Name = "rosterCurrencyData", Type = "table", InnerType = "CharacterCurrencyData", Nilable = false },
},
},
{
Name = "GetAzeriteCurrencyID",
Type = "Function",
Expand Down Expand Up @@ -284,7 +322,7 @@ local CurrencyInfo =
},
},
{
Name = "IsAccountTransferrableCurrency",
Name = "IsAccountTransferableCurrency",
Type = "Function",

Arguments =
Expand All @@ -294,7 +332,7 @@ local CurrencyInfo =

Returns =
{
{ Name = "isAccountTransferrableCurrency", Type = "bool", Nilable = false },
{ Name = "isAccountTransferableCurrency", Type = "bool", Nilable = false },
},
},
{
Expand Down Expand Up @@ -335,6 +373,45 @@ local CurrencyInfo =
{ Name = "type", Type = "number", Nilable = false },
},
},
{
Name = "PlayerHasMaxQuantity",
Type = "Function",

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

Returns =
{
{ Name = "hasMaxQuantity", Type = "bool", Nilable = false },
},
},
{
Name = "PlayerHasMaxWeeklyQuantity",
Type = "Function",

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

Returns =
{
{ Name = "hasMaxWeeklyQuantity", Type = "bool", Nilable = false },
},
},
{
Name = "RequestCurrencyFromRoster",
Type = "Function",

Arguments =
{
{ Name = "sourceCharacterGUID", Type = "WOWGUID", Nilable = false },
{ Name = "currencyID", Type = "number", Nilable = false },
{ Name = "quantity", Type = "number", Nilable = false },
},
},
{
Name = "SetCurrencyBackpack",
Type = "Function",
Expand Down Expand Up @@ -377,6 +454,11 @@ local CurrencyInfo =
{ Name = "quantityLostSource", Type = "number", Nilable = true },
},
},
{
Name = "CurrencyTransferLogUpdate",
Type = "Event",
LiteralName = "CURRENCY_TRANSFER_LOG_UPDATE",
},
{
Name = "PlayerMoney",
Type = "Event",
Expand All @@ -397,6 +479,17 @@ local CurrencyInfo =
{ Name = "currencyTypesID", Type = "number", Nilable = false },
},
},
{
Name = "CharacterCurrencyData",
Type = "Structure",
Fields =
{
{ Name = "characterGUID", Type = "WOWGUID", Nilable = false },
{ Name = "characterName", Type = "cstring", Nilable = false },
{ Name = "currencyID", Type = "number", Nilable = false },
{ Name = "quantity", Type = "number", Nilable = false },
},
},
{
Name = "CurrencyDisplayInfo",
Type = "Structure",
Expand All @@ -417,6 +510,7 @@ local CurrencyInfo =
{
{ Name = "name", Type = "cstring", Nilable = false },
{ Name = "description", Type = "cstring", Nilable = false },
{ Name = "currencyID", Type = "number", Nilable = false },
{ Name = "isHeader", Type = "bool", Nilable = false },
{ Name = "isHeaderExpanded", Type = "bool", Nilable = false },
{ Name = "currencyListDepth", Type = "number", Nilable = false },
Expand All @@ -435,12 +529,24 @@ local CurrencyInfo =
{ Name = "discovered", Type = "bool", Nilable = false },
{ Name = "useTotalEarnedForMaxQty", Type = "bool", Nilable = false },
{ Name = "isAccountWide", Type = "bool", Nilable = false },
{ Name = "isAccountTransferrable", Type = "bool", Nilable = false },
{ Name = "isAccountTransferable", Type = "bool", Nilable = false },
{ Name = "transferPercentage", Type = "number", Nilable = true },
{ Name = "rechargingCycleDurationMS", Type = "number", Nilable = false },
{ Name = "rechargingAmountPerCycle", Type = "number", Nilable = false },
},
},
{
Name = "CurrencyTransferTransaction",
Type = "Structure",
Fields =
{
{ Name = "sourceCharacterName", Type = "cstring", Nilable = false },
{ Name = "destinationCharacterName", Type = "cstring", Nilable = false },
{ Name = "currencyID", Type = "number", Nilable = false },
{ Name = "quantity", Type = "number", Nilable = false },
{ Name = "timestamp", Type = "time_t", Nilable = false },
},
},
},
};

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
local MountConstants =
{
Tables =
{
{
Name = "MountDynamicFlightConsts",
Type = "Constants",
Values =
{
{ Name = "TRAIT_SYSTEM_ID", Type = "number", Value = 1 },
{ Name = "TREE_ID", Type = "number", Value = 672 },
},
},
},
};

APIDocumentation:AddDocumentationTable(MountConstants);
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ local PartyConstants =
{ Name = "EquippedEffectiveWeighted", Type = "AvgItemLevelCategories", EnumValue = 5 },
},
},
{
Name = "RestrictPingsTo",
Type = "Enumeration",
NumValues = 4,
MinValue = 0,
MaxValue = 3,
Fields =
{
{ Name = "None", Type = "RestrictPingsTo", EnumValue = 0 },
{ Name = "Lead", Type = "RestrictPingsTo", EnumValue = 1 },
{ Name = "Assist", Type = "RestrictPingsTo", EnumValue = 2 },
{ Name = "TankHealer", Type = "RestrictPingsTo", EnumValue = 3 },
},
},
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ local PartyInfo =

Returns =
{
{ Name = "restrictToAssistants", Type = "bool", Nilable = false },
{ Name = "restrictTo", Type = "RestrictPingsTo", Nilable = false },
},
},
{
Expand Down Expand Up @@ -286,7 +286,7 @@ local PartyInfo =

Arguments =
{
{ Name = "restrictToAssistants", Type = "bool", Nilable = false },
{ Name = "restrictTo", Type = "RestrictPingsTo", Nilable = false },
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,7 @@ local PlayerScript =

Arguments =
{
{ Name = "name", Type = "cstring", Nilable = false },
{ Name = "name", Type = "cstring", Nilable = false, Default = "0" },
{ Name = "exactMatch", Type = "bool", Nilable = false, Default = false },
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,18 @@ local ProfessionConstants =
{ Name = "ItemRecraftFlagInvalid", Type = "ItemRecraftFlags", EnumValue = 1 },
},
},
{
Name = "NpcCraftingOrderSetFlags",
Type = "Enumeration",
NumValues = 2,
MinValue = 1,
MaxValue = 2,
Fields =
{
{ Name = "CraftingOrderFlagAllowMultiple", Type = "NpcCraftingOrderSetFlags", EnumValue = 1 },
{ Name = "CraftingOrderFlagAllowDuplicate", Type = "NpcCraftingOrderSetFlags", EnumValue = 2 },
},
},
{
Name = "Profession",
Type = "Enumeration",
Expand Down
Loading

0 comments on commit aa85329

Please sign in to comment.