First commit, step 4 completed
This commit is contained in:
+49
@@ -0,0 +1,49 @@
|
||||
local AbbreviateConfigAPI =
|
||||
{
|
||||
Name = "AbbreviateConfigAPI",
|
||||
Type = "ScriptObject",
|
||||
ObjectType = "Userdata",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetAbbreviateNumberData",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "data", Type = "table", InnerType = "NumberAbbreviationBreakpoint", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetAbbreviateNumberData",
|
||||
Type = "Function",
|
||||
RequiresRestrictedAbbreviationBreakpoints = true,
|
||||
SecretArguments = "NotAllowed",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "data", Type = "table", InnerType = "NumberAbbreviationBreakpoint", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AbbreviateConfigAPI);
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
local AbbreviatedNumberFormatterAPI =
|
||||
{
|
||||
Name = "AbbreviatedNumberFormatterAPI",
|
||||
Type = "ScriptObject",
|
||||
ObjectType = "Userdata",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AddBreakpoint",
|
||||
Type = "Function",
|
||||
RequiresValidAbbreviationBreakpoints = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Adds a new breakpoint to the formatter." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "breakpoint", Type = "NumberAbbreviationBreakpoint", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClearBreakpoints",
|
||||
Type = "Function",
|
||||
Documentation = { "Removes all configured breakpoints from the formatter." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Copy",
|
||||
Type = "Function",
|
||||
ReturnsNeverSecret = true,
|
||||
Documentation = { "Returns a new copy of this formatter." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "copy", Type = "AbbreviatedNumberFormatter", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetBreakpoints",
|
||||
Type = "Function",
|
||||
Documentation = { "Returns a list of all configured breakpoints on this formatter." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "breakpoints", Type = "table", InnerType = "NumberAbbreviationBreakpoint", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ResetBreakpoints",
|
||||
Type = "Function",
|
||||
Documentation = { "Removes all configured breakpoints from the formatter and replaces them with appropriate defaults for the client locale." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetBreakpoints",
|
||||
Type = "Function",
|
||||
RequiresValidAbbreviationBreakpoints = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Replaces all breakpoints on the formatter." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "breakpoints", Type = "table", InnerType = "NumberAbbreviationBreakpoint", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AbbreviatedNumberFormatterAPI);
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
local AccessibilityOptions =
|
||||
{
|
||||
Name = "AccessibilityOptions",
|
||||
Type = "System",
|
||||
Namespace = "C_AccessibilityOptions",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AccessibilityOptions);
|
||||
+292
@@ -0,0 +1,292 @@
|
||||
local AccountConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AccountData",
|
||||
Type = "Enumeration",
|
||||
NumValues = 20,
|
||||
MinValue = 0,
|
||||
MaxValue = 19,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Config", Type = "AccountData", EnumValue = 0 },
|
||||
{ Name = "Config2", Type = "AccountData", EnumValue = 1 },
|
||||
{ Name = "Bindings", Type = "AccountData", EnumValue = 2 },
|
||||
{ Name = "Bindings2", Type = "AccountData", EnumValue = 3 },
|
||||
{ Name = "Macros", Type = "AccountData", EnumValue = 4 },
|
||||
{ Name = "Macros2", Type = "AccountData", EnumValue = 5 },
|
||||
{ Name = "UILayout", Type = "AccountData", EnumValue = 6 },
|
||||
{ Name = "ChatSettings", Type = "AccountData", EnumValue = 7 },
|
||||
{ Name = "TtsSettings", Type = "AccountData", EnumValue = 8 },
|
||||
{ Name = "TtsSettings2", Type = "AccountData", EnumValue = 9 },
|
||||
{ Name = "FlaggedIDs", Type = "AccountData", EnumValue = 10 },
|
||||
{ Name = "FlaggedIDs2", Type = "AccountData", EnumValue = 11 },
|
||||
{ Name = "ClickBindings", Type = "AccountData", EnumValue = 12 },
|
||||
{ Name = "UIEditModeAccount", Type = "AccountData", EnumValue = 13 },
|
||||
{ Name = "UIEditModeChar", Type = "AccountData", EnumValue = 14 },
|
||||
{ Name = "FrontendChatSettings", Type = "AccountData", EnumValue = 15 },
|
||||
{ Name = "CharacterListOrder", Type = "AccountData", EnumValue = 16 },
|
||||
{ Name = "CooldownManager", Type = "AccountData", EnumValue = 17 },
|
||||
{ Name = "CooldownManager2", Type = "AccountData", EnumValue = 18 },
|
||||
{ Name = "Shop2PendingOrders", Type = "AccountData", EnumValue = 19 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AccountDataUpdateStatus",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Success", Type = "AccountDataUpdateStatus", EnumValue = 0 },
|
||||
{ Name = "Failed", Type = "AccountDataUpdateStatus", EnumValue = 1 },
|
||||
{ Name = "Corrupt", Type = "AccountDataUpdateStatus", EnumValue = 2 },
|
||||
{ Name = "Toobig", Type = "AccountDataUpdateStatus", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AccountExportResult",
|
||||
Type = "Enumeration",
|
||||
NumValues = 14,
|
||||
MinValue = 0,
|
||||
MaxValue = 13,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Success", Type = "AccountExportResult", EnumValue = 0 },
|
||||
{ Name = "UnknownError", Type = "AccountExportResult", EnumValue = 1 },
|
||||
{ Name = "Cancelled", Type = "AccountExportResult", EnumValue = 2 },
|
||||
{ Name = "ShuttingDown", Type = "AccountExportResult", EnumValue = 3 },
|
||||
{ Name = "TimedOut", Type = "AccountExportResult", EnumValue = 4 },
|
||||
{ Name = "NoAccountFound", Type = "AccountExportResult", EnumValue = 5 },
|
||||
{ Name = "RequestedInvalidCharacter", Type = "AccountExportResult", EnumValue = 6 },
|
||||
{ Name = "RpcError", Type = "AccountExportResult", EnumValue = 7 },
|
||||
{ Name = "FileInvalid", Type = "AccountExportResult", EnumValue = 8 },
|
||||
{ Name = "FileWriteFailed", Type = "AccountExportResult", EnumValue = 9 },
|
||||
{ Name = "Unavailable", Type = "AccountExportResult", EnumValue = 10 },
|
||||
{ Name = "AlreadyInProgress", Type = "AccountExportResult", EnumValue = 11 },
|
||||
{ Name = "FailedToLockAccount", Type = "AccountExportResult", EnumValue = 12 },
|
||||
{ Name = "FailedToGenerateFile", Type = "AccountExportResult", EnumValue = 13 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AccountGetListRequestType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "AccountGetListRequestType", EnumValue = 0 },
|
||||
{ Name = "Battlepets", Type = "AccountGetListRequestType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AccountSequenceCacheType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Invalid", Type = "AccountSequenceCacheType", EnumValue = 0 },
|
||||
{ Name = "Local", Type = "AccountSequenceCacheType", EnumValue = 1 },
|
||||
{ Name = "HouseDecor", Type = "AccountSequenceCacheType", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AccountTransType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 67,
|
||||
MinValue = 0,
|
||||
MaxValue = 66,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ProxyForwarder", Type = "AccountTransType", EnumValue = 0 },
|
||||
{ Name = "Purchase", Type = "AccountTransType", EnumValue = 1 },
|
||||
{ Name = "Distribution", Type = "AccountTransType", EnumValue = 2 },
|
||||
{ Name = "Battlepet", Type = "AccountTransType", EnumValue = 3 },
|
||||
{ Name = "Achievements", Type = "AccountTransType", EnumValue = 4 },
|
||||
{ Name = "Criteria", Type = "AccountTransType", EnumValue = 5 },
|
||||
{ Name = "Mounts", Type = "AccountTransType", EnumValue = 6 },
|
||||
{ Name = "Characters", Type = "AccountTransType", EnumValue = 7 },
|
||||
{ Name = "Purchases", Type = "AccountTransType", EnumValue = 8 },
|
||||
{ Name = "ArchivedPurchases", Type = "AccountTransType", EnumValue = 9 },
|
||||
{ Name = "Distributions", Type = "AccountTransType", EnumValue = 10 },
|
||||
{ Name = "CurrencyCaps", Type = "AccountTransType", EnumValue = 11 },
|
||||
{ Name = "QuestLog", Type = "AccountTransType", EnumValue = 12 },
|
||||
{ Name = "CriteriaNotif", Type = "AccountTransType", EnumValue = 13 },
|
||||
{ Name = "Settings", Type = "AccountTransType", EnumValue = 14 },
|
||||
{ Name = "FixedLicense", Type = "AccountTransType", EnumValue = 15 },
|
||||
{ Name = "AddLicense", Type = "AccountTransType", EnumValue = 16 },
|
||||
{ Name = "ItemCollections", Type = "AccountTransType", EnumValue = 17 },
|
||||
{ Name = "AuctionableToken", Type = "AccountTransType", EnumValue = 18 },
|
||||
{ Name = "ConsumableToken", Type = "AccountTransType", EnumValue = 19 },
|
||||
{ Name = "VasTransaction", Type = "AccountTransType", EnumValue = 20 },
|
||||
{ Name = "Productitem", Type = "AccountTransType", EnumValue = 21 },
|
||||
{ Name = "TrialBoostHistory", Type = "AccountTransType", EnumValue = 22 },
|
||||
{ Name = "TrialBoostHistories", Type = "AccountTransType", EnumValue = 23 },
|
||||
{ Name = "QuestCriteria", Type = "AccountTransType", EnumValue = 24 },
|
||||
{ Name = "BattlenetAccount", Type = "AccountTransType", EnumValue = 25 },
|
||||
{ Name = "AccountCurrencies", Type = "AccountTransType", EnumValue = 26 },
|
||||
{ Name = "RafRecruiterAcceptances", Type = "AccountTransType", EnumValue = 27 },
|
||||
{ Name = "RafFriendMonth", Type = "AccountTransType", EnumValue = 28 },
|
||||
{ Name = "RafReward", Type = "AccountTransType", EnumValue = 29 },
|
||||
{ Name = "DynamicCriteria", Type = "AccountTransType", EnumValue = 30 },
|
||||
{ Name = "RafActivity", Type = "AccountTransType", EnumValue = 31 },
|
||||
{ Name = "CreateOrderInfo", Type = "AccountTransType", EnumValue = 32 },
|
||||
{ Name = "ProxyHonorInitialConversion", Type = "AccountTransType", EnumValue = 33 },
|
||||
{ Name = "ProxyCreateAccountHonor", Type = "AccountTransType", EnumValue = 34 },
|
||||
{ Name = "ProxyValidateAccountHonor", Type = "AccountTransType", EnumValue = 35 },
|
||||
{ Name = "ProxyGmSetHonor", Type = "AccountTransType", EnumValue = 36 },
|
||||
{ Name = "ProxyGenerateBpayID", Type = "AccountTransType", EnumValue = 37 },
|
||||
{ Name = "AccountNotifications", Type = "AccountTransType", EnumValue = 38 },
|
||||
{ Name = "PerkItemHold", Type = "AccountTransType", EnumValue = 39 },
|
||||
{ Name = "PerkPendingRewards", Type = "AccountTransType", EnumValue = 40 },
|
||||
{ Name = "PerkPastRewards", Type = "AccountTransType", EnumValue = 41 },
|
||||
{ Name = "PerkTransaction", Type = "AccountTransType", EnumValue = 42 },
|
||||
{ Name = "OutstandingRpc", Type = "AccountTransType", EnumValue = 43 },
|
||||
{ Name = "LoadWowlabs", Type = "AccountTransType", EnumValue = 44 },
|
||||
{ Name = "UpgradeAccount", Type = "AccountTransType", EnumValue = 45 },
|
||||
{ Name = "GetOrderStatusByPurchaseID", Type = "AccountTransType", EnumValue = 46 },
|
||||
{ Name = "Items", Type = "AccountTransType", EnumValue = 47 },
|
||||
{ Name = "BankTab", Type = "AccountTransType", EnumValue = 48 },
|
||||
{ Name = "Factions", Type = "AccountTransType", EnumValue = 49 },
|
||||
{ Name = "BitVectors", Type = "AccountTransType", EnumValue = 50 },
|
||||
{ Name = "CombinedQuestLog", Type = "AccountTransType", EnumValue = 51 },
|
||||
{ Name = "PlayerDataElements", Type = "AccountTransType", EnumValue = 52 },
|
||||
{ Name = "CharacterDataMerge", Type = "AccountTransType", EnumValue = 53 },
|
||||
{ Name = "AccountStore", Type = "AccountTransType", EnumValue = 54 },
|
||||
{ Name = "WarbandGroups", Type = "AccountTransType", EnumValue = 55 },
|
||||
{ Name = "Mapping", Type = "AccountTransType", EnumValue = 56 },
|
||||
{ Name = "CharacterItems", Type = "AccountTransType", EnumValue = 57 },
|
||||
{ Name = "CurrencyTransferLog", Type = "AccountTransType", EnumValue = 58 },
|
||||
{ Name = "LgVendorPurchase", Type = "AccountTransType", EnumValue = 59 },
|
||||
{ Name = "SaveWarbandGroups", Type = "AccountTransType", EnumValue = 60 },
|
||||
{ Name = "Profile", Type = "AccountTransType", EnumValue = 61 },
|
||||
{ Name = "WarbandSceneCollection", Type = "AccountTransType", EnumValue = 62 },
|
||||
{ Name = "EventRecords", Type = "AccountTransType", EnumValue = 63 },
|
||||
{ Name = "HousingItem", Type = "AccountTransType", EnumValue = 64 },
|
||||
{ Name = "TransmogOutfitCollection", Type = "AccountTransType", EnumValue = 65 },
|
||||
{ Name = "HouseInitiativeFavor", Type = "AccountTransType", EnumValue = 66 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BnetAccountFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 23,
|
||||
MinValue = 0,
|
||||
MaxValue = 2097152,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "BnetAccountFlag", EnumValue = 0 },
|
||||
{ Name = "BattlePetTrainer", Type = "BnetAccountFlag", EnumValue = 1 },
|
||||
{ Name = "RafVeteranNotified", Type = "BnetAccountFlag", EnumValue = 2 },
|
||||
{ Name = "TwitterLinked", Type = "BnetAccountFlag", EnumValue = 4 },
|
||||
{ Name = "TwitterHasTempSecret", Type = "BnetAccountFlag", EnumValue = 8 },
|
||||
{ Name = "Employee", Type = "BnetAccountFlag", EnumValue = 16 },
|
||||
{ Name = "EmployeeFlagIsManual", Type = "BnetAccountFlag", EnumValue = 32 },
|
||||
{ Name = "AccountQuestBitFixUp", Type = "BnetAccountFlag", EnumValue = 64 },
|
||||
{ Name = "AchievementsToBi", Type = "BnetAccountFlag", EnumValue = 128 },
|
||||
{ Name = "InvalidTransmogsFixUp", Type = "BnetAccountFlag", EnumValue = 256 },
|
||||
{ Name = "InvalidTransmogsFixUp2", Type = "BnetAccountFlag", EnumValue = 512 },
|
||||
{ Name = "GdprErased", Type = "BnetAccountFlag", EnumValue = 1024 },
|
||||
{ Name = "DarkRealmLightCopy", Type = "BnetAccountFlag", EnumValue = 2048 },
|
||||
{ Name = "QuestLogFlagsFixUp", Type = "BnetAccountFlag", EnumValue = 4096 },
|
||||
{ Name = "WasSecured", Type = "BnetAccountFlag", EnumValue = 8192 },
|
||||
{ Name = "LockedForExport", Type = "BnetAccountFlag", EnumValue = 16384 },
|
||||
{ Name = "CanBuyAhGameTimeTokens", Type = "BnetAccountFlag", EnumValue = 32768 },
|
||||
{ Name = "PetAchievementFixUp", Type = "BnetAccountFlag", EnumValue = 65536 },
|
||||
{ Name = "IsLegacy", Type = "BnetAccountFlag", EnumValue = 131072 },
|
||||
{ Name = "CataLegendaryMountChecked", Type = "BnetAccountFlag", EnumValue = 262144 },
|
||||
{ Name = "CataLegendaryMountObtained", Type = "BnetAccountFlag", EnumValue = 524288 },
|
||||
{ Name = "MopQuestLogFlagsFixUp", Type = "BnetAccountFlag", EnumValue = 1048576 },
|
||||
{ Name = "Unused", Type = "BnetAccountFlag", EnumValue = 2097152 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeHistoryFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ChallengeModeHistoryFlags", EnumValue = 0 },
|
||||
{ Name = "ConfirmedLeaver", Type = "ChallengeModeHistoryFlags", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeHistoryResult",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Successful", Type = "ChallengeModeHistoryResult", EnumValue = 0 },
|
||||
{ Name = "Leaver", Type = "ChallengeModeHistoryResult", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeHistoryStatus",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Normal", Type = "ChallengeModeHistoryStatus", EnumValue = 0 },
|
||||
{ Name = "Leaver", Type = "ChallengeModeHistoryStatus", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DisableAccountProfilesFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 7,
|
||||
MinValue = 0,
|
||||
MaxValue = 32,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "DisableAccountProfilesFlags", EnumValue = 0 },
|
||||
{ Name = "Document", Type = "DisableAccountProfilesFlags", EnumValue = 1 },
|
||||
{ Name = "SharedCollections", Type = "DisableAccountProfilesFlags", EnumValue = 2 },
|
||||
{ Name = "MountsCollections", Type = "DisableAccountProfilesFlags", EnumValue = 4 },
|
||||
{ Name = "PetsCollections", Type = "DisableAccountProfilesFlags", EnumValue = 8 },
|
||||
{ Name = "ItemsCollections", Type = "DisableAccountProfilesFlags", EnumValue = 16 },
|
||||
{ Name = "DecorsCollections", Type = "DisableAccountProfilesFlags", EnumValue = 32 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ItemCollectionType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 14,
|
||||
MinValue = 0,
|
||||
MaxValue = 13,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ItemCollectionType", EnumValue = 0 },
|
||||
{ Name = "Toy", Type = "ItemCollectionType", EnumValue = 1 },
|
||||
{ Name = "Heirloom", Type = "ItemCollectionType", EnumValue = 2 },
|
||||
{ Name = "Transmog", Type = "ItemCollectionType", EnumValue = 3 },
|
||||
{ Name = "TransmogSetFavorite", Type = "ItemCollectionType", EnumValue = 4 },
|
||||
{ Name = "RuneforgeLegendaryAbility", Type = "ItemCollectionType", EnumValue = 5 },
|
||||
{ Name = "TransmogIllusion", Type = "ItemCollectionType", EnumValue = 6 },
|
||||
{ Name = "WarbandScene", Type = "ItemCollectionType", EnumValue = 7 },
|
||||
{ Name = "Room", Type = "ItemCollectionType", EnumValue = 8 },
|
||||
{ Name = "ExteriorFixture", Type = "ItemCollectionType", EnumValue = 9 },
|
||||
{ Name = "RoomTheme", Type = "ItemCollectionType", EnumValue = 10 },
|
||||
{ Name = "RoomMaterial", Type = "ItemCollectionType", EnumValue = 11 },
|
||||
{ Name = "TransmogOutfit", Type = "ItemCollectionType", EnumValue = 12 },
|
||||
{ Name = "HouseType", Type = "ItemCollectionType", EnumValue = 13 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AccountConstants);
|
||||
@@ -0,0 +1,70 @@
|
||||
local AccountInfo =
|
||||
{
|
||||
Name = "AccountInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_AccountInfo",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetIDFromBattleNetAccountGUID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "battleNetAccountGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "battleNetAccountID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsGUIDBattleNetAccountType",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isBNet", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsGUIDRelatedToLocalAccount",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isLocalUser", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AccountInfo);
|
||||
@@ -0,0 +1,279 @@
|
||||
local AccountStore =
|
||||
{
|
||||
Name = "AccountStore",
|
||||
Type = "System",
|
||||
Namespace = "C_AccountStore",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "BeginPurchase",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "purchaseStarted", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCategories",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "storeFrontID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "categories", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCategoryInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "categoryID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "AccountStoreCategoryInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCategoryItems",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "categoryID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "itemIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrencyAvailable",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "currencyID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "amount", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrencyIDForStore",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "storeFrontID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "currencyID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrencyInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "currencyID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "AccountStoreCurrencyInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetItemInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "AccountStoreItemInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetStoreFrontState",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "storeFrontID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "state", Type = "AccountStoreState", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RefundItem",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "refundStarted", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RequestStoreFrontInfoUpdate",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "storeFrontID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AccountStoreCurrencyAvailableUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "ACCOUNT_STORE_CURRENCY_AVAILABLE_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "currencyID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AccountStoreFrontUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "ACCOUNT_STORE_FRONT_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "storeFrontID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AccountStoreItemInfoUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "ACCOUNT_STORE_ITEM_INFO_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AccountStoreTransactionError",
|
||||
Type = "Event",
|
||||
LiteralName = "ACCOUNT_STORE_TRANSACTION_ERROR",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "result", Type = "AccountStoreTransactionResult", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "StoreFrontStateUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "STORE_FRONT_STATE_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "storeFrontID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AccountStoreCategoryInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "type", Type = "AccountStoreCategoryType", Nilable = false },
|
||||
{ Name = "icon", Type = "fileID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AccountStoreCurrencyInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "amount", Type = "number", Nilable = false },
|
||||
{ Name = "maxQuantity", Type = "number", Nilable = true },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "icon", Type = "fileID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AccountStoreItemInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "status", Type = "AccountStoreItemStatus", Nilable = false },
|
||||
{ Name = "mode", Type = "AccountStoreItemMode", Nilable = false },
|
||||
{ Name = "currencyID", Type = "number", Nilable = false },
|
||||
{ Name = "flags", Type = "AccountStoreItemFlag", Nilable = false },
|
||||
{ Name = "customUIModelSceneID", Type = "number", Nilable = true },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "description", Type = "cstring", Nilable = true },
|
||||
{ Name = "price", Type = "number", Nilable = false },
|
||||
{ Name = "nonrefundable", Type = "bool", Nilable = false },
|
||||
{ Name = "creatureDisplayID", Type = "number", Nilable = true },
|
||||
{ Name = "transmogSetID", Type = "number", Nilable = true },
|
||||
{ Name = "displayIcon", Type = "fileID", Nilable = true },
|
||||
{ Name = "refundSecondsRemaining", Type = "time_t", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AccountStore);
|
||||
+209
@@ -0,0 +1,209 @@
|
||||
local AchievementInfo =
|
||||
{
|
||||
Name = "AchievementInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_AchievementInfo",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AreGuildAchievementsEnabled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "enabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetRewardItemID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "rewardItemID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSupercedingAchievements",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "supercedingAchievements", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsGuildAchievement",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "achievementId", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isGuild", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsValidAchievement",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "achievementId", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isValidAchievement", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetPortraitTexture",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "textureObject", Type = "SimpleTexture", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AchievementEarned",
|
||||
Type = "Event",
|
||||
LiteralName = "ACHIEVEMENT_EARNED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
{ Name = "alreadyEarned", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AchievementPlayerName",
|
||||
Type = "Event",
|
||||
LiteralName = "ACHIEVEMENT_PLAYER_NAME",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AchievementSearchUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "ACHIEVEMENT_SEARCH_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "CriteriaComplete",
|
||||
Type = "Event",
|
||||
LiteralName = "CRITERIA_COMPLETE",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "criteriaID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CriteriaEarned",
|
||||
Type = "Event",
|
||||
LiteralName = "CRITERIA_EARNED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
{ Name = "description", Type = "cstring", Nilable = false },
|
||||
{ Name = "achievementAlreadyEarnedOnAccount", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CriteriaUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "CRITERIA_UPDATE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "InspectAchievementReady",
|
||||
Type = "Event",
|
||||
LiteralName = "INSPECT_ACHIEVEMENT_READY",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ReceivedAchievementList",
|
||||
Type = "Event",
|
||||
LiteralName = "RECEIVED_ACHIEVEMENT_LIST",
|
||||
UniqueEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ReceivedAchievementMemberList",
|
||||
Type = "Event",
|
||||
LiteralName = "RECEIVED_ACHIEVEMENT_MEMBER_LIST",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "TrackedAchievementListChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "TRACKED_ACHIEVEMENT_LIST_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = true },
|
||||
{ Name = "added", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "TrackedAchievementUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "TRACKED_ACHIEVEMENT_UPDATE",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
{ Name = "criteriaID", Type = "number", Nilable = true },
|
||||
{ Name = "elapsed", Type = "time_t", Nilable = true },
|
||||
{ Name = "duration", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AchievementInfo);
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
local AchievementTelemetry =
|
||||
{
|
||||
Name = "AchievementTelemetry",
|
||||
Type = "System",
|
||||
Namespace = "C_AchievementTelemetry",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "LinkAchievementInClub",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "LinkAchievementInWhisper",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ShowAchievements",
|
||||
Type = "Function",
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AchievementTelemetry);
|
||||
+1151
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,27 @@
|
||||
local ActionBarShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ActionUsableState",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "slot", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "usable", Type = "bool", Nilable = false },
|
||||
{ Name = "noMana", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
{
|
||||
Name = "RequiresValidActionSlot",
|
||||
Type = "Precondition",
|
||||
FailureMode = "ReturnNothing",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ActionBarShared);
|
||||
@@ -0,0 +1,17 @@
|
||||
local Action =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
{
|
||||
Name = "HasRestrictions",
|
||||
Type = "Precondition",
|
||||
FailureMode = "ReturnNothing",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Action);
|
||||
@@ -0,0 +1,39 @@
|
||||
local AddOnConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AddOnEnableState",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "AddOnEnableState", EnumValue = 0 },
|
||||
{ Name = "Some", Type = "AddOnEnableState", EnumValue = 1 },
|
||||
{ Name = "All", Type = "AddOnEnableState", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AddOnSecurityStatus",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Secure", Type = "AddOnSecurityStatus", EnumValue = 0 },
|
||||
{ Name = "Insecure", Type = "AddOnSecurityStatus", EnumValue = 1 },
|
||||
{ Name = "Banned", Type = "AddOnSecurityStatus", EnumValue = 2 },
|
||||
{ Name = "NotAvailable", Type = "AddOnSecurityStatus", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AddOnConstants);
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
local AddOnProfilerConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AddOnPerformanceMessageType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "SpecificAddOnChatWarning", Type = "AddOnPerformanceMessageType", EnumValue = 0, Documentation = { "Warning in chat when an AddOn is close to exceeding thresholds." } },
|
||||
{ Name = "SpecificAddOnErrorDialog", Type = "AddOnPerformanceMessageType", EnumValue = 1, Documentation = { "Error message modal dialog when an AddOn has exceeded thresholds." } },
|
||||
{ Name = "OverallAddOnErrorDialog", Type = "AddOnPerformanceMessageType", EnumValue = 2, Documentation = { "Error message modal dialog when all AddOns combined have exceeded thresholds." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AddOnProfilerMetric",
|
||||
Type = "Enumeration",
|
||||
NumValues = 12,
|
||||
MinValue = 0,
|
||||
MaxValue = 11,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "SessionAverageTime", Type = "AddOnProfilerMetric", EnumValue = 0, Documentation = { "Average time since application startup" } },
|
||||
{ Name = "RecentAverageTime", Type = "AddOnProfilerMetric", EnumValue = 1, Documentation = { "Average time over the last 60 ticks" } },
|
||||
{ Name = "EncounterAverageTime", Type = "AddOnProfilerMetric", EnumValue = 2, Documentation = { "Average time over the duration of a boss encounter" } },
|
||||
{ Name = "LastTime", Type = "AddOnProfilerMetric", EnumValue = 3, Documentation = { "Total time in the most recent tick" } },
|
||||
{ Name = "PeakTime", Type = "AddOnProfilerMetric", EnumValue = 4, Documentation = { "Highest time recorded since application startup" } },
|
||||
{ Name = "CountTimeOver1Ms", Type = "AddOnProfilerMetric", EnumValue = 5, Documentation = { "Number of ticks where time exceeded 1ms" } },
|
||||
{ Name = "CountTimeOver5Ms", Type = "AddOnProfilerMetric", EnumValue = 6, Documentation = { "Number of ticks where time exceeded 5ms" } },
|
||||
{ Name = "CountTimeOver10Ms", Type = "AddOnProfilerMetric", EnumValue = 7, Documentation = { "Number of ticks where time exceeded 10ms" } },
|
||||
{ Name = "CountTimeOver50Ms", Type = "AddOnProfilerMetric", EnumValue = 8, Documentation = { "Number of ticks where time exceeded 50ms" } },
|
||||
{ Name = "CountTimeOver100Ms", Type = "AddOnProfilerMetric", EnumValue = 9, Documentation = { "Number of ticks where time exceeded 100ms" } },
|
||||
{ Name = "CountTimeOver500Ms", Type = "AddOnProfilerMetric", EnumValue = 10, Documentation = { "Number of ticks where time exceeded 500ms" } },
|
||||
{ Name = "CountTimeOver1000Ms", Type = "AddOnProfilerMetric", EnumValue = 11, Documentation = { "Number of ticks where time exceeded 1000ms" } },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AddOnProfilerConstants);
|
||||
@@ -0,0 +1,208 @@
|
||||
local AddOnProfiler =
|
||||
{
|
||||
Name = "AddOnProfiler",
|
||||
Type = "System",
|
||||
Namespace = "C_AddOnProfiler",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AddMeasuredCallEvent",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Adds a measured event to any ongoing measured calls. If no such calls are currently taking place, this function does nothing." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "stringView", Nilable = false, Documentation = { "User-defined string describing the measured event. This should be kept under 48 bytes to avoid memory allocations." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AddPerformanceMessageShown",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Internal API for telemetry." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "msg", Type = "AddOnPerformanceMessage", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CheckForPerformanceMessage",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
Documentation = { "Optimized check for determining if AddOns are severely impacting UI performance." },
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "msg", Type = "AddOnPerformanceMessage", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAddOnMetric",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Gets an AddOn profiler value - all times returned are in milliseconds." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "metric", Type = "AddOnProfilerMetric", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetApplicationMetric",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Overall profiling data for the entire application (not just the UI)" },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "metric", Type = "AddOnProfilerMetric", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetOverallMetric",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Overall profiling data for all addons" },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "metric", Type = "AddOnProfilerMetric", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetTicksPerSecond",
|
||||
Type = "Function",
|
||||
Documentation = { "Returns the number of profiling clock ticks that occur within a single real-time second." },
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "frequency", Type = "BigInteger", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetTopKAddOnsForMetric",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Gets top K AddOns for a given metric." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "metric", Type = "AddOnProfilerMetric", Nilable = false },
|
||||
{ Name = "k", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "results", Type = "table", InnerType = "AddOnProfilerResult", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsEnabled",
|
||||
Type = "Function",
|
||||
Documentation = { "AddOn profiler will be enabled for all users, but this will return false if it ever isn't" },
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "enabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "MeasureCall",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Performs a profiled measurement of a single function call with any supplied arguments." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "func", Type = "LuaValueVariant", Nilable = false },
|
||||
{ Name = "arguments", Type = "LuaValueVariant", Nilable = false, NilableContents = true, StrideIndex = 1 },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "results", Type = "AddOnProfilerCallResults", Nilable = false },
|
||||
{ Name = "returns", Type = "LuaValueVariant", Nilable = false, NilableContents = true, StrideIndex = 1 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AddOnPerformanceMessage",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "type", Type = "AddOnPerformanceMessageType", Nilable = false },
|
||||
{ Name = "metric", Type = "AddOnProfilerMetric", Nilable = false },
|
||||
{ Name = "addOnName", Type = "string", Nilable = true },
|
||||
{ Name = "metricValue", Type = "number", Nilable = false },
|
||||
{ Name = "thresholdValue", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AddOnProfilerCallEvent",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false, Documentation = { "User-defined string describing the measured event." } },
|
||||
{ Name = "allocatedBytes", Type = "BigUInteger", Nilable = false, Documentation = { "Snapshot of the allocated byte count when this event was recorded." } },
|
||||
{ Name = "deallocatedBytes", Type = "BigUInteger", Nilable = false, Documentation = { "Snapshot of the deallocated byte count when this event was recorded." } },
|
||||
{ Name = "elapsedMilliseconds", Type = "number", Nilable = false, Documentation = { "Snapshot of the elapsed milliseconds when this event was recorded." } },
|
||||
{ Name = "elapsedTicks", Type = "BigInteger", Nilable = false, Documentation = { "Snapshot of the elapsed tick count when this event was recorded." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AddOnProfilerCallResults",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "elapsedMilliseconds", Type = "number", Nilable = false, Documentation = { "Total number of milliseconds spent executing the function." } },
|
||||
{ Name = "elapsedTicks", Type = "BigInteger", Nilable = false, Documentation = { "Total number of profiling clock ticks spent executing the function." } },
|
||||
{ Name = "allocatedBytes", Type = "BigUInteger", Nilable = false, Documentation = { "Total number of bytes allocated during call execution." } },
|
||||
{ Name = "deallocatedBytes", Type = "BigUInteger", Nilable = false, Documentation = { "Total number of bytes deallocated during call execution." } },
|
||||
{ Name = "events", Type = "table", InnerType = "AddOnProfilerCallEvent", Nilable = false, Documentation = { "Events recorded by any AddMeasuredCallEvent calls that took place during function execution." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AddOnProfilerResult",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "addOnName", Type = "cstring", Nilable = false },
|
||||
{ Name = "metricValue", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AddOnProfiler);
|
||||
@@ -0,0 +1,452 @@
|
||||
local AddOns =
|
||||
{
|
||||
Name = "AddOns",
|
||||
Type = "System",
|
||||
Namespace = "C_AddOns",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "DisableAddOn",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
{ Name = "character", Type = "cstring", Nilable = false, Default = "0" },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DisableAllAddOns",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "character", Type = "cstring", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DoesAddOnExist",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "exists", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DoesAddOnHaveLoadError",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hadError", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EnableAddOn",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
{ Name = "character", Type = "cstring", Nilable = false, Default = "0" },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EnableAllAddOns",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "character", Type = "cstring", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAddOnDependencies",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "deps", Type = "cstring", Nilable = false, StrideIndex = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAddOnEnableState",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
{ Name = "character", Type = "cstring", Nilable = false, Default = "0" },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "state", Type = "AddOnEnableState", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAddOnInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "title", Type = "cstring", Nilable = false },
|
||||
{ Name = "notes", Type = "cstring", Nilable = false },
|
||||
{ Name = "loadable", Type = "bool", Nilable = false },
|
||||
{ Name = "reason", Type = "cstring", Nilable = false },
|
||||
{ Name = "security", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAddOnInterfaceVersion",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "interfaceVersion", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAddOnLocalTable",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Returns the addon table (passed as the second argument of ... to files) for any addon that opts in through setting AllowAddOnTableAccess: 1 in the toc file. Insecure code cannot query addon tables from Blizzard addons." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "table", Type = "LuaValueVariant", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAddOnMetadata",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
{ Name = "variable", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "value", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAddOnName",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAddOnNotes",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "notes", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAddOnOptionalDependencies",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "deps", Type = "cstring", Nilable = false, StrideIndex = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAddOnSecurity",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "security", Type = "AddOnSecurityStatus", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAddOnTitle",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "title", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumAddOns",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numAddOns", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetScriptsDisallowedForBeta",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "disallowed", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAddOnDefaultEnabled",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "defaultEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAddOnLoadOnDemand",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "loadOnDemand", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAddOnLoadable",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
{ Name = "character", Type = "cstring", Nilable = false, Default = "0" },
|
||||
{ Name = "demandLoaded", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "loadable", Type = "bool", Nilable = false },
|
||||
{ Name = "reason", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAddOnLoaded",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "loadedOrLoading", Type = "bool", Nilable = false },
|
||||
{ Name = "loaded", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAddonVersionCheckEnabled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "LoadAddOn",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "loaded", Type = "bool", Nilable = true },
|
||||
{ Name = "value", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ResetAddOns",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ResetDisabledAddOns",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "SaveAddOns",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "SetAddonVersionCheck",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "enabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AddonLoaded",
|
||||
Type = "Event",
|
||||
LiteralName = "ADDON_LOADED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "addOnName", Type = "cstring", Nilable = false },
|
||||
{ Name = "containsBindings", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AddonsUnloading",
|
||||
Type = "Event",
|
||||
LiteralName = "ADDONS_UNLOADING",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "closingClient", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SavedVariablesTooLarge",
|
||||
Type = "Event",
|
||||
LiteralName = "SAVED_VARIABLES_TOO_LARGE",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "addOnName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AddOnInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "title", Type = "cstring", Nilable = false },
|
||||
{ Name = "notes", Type = "cstring", Nilable = false },
|
||||
{ Name = "loadable", Type = "bool", Nilable = false },
|
||||
{ Name = "reason", Type = "cstring", Nilable = false },
|
||||
{ Name = "security", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AddOnLoadableInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "loadable", Type = "bool", Nilable = false },
|
||||
{ Name = "reason", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AddOns);
|
||||
+130
@@ -0,0 +1,130 @@
|
||||
local AdventureJournal =
|
||||
{
|
||||
Name = "AdventureJournal",
|
||||
Type = "System",
|
||||
Namespace = "C_AdventureJournal",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AjDungeonAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_DUNGEON_ACTION",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "lfgDungeonID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AjOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_OPEN",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AjOpenCollectionsAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_OPEN_COLLECTIONS_ACTION",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AjPveLfgAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_PVE_LFG_ACTION",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AjPvpAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_PVP_ACTION",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "battleMasterListID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AjPvpLfgAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_PVP_LFG_ACTION",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AjPvpRbgAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_PVP_RBG_ACTION",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AjPvpSkirmishAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_PVP_SKIRMISH_ACTION",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AjPvpSpecialBgAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_PVP_SPECIAL_BG_ACTION",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AjPvpTrainingGroundsAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_PVP_TRAINING_GROUNDS_ACTION",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AjQuestLogOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_QUEST_LOG_OPEN",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "questID", Type = "number", Nilable = false },
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AjRaidAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_RAID_ACTION",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "lfgDungeonID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AjRefreshDisplay",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_REFRESH_DISPLAY",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "newAdventureNotice", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AjRewardDataReceived",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_REWARD_DATA_RECEIVED",
|
||||
UniqueEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AdventureJournal);
|
||||
@@ -0,0 +1,127 @@
|
||||
local AdventureMap =
|
||||
{
|
||||
Name = "AdventureMap",
|
||||
Type = "System",
|
||||
Namespace = "C_AdventureMap",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetAdventureMapTextureKit",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "adventureMapTextureKit", Type = "textureKit", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumMapInsets",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numMapInsets", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumQuestOffers",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numQuestOffers", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumZoneChoices",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numZoneChoices", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetQuestPortraitInfo",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "questID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "AdventureMapQuestPortraitInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AdventureMapClose",
|
||||
Type = "Event",
|
||||
LiteralName = "ADVENTURE_MAP_CLOSE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AdventureMapOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "ADVENTURE_MAP_OPEN",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "followerTypeID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AdventureMapQuestUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "ADVENTURE_MAP_QUEST_UPDATE",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "questID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AdventureMapUpdateInsets",
|
||||
Type = "Event",
|
||||
LiteralName = "ADVENTURE_MAP_UPDATE_INSETS",
|
||||
UniqueEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AdventureMapUpdatePois",
|
||||
Type = "Event",
|
||||
LiteralName = "ADVENTURE_MAP_UPDATE_POIS",
|
||||
UniqueEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AdventureMapQuestPortraitInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "portraitDisplayID", Type = "number", Nilable = false },
|
||||
{ Name = "mountPortraitDisplayID", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "text", Type = "string", Nilable = false },
|
||||
{ Name = "modelSceneID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AdventureMap);
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
local AlliedRacesFrame =
|
||||
{
|
||||
Name = "AlliedRaces",
|
||||
Type = "System",
|
||||
Namespace = "C_AlliedRaces",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetAllRacialAbilitiesFromID",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "raceID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "allDisplayInfo", Type = "table", InnerType = "AlliedRaceRacialAbility", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetRaceInfoByID",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "raceID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "AlliedRaceInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AlliedRaceClose",
|
||||
Type = "Event",
|
||||
LiteralName = "ALLIED_RACE_CLOSE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AlliedRaceOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "ALLIED_RACE_OPEN",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "raceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AlliedRaceInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "raceID", Type = "number", Nilable = false },
|
||||
{ Name = "maleModelID", Type = "number", Nilable = false },
|
||||
{ Name = "femaleModelID", Type = "number", Nilable = false },
|
||||
{ Name = "achievementIds", Type = "table", InnerType = "number", Nilable = false },
|
||||
{ Name = "maleName", Type = "cstring", Nilable = false },
|
||||
{ Name = "femaleName", Type = "cstring", Nilable = false },
|
||||
{ Name = "description", Type = "cstring", Nilable = false },
|
||||
{ Name = "raceFileString", Type = "cstring", Nilable = false },
|
||||
{ Name = "crestAtlas", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "modelBackgroundAtlas", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "bannerColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AlliedRaceRacialAbility",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "description", Type = "cstring", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "icon", Type = "fileID", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AlliedRacesFrame);
|
||||
+153
@@ -0,0 +1,153 @@
|
||||
local AnimaDiversionUI =
|
||||
{
|
||||
Name = "AnimaDiversionInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_AnimaDiversion",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CloseUI",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "GetAnimaDiversionNodes",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "animaNodes", Type = "table", InnerType = "AnimaDiversionNodeInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetOriginPosition",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "normalizedPosition", Type = "vector2", Mixin = "Vector2DMixin", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetReinforceProgress",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "progress", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetTextureKit",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "textureKit", Type = "textureKit", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "OpenAnimaDiversionUI",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "SelectAnimaNode",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "talentID", Type = "number", Nilable = false },
|
||||
{ Name = "temporary", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AnimaDiversionClose",
|
||||
Type = "Event",
|
||||
LiteralName = "ANIMA_DIVERSION_CLOSE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AnimaDiversionOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "ANIMA_DIVERSION_OPEN",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "info", Type = "AnimaDiversionFrameInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AnimaDiversionTalentUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "ANIMA_DIVERSION_TALENT_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AnimaDiversionNodeState",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Unavailable", Type = "AnimaDiversionNodeState", EnumValue = 0 },
|
||||
{ Name = "Available", Type = "AnimaDiversionNodeState", EnumValue = 1 },
|
||||
{ Name = "SelectedTemporary", Type = "AnimaDiversionNodeState", EnumValue = 2 },
|
||||
{ Name = "SelectedPermanent", Type = "AnimaDiversionNodeState", EnumValue = 3 },
|
||||
{ Name = "Cooldown", Type = "AnimaDiversionNodeState", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AnimaDiversionCostInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "currencyID", Type = "number", Nilable = false },
|
||||
{ Name = "quantity", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AnimaDiversionFrameInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "textureKit", Type = "textureKit", Nilable = false },
|
||||
{ Name = "title", Type = "string", Nilable = false },
|
||||
{ Name = "mapID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AnimaDiversionNodeInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "talentID", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "description", Type = "string", Nilable = false },
|
||||
{ Name = "costs", Type = "table", InnerType = "AnimaDiversionCostInfo", Nilable = false },
|
||||
{ Name = "currencyID", Type = "number", Nilable = false },
|
||||
{ Name = "icon", Type = "number", Nilable = false },
|
||||
{ Name = "normalizedPosition", Type = "vector2", Mixin = "Vector2DMixin", Nilable = false },
|
||||
{ Name = "state", Type = "AnimaDiversionNodeState", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AnimaDiversionUI);
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
local AppearanceSource =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AppearanceSourceInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "visualID", Type = "number", Nilable = false },
|
||||
{ Name = "sourceID", Type = "number", Nilable = false },
|
||||
{ Name = "isCollected", Type = "bool", Nilable = false },
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
{ Name = "itemModID", Type = "number", Nilable = false },
|
||||
{ Name = "invType", Type = "luaIndex", Nilable = false, Default = 0 },
|
||||
{ Name = "categoryID", Type = "TransmogCollectionType", Nilable = false, Default = "None" },
|
||||
{ Name = "playerCanCollect", Type = "bool", Nilable = false },
|
||||
{ Name = "isValidSourceForPlayer", Type = "bool", Nilable = false },
|
||||
{ Name = "canDisplayOnPlayer", Type = "bool", Nilable = false },
|
||||
{ Name = "inventorySlot", Type = "number", Nilable = true },
|
||||
{ Name = "sourceType", Type = "luaIndex", Nilable = true },
|
||||
{ Name = "name", Type = "string", Nilable = true },
|
||||
{ Name = "quality", Type = "number", Nilable = true },
|
||||
{ Name = "useError", Type = "string", Nilable = true },
|
||||
{ Name = "useErrorType", Type = "TransmogUseErrorType", Nilable = true },
|
||||
{ Name = "meetsTransmogPlayerCondition", Type = "bool", Nilable = true },
|
||||
{ Name = "isHideVisual", Type = "bool", Nilable = true },
|
||||
{ Name = "isValidForEquippedItem", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AppearanceSource);
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
local ArdenwealdGardening =
|
||||
{
|
||||
Name = "ArdenwealdGardening",
|
||||
Type = "System",
|
||||
Namespace = "C_ArdenwealdGardening",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetGardenData",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "data", Type = "ArdenwealdGardenData", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsGardenAccessible",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "accessible", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ArdenwealdGardenData",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "active", Type = "number", Nilable = false },
|
||||
{ Name = "ready", Type = "number", Nilable = false },
|
||||
{ Name = "remainingSeconds", Type = "time_t", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ArdenwealdGardening);
|
||||
@@ -0,0 +1,188 @@
|
||||
local AreaPoiInfo =
|
||||
{
|
||||
Name = "AreaPoiInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_AreaPoiInfo",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetAreaPOIForMap",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "areaPoiIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAreaPOIInfo",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = true },
|
||||
{ Name = "areaPoiID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "poiInfo", Type = "AreaPOIInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAreaPOISecondsLeft",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Returns the number of seconds until the POI expires." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "areaPoiID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "secondsLeft", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDelvesForMap",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Returns all area POIInfos flagged as delves for the given map." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "areaPoiIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDragonridingRacesForMap",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Returns all area POIInfos flagged as dragonriding races for the given map." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "areaPoiIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEventsForMap",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Returns all area POIInfos flagged as events for the given map." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "areaPoiIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetQuestHubsForMap",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Returns all area POIInfos flagged as quest hubs for the given map." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "areaPoiIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAreaPOITimed",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "This statically determines if the POI is timed, GetAreaPOITimeLeft retrieves the value from the server and may return nothing for long intervals" },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "areaPoiID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isTimed", Type = "bool", Nilable = false },
|
||||
{ Name = "hideTimerInTooltip", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AreaPoisUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "AREA_POIS_UPDATED",
|
||||
UniqueEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AreaPOIInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "areaPoiID", Type = "number", Nilable = false },
|
||||
{ Name = "position", Type = "vector2", Mixin = "Vector2DMixin", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "description", Type = "cstring", Nilable = true },
|
||||
{ Name = "linkedUiMapID", Type = "number", Nilable = true },
|
||||
{ Name = "textureIndex", Type = "number", Nilable = true },
|
||||
{ Name = "tooltipWidgetSet", Type = "number", Nilable = true },
|
||||
{ Name = "iconWidgetSet", Type = "number", Nilable = true },
|
||||
{ Name = "atlasName", Type = "string", Nilable = true },
|
||||
{ Name = "uiTextureKit", Type = "textureKit", Nilable = true },
|
||||
{ Name = "shouldGlow", Type = "bool", Nilable = false },
|
||||
{ Name = "factionID", Type = "number", Nilable = true },
|
||||
{ Name = "isPrimaryMapForPOI", Type = "bool", Nilable = false },
|
||||
{ Name = "isAlwaysOnFlightmap", Type = "bool", Nilable = false },
|
||||
{ Name = "addPaddingAboveTooltipWidgets", Type = "bool", Nilable = true },
|
||||
{ Name = "highlightWorldQuestsOnHover", Type = "bool", Nilable = false },
|
||||
{ Name = "highlightVignettesOnHover", Type = "bool", Nilable = false },
|
||||
{ Name = "isCurrentEvent", Type = "bool", Nilable = false },
|
||||
{ Name = "isSuppressible", Type = "bool", Nilable = false },
|
||||
{ Name = "isLocked", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AreaPoiInfo);
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
local ArrowCalloutConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ArrowCalloutDirection",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Up", Type = "ArrowCalloutDirection", EnumValue = 0 },
|
||||
{ Name = "Down", Type = "ArrowCalloutDirection", EnumValue = 1 },
|
||||
{ Name = "Left", Type = "ArrowCalloutDirection", EnumValue = 2 },
|
||||
{ Name = "Right", Type = "ArrowCalloutDirection", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ArrowCalloutType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ArrowCalloutType", EnumValue = 0 },
|
||||
{ Name = "Generic", Type = "ArrowCalloutType", EnumValue = 1 },
|
||||
{ Name = "WorldLootObject", Type = "ArrowCalloutType", EnumValue = 2 },
|
||||
{ Name = "Tutorial", Type = "ArrowCalloutType", EnumValue = 3 },
|
||||
{ Name = "WidgetContainerNoBorder", Type = "ArrowCalloutType", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ArrowCalloutConstants);
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,74 @@
|
||||
local AssistedCombat =
|
||||
{
|
||||
Name = "AssistedCombat",
|
||||
Type = "System",
|
||||
Namespace = "C_AssistedCombat",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetActionSpell",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "spellID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNextCastSpell",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "checkForVisibleButton", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "spellID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetRotationSpells",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "spellIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAvailable",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isAvailable", Type = "bool", Nilable = false },
|
||||
{ Name = "failureReason", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AssistedCombatActionSpellCast",
|
||||
Type = "Event",
|
||||
LiteralName = "ASSISTED_COMBAT_ACTION_SPELL_CAST",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AssistedCombat);
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
local AsyncAssistActionsConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AssistActionType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 7,
|
||||
MinValue = 0,
|
||||
MaxValue = 6,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "AssistActionType", EnumValue = 0 },
|
||||
{ Name = "LoungingPlayer", Type = "AssistActionType", EnumValue = 1 },
|
||||
{ Name = "GraveMarker", Type = "AssistActionType", EnumValue = 2 },
|
||||
{ Name = "PlacedVo", Type = "AssistActionType", EnumValue = 3 },
|
||||
{ Name = "PlayerGuardian", Type = "AssistActionType", EnumValue = 4 },
|
||||
{ Name = "PlayerSlayer", Type = "AssistActionType", EnumValue = 5 },
|
||||
{ Name = "CapturedBuff", Type = "AssistActionType", EnumValue = 6 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AsyncAssistActionsConstants);
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
local AuctionHouseConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AuctionConstants",
|
||||
Type = "Constants",
|
||||
Values =
|
||||
{
|
||||
{ Name = "DEFAULT_AUCTION_PRICE_MULTIPLIER", Type = "number", Value = 1.5 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AuctionHouseConstants);
|
||||
File diff suppressed because it is too large
Load Diff
+158
@@ -0,0 +1,158 @@
|
||||
local AuctionHouseEnums =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AuctionHouseCommoditySortOrder",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "UnitPrice", Type = "AuctionHouseCommoditySortOrder", EnumValue = 0 },
|
||||
{ Name = "Quantity", Type = "AuctionHouseCommoditySortOrder", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuctionHouseError",
|
||||
Type = "Enumeration",
|
||||
NumValues = 27,
|
||||
MinValue = 0,
|
||||
MaxValue = 26,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "NotEnoughMoney", Type = "AuctionHouseError", EnumValue = 0 },
|
||||
{ Name = "HigherBid", Type = "AuctionHouseError", EnumValue = 1 },
|
||||
{ Name = "BidIncrement", Type = "AuctionHouseError", EnumValue = 2 },
|
||||
{ Name = "BidOwn", Type = "AuctionHouseError", EnumValue = 3 },
|
||||
{ Name = "ItemNotFound", Type = "AuctionHouseError", EnumValue = 4 },
|
||||
{ Name = "RestrictedAccountTrial", Type = "AuctionHouseError", EnumValue = 5 },
|
||||
{ Name = "HasRestriction", Type = "AuctionHouseError", EnumValue = 6 },
|
||||
{ Name = "IsBusy", Type = "AuctionHouseError", EnumValue = 7 },
|
||||
{ Name = "Unavailable", Type = "AuctionHouseError", EnumValue = 8 },
|
||||
{ Name = "ItemHasQuote", Type = "AuctionHouseError", EnumValue = 9 },
|
||||
{ Name = "DatabaseError", Type = "AuctionHouseError", EnumValue = 10 },
|
||||
{ Name = "MinBid", Type = "AuctionHouseError", EnumValue = 11 },
|
||||
{ Name = "NotEnoughItems", Type = "AuctionHouseError", EnumValue = 12 },
|
||||
{ Name = "RepairItem", Type = "AuctionHouseError", EnumValue = 13 },
|
||||
{ Name = "UsedCharges", Type = "AuctionHouseError", EnumValue = 14 },
|
||||
{ Name = "QuestItem", Type = "AuctionHouseError", EnumValue = 15 },
|
||||
{ Name = "BoundItem", Type = "AuctionHouseError", EnumValue = 16 },
|
||||
{ Name = "ConjuredItem", Type = "AuctionHouseError", EnumValue = 17 },
|
||||
{ Name = "LimitedDurationItem", Type = "AuctionHouseError", EnumValue = 18 },
|
||||
{ Name = "IsBag", Type = "AuctionHouseError", EnumValue = 19 },
|
||||
{ Name = "EquippedBag", Type = "AuctionHouseError", EnumValue = 20 },
|
||||
{ Name = "WrappedItem", Type = "AuctionHouseError", EnumValue = 21 },
|
||||
{ Name = "LootItem", Type = "AuctionHouseError", EnumValue = 22 },
|
||||
{ Name = "DoubleBid", Type = "AuctionHouseError", EnumValue = 23 },
|
||||
{ Name = "FavoritesMaxed", Type = "AuctionHouseError", EnumValue = 24 },
|
||||
{ Name = "ItemNotAvailable", Type = "AuctionHouseError", EnumValue = 25 },
|
||||
{ Name = "ItemBoundToAccountUntilEquip", Type = "AuctionHouseError", EnumValue = 26 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuctionHouseExtraColumn",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "AuctionHouseExtraColumn", EnumValue = 0 },
|
||||
{ Name = "Ilvl", Type = "AuctionHouseExtraColumn", EnumValue = 1 },
|
||||
{ Name = "Slots", Type = "AuctionHouseExtraColumn", EnumValue = 2 },
|
||||
{ Name = "Level", Type = "AuctionHouseExtraColumn", EnumValue = 3 },
|
||||
{ Name = "Skill", Type = "AuctionHouseExtraColumn", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuctionHouseFilter",
|
||||
Type = "Enumeration",
|
||||
NumValues = 14,
|
||||
MinValue = 0,
|
||||
MaxValue = 13,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "AuctionHouseFilter", EnumValue = 0 },
|
||||
{ Name = "UncollectedOnly", Type = "AuctionHouseFilter", EnumValue = 1 },
|
||||
{ Name = "UsableOnly", Type = "AuctionHouseFilter", EnumValue = 2 },
|
||||
{ Name = "CurrentExpansionOnly", Type = "AuctionHouseFilter", EnumValue = 3 },
|
||||
{ Name = "UpgradesOnly", Type = "AuctionHouseFilter", EnumValue = 4 },
|
||||
{ Name = "ExactMatch", Type = "AuctionHouseFilter", EnumValue = 5 },
|
||||
{ Name = "PoorQuality", Type = "AuctionHouseFilter", EnumValue = 6 },
|
||||
{ Name = "CommonQuality", Type = "AuctionHouseFilter", EnumValue = 7 },
|
||||
{ Name = "UncommonQuality", Type = "AuctionHouseFilter", EnumValue = 8 },
|
||||
{ Name = "RareQuality", Type = "AuctionHouseFilter", EnumValue = 9 },
|
||||
{ Name = "EpicQuality", Type = "AuctionHouseFilter", EnumValue = 10 },
|
||||
{ Name = "LegendaryQuality", Type = "AuctionHouseFilter", EnumValue = 11 },
|
||||
{ Name = "ArtifactQuality", Type = "AuctionHouseFilter", EnumValue = 12 },
|
||||
{ Name = "LegendaryCraftedItemOnly", Type = "AuctionHouseFilter", EnumValue = 13 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuctionHouseItemSortOrder",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Bid", Type = "AuctionHouseItemSortOrder", EnumValue = 0 },
|
||||
{ Name = "Buyout", Type = "AuctionHouseItemSortOrder", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuctionHouseNotification",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 0,
|
||||
MaxValue = 5,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "BidPlaced", Type = "AuctionHouseNotification", EnumValue = 0 },
|
||||
{ Name = "AuctionRemoved", Type = "AuctionHouseNotification", EnumValue = 1 },
|
||||
{ Name = "AuctionWon", Type = "AuctionHouseNotification", EnumValue = 2 },
|
||||
{ Name = "AuctionOutbid", Type = "AuctionHouseNotification", EnumValue = 3 },
|
||||
{ Name = "AuctionSold", Type = "AuctionHouseNotification", EnumValue = 4 },
|
||||
{ Name = "AuctionExpired", Type = "AuctionHouseNotification", EnumValue = 5 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuctionHouseSortOrder",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 0,
|
||||
MaxValue = 5,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Price", Type = "AuctionHouseSortOrder", EnumValue = 0 },
|
||||
{ Name = "Name", Type = "AuctionHouseSortOrder", EnumValue = 1 },
|
||||
{ Name = "Level", Type = "AuctionHouseSortOrder", EnumValue = 2 },
|
||||
{ Name = "Bid", Type = "AuctionHouseSortOrder", EnumValue = 3 },
|
||||
{ Name = "Buyout", Type = "AuctionHouseSortOrder", EnumValue = 4 },
|
||||
{ Name = "TimeRemaining", Type = "AuctionHouseSortOrder", EnumValue = 5 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuctionHouseTimeLeftBand",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Short", Type = "AuctionHouseTimeLeftBand", EnumValue = 0 },
|
||||
{ Name = "Medium", Type = "AuctionHouseTimeLeftBand", EnumValue = 1 },
|
||||
{ Name = "Long", Type = "AuctionHouseTimeLeftBand", EnumValue = 2 },
|
||||
{ Name = "VeryLong", Type = "AuctionHouseTimeLeftBand", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AuctionHouseEnums);
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
local AuraContainerShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CustomAuraButtonDispelTypeStealableFilter",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Stealable", Type = "CustomAuraButtonDispelTypeStealableFilter", EnumValue = 0, Documentation = { "Shows the dispel type only for stealable auras." } },
|
||||
{ Name = "NotStealable", Type = "CustomAuraButtonDispelTypeStealableFilter", EnumValue = 1, Documentation = { "Shows the dispel type only for non-stealable auras." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CustomAuraButtonDispelTypeTextureStyle",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Border", Type = "CustomAuraButtonDispelTypeTextureStyle", EnumValue = 0, Documentation = { "Uses a built-in border based on the aura's dispel type." } },
|
||||
{ Name = "BorderWithIcon", Type = "CustomAuraButtonDispelTypeTextureStyle", EnumValue = 1, Documentation = { "Uses a built-in border with a corner icon based on the aura's dispel type." } },
|
||||
{ Name = "Icon", Type = "CustomAuraButtonDispelTypeTextureStyle", EnumValue = 2, Documentation = { "Uses a built-in icon based on the aura's dispel type." } },
|
||||
{ Name = "PreserveAsset", Type = "CustomAuraButtonDispelTypeTextureStyle", EnumValue = 3, Documentation = { "Preserves the texture's existing asset." } },
|
||||
{ Name = "CustomAsset", Type = "CustomAuraButtonDispelTypeTextureStyle", EnumValue = 4, Documentation = { "Uses a custom texture asset selected from the configured dispel type asset map." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CustomAuraButtonUpdateMode",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Assignment", Type = "CustomAuraButtonUpdateMode", EnumValue = 0, Documentation = { "Applies a newly assigned aura, resetting presentation state rather than transitioning from the previous aura." } },
|
||||
{ Name = "Update", Type = "CustomAuraButtonUpdateMode", EnumValue = 1, Documentation = { "Refreshes the current aura assignment, allowing presentation state to retain continuity." } },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AuraContainerShared);
|
||||
+342
@@ -0,0 +1,342 @@
|
||||
local AuraContainerUtil =
|
||||
{
|
||||
Name = "AuraContainerUtil",
|
||||
Type = "System",
|
||||
Namespace = "C_AuraContainerUtil",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ProcessAuraTooltipBackdropOptions",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "options", Type = "AuraContainerTooltipBackdropOptions", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "AuraContainerTooltipBackdropOptions", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ProcessAuraTooltipNineSliceOptions",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "options", Type = "AuraContainerTooltipNineSliceOptions", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "AuraContainerTooltipNineSliceOptions", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ProcessAuraTooltipTextureSliceOptions",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "options", Type = "AuraContainerTooltipTextureSliceOptions", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "AuraContainerTooltipTextureSliceOptions", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ProcessCustomAuraButtonApplicationBarOptions",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "options", Type = "CustomAuraButtonApplicationBarOptions", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "CustomAuraButtonApplicationBarOptions", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ProcessCustomAuraButtonApplicationCountOptions",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "options", Type = "CustomAuraButtonApplicationCountOptions", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "CustomAuraButtonApplicationCountOptions", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ProcessCustomAuraButtonCasterNameOptions",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "options", Type = "CustomAuraButtonCasterNameOptions", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "CustomAuraButtonCasterNameOptions", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ProcessCustomAuraButtonDispelTypeTextOptions",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "options", Type = "CustomAuraButtonDispelTypeTextOptions", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "CustomAuraButtonDispelTypeTextOptions", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ProcessCustomAuraButtonDispelTypeTextureOptions",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "options", Type = "CustomAuraButtonDispelTypeTextureOptions", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "CustomAuraButtonDispelTypeTextureOptions", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ProcessCustomAuraButtonDurationBarOptions",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "options", Type = "CustomAuraButtonDurationBarOptions", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "CustomAuraButtonDurationBarOptions", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ProcessCustomAuraButtonDurationTextOptions",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "options", Type = "CustomAuraButtonDurationTextOptions", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "CustomAuraButtonDurationTextOptions", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AuraContainerTooltipAnchorOffsets",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "left", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "right", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "top", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "bottom", Type = "number", Nilable = false, Default = 0 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuraContainerTooltipBackdropInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "bgFile", Type = "TextureAssetDisk", Nilable = true, Documentation = { "Optional background texture asset." } },
|
||||
{ Name = "edgeFile", Type = "TextureAssetDisk", Nilable = true, Documentation = { "Optional edge texture asset." } },
|
||||
{ Name = "edgeSize", Type = "number", Nilable = true, Documentation = { "Optional edge size." } },
|
||||
{ Name = "insets", Type = "AuraContainerTooltipBackdropInsets", Nilable = true, Documentation = { "Optional backdrop insets." } },
|
||||
{ Name = "tile", Type = "bool", Nilable = true, Documentation = { "If true, tiles the background texture." } },
|
||||
{ Name = "tileEdge", Type = "bool", Nilable = true, Documentation = { "If true, tiles the edge texture." } },
|
||||
{ Name = "tileSize", Type = "number", Nilable = true, Documentation = { "Optional tile size used when tiling the background texture." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuraContainerTooltipBackdropInsets",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "left", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "right", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "top", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "bottom", Type = "number", Nilable = false, Default = 0 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuraContainerTooltipBackdropOptions",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "backdropInfo", Type = "AuraContainerTooltipBackdropInfo", Nilable = false, Documentation = { "Backdrop information used to construct the tooltip backdrop." } },
|
||||
{ Name = "borderColor", Type = "colorRGBA", Mixin = "ColorMixin", Nilable = true, Documentation = { "Optional color applied to the backdrop border." } },
|
||||
{ Name = "centerColor", Type = "colorRGBA", Mixin = "ColorMixin", Nilable = true, Documentation = { "Optional color applied to the backdrop background." } },
|
||||
{ Name = "anchorOffsets", Type = "AuraContainerTooltipAnchorOffsets", Nilable = true, Documentation = { "Optional offsets applied to the backdrop's TOPLEFT and BOTTOMRIGHT anchor points." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuraContainerTooltipNineSliceOptions",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "layoutName", Type = "cstring", Nilable = false, Documentation = { "Name of the NineSlice layout template to apply, such as 'TooltipDefaultLayout'." } },
|
||||
{ Name = "borderColor", Type = "colorRGBA", Mixin = "ColorMixin", Nilable = true, Documentation = { "Optional color applied to the NineSlice border." } },
|
||||
{ Name = "centerColor", Type = "colorRGBA", Mixin = "ColorMixin", Nilable = true, Documentation = { "Optional color applied to the NineSlice center region." } },
|
||||
{ Name = "anchorOffsets", Type = "AuraContainerTooltipAnchorOffsets", Nilable = true, Documentation = { "Optional offsets applied to the NineSlice's TOPLEFT and BOTTOMRIGHT anchor points." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuraContainerTooltipTextureSliceOptions",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "asset", Type = "TextureAssetDisk", Nilable = false, Documentation = { "Texture asset (file path or atlas name) displayed by the slice." } },
|
||||
{ Name = "sliceMargins", Type = "UITextureSliceMargins", Nilable = true, Documentation = { "Optional texture slice margins. See Texture:SetTextureSliceMargins." } },
|
||||
{ Name = "sliceMode", Type = "UITextureSliceMode", Nilable = true, Documentation = { "Optional texture slice mode. See Texture:SetTextureSliceMode." } },
|
||||
{ Name = "color", Type = "colorRGBA", Mixin = "ColorMixin", Nilable = true, Documentation = { "Optional vertex color applied to the texture." } },
|
||||
{ Name = "anchorOffsets", Type = "AuraContainerTooltipAnchorOffsets", Nilable = true, Documentation = { "Optional offsets applied to the slice's TOPLEFT and BOTTOMRIGHT anchor points." } },
|
||||
{ Name = "drawLayer", Type = "DrawLayer", Nilable = true, Documentation = { "Draw layer used when displaying the texture." } },
|
||||
{ Name = "drawLayerSublevel", Type = "number", Nilable = false, Default = 0, Documentation = { "Draw layer sublevel used when displaying the texture." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CustomAuraButtonApplicationBarOptions",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "maxApplications", Type = "number", Nilable = false, Documentation = { "The maximum number of aura applications represented by the bar." } },
|
||||
{ Name = "minApplications", Type = "number", Nilable = false, Default = 0, Documentation = { "The minimum number of aura applications represented by the bar." } },
|
||||
{ Name = "interpolation", Type = "StatusBarInterpolation", Nilable = true, Documentation = { "Optional interpolation method used when updating the bar value." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CustomAuraButtonApplicationCountOptions",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "formatter", Type = "NumericFormatter", Nilable = true, Documentation = { "Optional formatter used to display aura application counts." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CustomAuraButtonCasterNameOptions",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "showRealmName", Type = "bool", Nilable = false, Default = false, Documentation = { "If true, append realm names to the displayed string." } },
|
||||
{ Name = "useClassColors", Type = "bool", Nilable = false, Default = false, Documentation = { "If true, apply class coloring to the text." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CustomAuraButtonDispelTypeTextOptions",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "showWhenHarmful", Type = "bool", Nilable = false, Default = true, Documentation = { "Shows the dispel type text for harmful auras." } },
|
||||
{ Name = "showWhenHelpful", Type = "bool", Nilable = false, Default = false, Documentation = { "Shows the dispel type text for helpful auras." } },
|
||||
{ Name = "showWithoutDispelType", Type = "bool", Nilable = false, Default = false, Documentation = { "Shows the dispel type text for auras that do not have a dispel type." } },
|
||||
{ Name = "customDispelTextMap", Type = "table", InnerType = "stringView", KeyType = "string", Nilable = true, Documentation = { "Optional map of dispel type names to custom texts. An empty key can be used for auras without a dispel type." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CustomAuraButtonDispelTypeTextureAsset",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "asset", Type = "TextureAssetDisk", Nilable = false, Documentation = { "The texture file or atlas to use." } },
|
||||
{ Name = "useAtlasSize", Type = "bool", Nilable = false, Default = false, Documentation = { "Resizes the texture to the atlas dimensions. Ignored when asset does not name an atlas." } },
|
||||
{ Name = "texCoords", Type = "CustomAuraButtonDispelTypeTextureTexCoords", Nilable = true, Documentation = { "Optional texture coordinates used when asset does not name an atlas." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CustomAuraButtonDispelTypeTextureOptions",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "showAlways", Type = "bool", Nilable = false, Default = false, Documentation = { "Shows the dispel type texture always, ignoring all other criteria." } },
|
||||
{ Name = "showWhenHarmful", Type = "bool", Nilable = false, Default = true, Documentation = { "Shows the dispel type texture for harmful auras." } },
|
||||
{ Name = "showWhenHelpful", Type = "bool", Nilable = false, Default = false, Documentation = { "Shows the dispel type texture for helpful auras." } },
|
||||
{ Name = "showWithoutDispelType", Type = "bool", Nilable = false, Default = false, Documentation = { "Shows the dispel type texture for auras that do not have a dispel type." } },
|
||||
{ Name = "stealableFilter", Type = "CustomAuraButtonDispelTypeStealableFilter", Nilable = true, Documentation = { "Restricts display of the dispel type texture to either stealable or non-stealable auras. If omitted, the dispel type texture may be shown for both." } },
|
||||
{ Name = "style", Type = "CustomAuraButtonDispelTypeTextureStyle", Nilable = false, Default = "BorderWithIcon", Documentation = { "The texture style to use." } },
|
||||
{ Name = "customDispelAssetMap", Type = "table", InnerType = "CustomAuraButtonDispelTypeTextureAsset", KeyType = "string", Nilable = true, Documentation = { "Optional map of dispel type names to custom texture assets. The \"None\" key represents auras without a dispel type. Only applies when using the CustomAsset style." } },
|
||||
{ Name = "customDispelColorMap", Type = "table", InnerType = "colorRGB", KeyType = "string", Nilable = true, Documentation = { "Optional map of dispel type names to custom vertex colors. The \"None\" key represents auras without a dispel type." } },
|
||||
{ Name = "customDispelColorCurve", Type = "LuaColorCurveObject", Nilable = true, Documentation = { "Optional curve used to determine vertex colors from the aura's dispel type." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CustomAuraButtonDispelTypeTextureTexCoords",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "left", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "right", Type = "number", Nilable = false, Default = 1 },
|
||||
{ Name = "top", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "bottom", Type = "number", Nilable = false, Default = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CustomAuraButtonDurationBarOptions",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "interpolation", Type = "StatusBarInterpolation", Nilable = true, Documentation = { "The interpolation method used when updating the duration bar." } },
|
||||
{ Name = "direction", Type = "StatusBarTimerDirection", Nilable = true, Documentation = { "The direction in which the duration bar progresses." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CustomAuraButtonDurationTextOptions",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "binding", Type = "DurationTextBinding", Nilable = true, Documentation = { "Optional duration text binding to use. The binding is copied before being associated with the aura button." } },
|
||||
{ Name = "textFormatter", Type = "NumericFormatter", Nilable = true, Documentation = { "Optional formatter used to display remaining duration values. Ignored if textFormat is specified." } },
|
||||
{ Name = "textFormat", Type = "DurationTextBindingFormatOptions", Nilable = true, Documentation = { "Optional text format configuration applied to the duration text binding. Overrides textFormatter when specified." } },
|
||||
{ Name = "textColor", Type = "DurationTextBindingColorOptions", Nilable = true, Documentation = { "Optional text color configuration applied to the duration text binding." } },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AuraContainerUtil);
|
||||
@@ -0,0 +1,96 @@
|
||||
local AutoComplete =
|
||||
{
|
||||
Name = "AutoComplete",
|
||||
Type = "System",
|
||||
Namespace = "C_AutoComplete",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetAutoCompletePresenceID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "presenceID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAutoCompleteRealms",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "realms", Type = "table", InnerType = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAutoCompleteResults",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "numResults", Type = "number", Nilable = false },
|
||||
{ Name = "cursorPosition", Type = "number", Nilable = false },
|
||||
{ Name = "allowFullMatch", Type = "bool", Nilable = false },
|
||||
{ Name = "includeFlags", Type = "number", Nilable = false },
|
||||
{ Name = "excludeFlags", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "results", Type = "table", InnerType = "AutoCompleteResult", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsRecognizedName",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "includeFlags", Type = "number", Nilable = false },
|
||||
{ Name = "excludeFlags", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isRecognizedName", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AutoCompleteResult",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "priority", Type = "AutoCompletePriority", Nilable = false },
|
||||
{ Name = "bnetID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AutoComplete);
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
local AutoCompleteShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AutoCompleteEntryFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 9,
|
||||
MinValue = 1,
|
||||
MaxValue = 256,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "InGroup", Type = "AutoCompleteEntryFlag", EnumValue = 1 },
|
||||
{ Name = "InGuild", Type = "AutoCompleteEntryFlag", EnumValue = 2 },
|
||||
{ Name = "Friend", Type = "AutoCompleteEntryFlag", EnumValue = 4 },
|
||||
{ Name = "Bnet", Type = "AutoCompleteEntryFlag", EnumValue = 8 },
|
||||
{ Name = "InteractedWith", Type = "AutoCompleteEntryFlag", EnumValue = 16 },
|
||||
{ Name = "Online", Type = "AutoCompleteEntryFlag", EnumValue = 32 },
|
||||
{ Name = "InAOI", Type = "AutoCompleteEntryFlag", EnumValue = 64 },
|
||||
{ Name = "AccountCharacter", Type = "AutoCompleteEntryFlag", EnumValue = 128 },
|
||||
{ Name = "RecentPlayer", Type = "AutoCompleteEntryFlag", EnumValue = 256 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AutoCompletePriority",
|
||||
Type = "Enumeration",
|
||||
NumValues = 7,
|
||||
MinValue = 0,
|
||||
MaxValue = 6,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Other", Type = "AutoCompletePriority", EnumValue = 0 },
|
||||
{ Name = "Interacted", Type = "AutoCompletePriority", EnumValue = 1 },
|
||||
{ Name = "InGroup", Type = "AutoCompletePriority", EnumValue = 2 },
|
||||
{ Name = "Guild", Type = "AutoCompletePriority", EnumValue = 3 },
|
||||
{ Name = "Friend", Type = "AutoCompletePriority", EnumValue = 4 },
|
||||
{ Name = "AccountCharacter", Type = "AutoCompletePriority", EnumValue = 5 },
|
||||
{ Name = "AccountCharacterSameRealm", Type = "AutoCompletePriority", EnumValue = 6 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AutoCompleteShared);
|
||||
@@ -0,0 +1,35 @@
|
||||
local AutoLoot =
|
||||
{
|
||||
Name = "AutoLoot",
|
||||
Type = "System",
|
||||
Namespace = "C_AutoLoot",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "SetUseAutoLootToggle",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "useAutoLootToggle", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AutoLoot);
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
local AzeriteConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AzeriteEssenceSlot",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "MainSlot", Type = "AzeriteEssenceSlot", EnumValue = 0 },
|
||||
{ Name = "PassiveOneSlot", Type = "AzeriteEssenceSlot", EnumValue = 1 },
|
||||
{ Name = "PassiveTwoSlot", Type = "AzeriteEssenceSlot", EnumValue = 2 },
|
||||
{ Name = "PassiveThreeSlot", Type = "AzeriteEssenceSlot", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AzeriteConstants);
|
||||
+353
@@ -0,0 +1,353 @@
|
||||
local AzeriteEmpoweredItem =
|
||||
{
|
||||
Name = "AzeriteEmpoweredItem",
|
||||
Type = "System",
|
||||
Namespace = "C_AzeriteEmpoweredItem",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CanSelectPower",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
{ Name = "powerID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canSelect", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConfirmAzeriteEmpoweredItemRespec",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAllTierInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "tierInfo", Type = "table", InnerType = "AzeriteEmpoweredItemTierInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAllTierInfoByItemID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemInfo", Type = "ItemInfo", Nilable = false },
|
||||
{ Name = "classID", Type = "number", Nilable = true, Documentation = { "Specify a class ID to get tier information about that class, otherwise uses the player's class if left nil" } },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "tierInfo", Type = "table", InnerType = "AzeriteEmpoweredItemTierInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAzeriteEmpoweredItemRespecCost",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "cost", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPowerInfo",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "powerID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "powerInfo", Type = "AzeriteEmpoweredItemPowerInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPowerText",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
{ Name = "powerID", Type = "number", Nilable = false },
|
||||
{ Name = "level", Type = "AzeritePowerLevel", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "powerText", Type = "AzeriteEmpoweredItemPowerText", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSpecsForPower",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "powerID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "specInfo", Type = "table", InnerType = "AzeriteSpecInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasAnyUnselectedPowers",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasAnyUnselectedPowers", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasBeenViewed",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasBeenViewed", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAzeriteEmpoweredItem",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemLocation", Type = "ItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isAzeriteEmpoweredItem", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAzeriteEmpoweredItemByID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemInfo", Type = "ItemInfo", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isAzeriteEmpoweredItem", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAzeritePreviewSourceDisplayable",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemInfo", Type = "ItemInfo", Nilable = false },
|
||||
{ Name = "classID", Type = "number", Nilable = true, Documentation = { "Specify a class ID to determine if its displayable for that class, otherwise uses the player's class if left nil" } },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isAzeritePreviewSourceDisplayable", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsHeartOfAzerothEquipped",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isHeartOfAzerothEquipped", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsPowerAvailableForSpec",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "powerID", Type = "number", Nilable = false },
|
||||
{ Name = "specID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isPowerAvailableForSpec", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsPowerSelected",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
{ Name = "powerID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isSelected", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SelectPower",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
{ Name = "powerID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetHasBeenViewed",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AzeriteEmpoweredItemEquippedStatusChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_EMPOWERED_ITEM_EQUIPPED_STATUS_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "isHeartEquipped", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEmpoweredItemSelectionUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_EMPOWERED_ITEM_SELECTION_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AzeritePowerLevel",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Base", Type = "AzeritePowerLevel", EnumValue = 0 },
|
||||
{ Name = "Upgraded", Type = "AzeritePowerLevel", EnumValue = 1 },
|
||||
{ Name = "Downgraded", Type = "AzeritePowerLevel", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEmpoweredItemPowerInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "azeritePowerID", Type = "number", Nilable = false },
|
||||
{ Name = "spellID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEmpoweredItemPowerText",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "description", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEmpoweredItemTierInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "azeritePowerIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
{ Name = "unlockLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteSpecInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "classID", Type = "number", Nilable = false },
|
||||
{ Name = "specID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AzeriteEmpoweredItem);
|
||||
@@ -0,0 +1,357 @@
|
||||
local AzeriteEssence =
|
||||
{
|
||||
Name = "AzeriteEssence",
|
||||
Type = "System",
|
||||
Namespace = "C_AzeriteEssence",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ActivateEssence",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanActivateEssence",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canActivate", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanDeactivateEssence",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canDeactivate", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanOpenUI",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canOpen", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClearPendingActivationEssence",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "CloseForge",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "GetEssenceHyperlink",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
{ Name = "rank", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "link", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEssenceInfo",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "AzeriteEssenceInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEssences",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "essences", Type = "table", InnerType = "AzeriteEssenceInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMilestoneEssence",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMilestoneInfo",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "AzeriteMilestoneInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMilestoneSpell",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "spellID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMilestones",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "milestones", Type = "table", InnerType = "AzeriteMilestoneInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumUnlockedEssences",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numUnlockedEssences", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumUsableEssences",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numUsableEssences", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPendingActivationEssence",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasNeverActivatedAnyEssences",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasNeverActivatedAnyEssences", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasPendingActivationEssence",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasEssence", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAtForge",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isAtForge", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetPendingActivationEssence",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UnlockMilestone",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AzeriteEssenceActivated",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_ACTIVATED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "AzeriteEssenceSlot", Nilable = false },
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEssenceActivationFailed",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_ACTIVATION_FAILED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "AzeriteEssenceSlot", Nilable = false },
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEssenceChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
{ Name = "newRank", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEssenceForgeClose",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_FORGE_CLOSE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEssenceForgeOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_FORGE_OPEN",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEssenceMilestoneUnlocked",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_MILESTONE_UNLOCKED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEssenceUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_UPDATE",
|
||||
UniqueEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PendingAzeriteEssenceChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PENDING_AZERITE_ESSENCE_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AzeriteEssenceInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ID", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "rank", Type = "number", Nilable = false },
|
||||
{ Name = "unlocked", Type = "bool", Nilable = false },
|
||||
{ Name = "valid", Type = "bool", Nilable = false },
|
||||
{ Name = "icon", Type = "fileID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteMilestoneInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ID", Type = "number", Nilable = false },
|
||||
{ Name = "requiredLevel", Type = "number", Nilable = false },
|
||||
{ Name = "canUnlock", Type = "bool", Nilable = false },
|
||||
{ Name = "unlocked", Type = "bool", Nilable = false },
|
||||
{ Name = "rank", Type = "number", Nilable = true },
|
||||
{ Name = "slot", Type = "AzeriteEssenceSlot", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AzeriteEssence);
|
||||
@@ -0,0 +1,199 @@
|
||||
local AzeriteItem =
|
||||
{
|
||||
Name = "AzeriteItem",
|
||||
Type = "System",
|
||||
Namespace = "C_AzeriteItem",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "FindActiveAzeriteItem",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "activeAzeriteItemLocation", Type = "AzeriteItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAzeriteItemXPInfo",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteItemLocation", Type = "AzeriteItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "xp", Type = "number", Nilable = false },
|
||||
{ Name = "totalLevelXP", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPowerLevel",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteItemLocation", Type = "AzeriteItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "powerLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetUnlimitedPowerLevel",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteItemLocation", Type = "AzeriteItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "powerLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasActiveAzeriteItem",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasActiveAzeriteItem", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAzeriteItem",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemLocation", Type = "ItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isAzeriteItem", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAzeriteItemAtMaxLevel",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isAtMax", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAzeriteItemByID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemInfo", Type = "ItemInfo", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isAzeriteItem", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAzeriteItemEnabled",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteItemLocation", Type = "AzeriteItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsUnlimitedLevelingUnlocked",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isUnlimitedLevelingUnlocked", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AzeriteItemEnabledStateChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ITEM_ENABLED_STATE_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "enabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteItemExperienceChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ITEM_EXPERIENCE_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "azeriteItemLocation", Type = "AzeriteItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
{ Name = "oldExperienceAmount", Type = "number", Nilable = false },
|
||||
{ Name = "newExperienceAmount", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteItemPowerLevelChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ITEM_POWER_LEVEL_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "azeriteItemLocation", Type = "AzeriteItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
{ Name = "oldPowerLevel", Type = "number", Nilable = false },
|
||||
{ Name = "newPowerLevel", Type = "number", Nilable = false },
|
||||
{ Name = "unlockedEmpoweredItemsInfo", Type = "table", InnerType = "UnlockedAzeriteEmpoweredItems", Nilable = false },
|
||||
{ Name = "azeriteItemID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "UnlockedAzeriteEmpoweredItems",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "unlockedItem", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
{ Name = "tierIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AzeriteItem);
|
||||
@@ -0,0 +1,34 @@
|
||||
local BNetOutage =
|
||||
{
|
||||
Name = "BNetOutage",
|
||||
Type = "System",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ClearOutage",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
},
|
||||
{
|
||||
Name = "OutageDetected",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BNetOutage);
|
||||
@@ -0,0 +1,69 @@
|
||||
local BagConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "BagFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 27,
|
||||
MinValue = 1,
|
||||
MaxValue = 134217728,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "DontFindStack", Type = "BagFlag", EnumValue = 1 },
|
||||
{ Name = "AlreadyOwner", Type = "BagFlag", EnumValue = 2 },
|
||||
{ Name = "AlreadyBound", Type = "BagFlag", EnumValue = 4 },
|
||||
{ Name = "Swap", Type = "BagFlag", EnumValue = 8 },
|
||||
{ Name = "BagIsEmpty", Type = "BagFlag", EnumValue = 16 },
|
||||
{ Name = "LookInInventory", Type = "BagFlag", EnumValue = 32 },
|
||||
{ Name = "IgnoreBoundItemCheck", Type = "BagFlag", EnumValue = 64 },
|
||||
{ Name = "StackOnly", Type = "BagFlag", EnumValue = 128 },
|
||||
{ Name = "RecurseQuivers", Type = "BagFlag", EnumValue = 256 },
|
||||
{ Name = "IgnoreBankcheck", Type = "BagFlag", EnumValue = 512 },
|
||||
{ Name = "AllowBagsInNonBagSlots", Type = "BagFlag", EnumValue = 1024 },
|
||||
{ Name = "PreferQuivers", Type = "BagFlag", EnumValue = 2048 },
|
||||
{ Name = "SwapBags", Type = "BagFlag", EnumValue = 4096 },
|
||||
{ Name = "IgnoreExisting", Type = "BagFlag", EnumValue = 8192 },
|
||||
{ Name = "AllowPartialStack", Type = "BagFlag", EnumValue = 16384 },
|
||||
{ Name = "LookInCharacterBankOnly", Type = "BagFlag", EnumValue = 32768 },
|
||||
{ Name = "AllowBuyback", Type = "BagFlag", EnumValue = 65536 },
|
||||
{ Name = "IgnorePetBankcheck", Type = "BagFlag", EnumValue = 131072 },
|
||||
{ Name = "PreferPriorityBags", Type = "BagFlag", EnumValue = 262144 },
|
||||
{ Name = "PreferNeutralPriorityBags", Type = "BagFlag", EnumValue = 524288 },
|
||||
{ Name = "AsymmetricSwap", Type = "BagFlag", EnumValue = 1048576 },
|
||||
{ Name = "PreferReagentBags", Type = "BagFlag", EnumValue = 2097152 },
|
||||
{ Name = "IgnoreReagentBags", Type = "BagFlag", EnumValue = 8388608 },
|
||||
{ Name = "LookInAccountBankOnly", Type = "BagFlag", EnumValue = 16777216 },
|
||||
{ Name = "HasRefund", Type = "BagFlag", EnumValue = 33554432 },
|
||||
{ Name = "SkipValidCountCheck", Type = "BagFlag", EnumValue = 67108864 },
|
||||
{ Name = "AllowSoulboundItemInAccountBank", Type = "BagFlag", EnumValue = 134217728 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BagSlotFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 10,
|
||||
MinValue = 1,
|
||||
MaxValue = 512,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "DisableAutoSort", Type = "BagSlotFlags", EnumValue = 1 },
|
||||
{ Name = "ClassEquipment", Type = "BagSlotFlags", EnumValue = 2 },
|
||||
{ Name = "ClassConsumables", Type = "BagSlotFlags", EnumValue = 4 },
|
||||
{ Name = "ClassProfessionGoods", Type = "BagSlotFlags", EnumValue = 8 },
|
||||
{ Name = "ClassJunk", Type = "BagSlotFlags", EnumValue = 16 },
|
||||
{ Name = "ClassQuestItems", Type = "BagSlotFlags", EnumValue = 32 },
|
||||
{ Name = "ExcludeJunkSell", Type = "BagSlotFlags", EnumValue = 64 },
|
||||
{ Name = "ClassReagents", Type = "BagSlotFlags", EnumValue = 128 },
|
||||
{ Name = "ExpansionCurrent", Type = "BagSlotFlags", EnumValue = 256 },
|
||||
{ Name = "ExpansionLegacy", Type = "BagSlotFlags", EnumValue = 512 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BagConstants);
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
local BagIndexConstants =
|
||||
{
|
||||
Name = "BagIndexConstants",
|
||||
Type = "System",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "BagIndex",
|
||||
Type = "Enumeration",
|
||||
NumValues = 27,
|
||||
MinValue = -3,
|
||||
MaxValue = 23,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Accountbanktab", Type = "BagIndex", EnumValue = -3 },
|
||||
{ Name = "Characterbanktab", Type = "BagIndex", EnumValue = -2 },
|
||||
{ Name = "Keyring", Type = "BagIndex", EnumValue = -1 },
|
||||
{ Name = "Backpack", Type = "BagIndex", EnumValue = 0 },
|
||||
{ Name = "Bag_1", Type = "BagIndex", EnumValue = 1 },
|
||||
{ Name = "Bag_2", Type = "BagIndex", EnumValue = 2 },
|
||||
{ Name = "Bag_3", Type = "BagIndex", EnumValue = 3 },
|
||||
{ Name = "Bag_4", Type = "BagIndex", EnumValue = 4 },
|
||||
{ Name = "ReagentBag", Type = "BagIndex", EnumValue = 5 },
|
||||
{ Name = "CharacterBankTab_1", Type = "BagIndex", EnumValue = 6 },
|
||||
{ Name = "CharacterBankTab_2", Type = "BagIndex", EnumValue = 7 },
|
||||
{ Name = "CharacterBankTab_3", Type = "BagIndex", EnumValue = 8 },
|
||||
{ Name = "CharacterBankTab_4", Type = "BagIndex", EnumValue = 9 },
|
||||
{ Name = "CharacterBankTab_5", Type = "BagIndex", EnumValue = 10 },
|
||||
{ Name = "CharacterBankTab_6", Type = "BagIndex", EnumValue = 11 },
|
||||
{ Name = "CharacterBankTab_7", Type = "BagIndex", EnumValue = 12 },
|
||||
{ Name = "CharacterBankTab_8", Type = "BagIndex", EnumValue = 13 },
|
||||
{ Name = "CharacterBankTab_9", Type = "BagIndex", EnumValue = 14 },
|
||||
{ Name = "AccountBankTab_1", Type = "BagIndex", EnumValue = 15 },
|
||||
{ Name = "AccountBankTab_2", Type = "BagIndex", EnumValue = 16 },
|
||||
{ Name = "AccountBankTab_3", Type = "BagIndex", EnumValue = 17 },
|
||||
{ Name = "AccountBankTab_4", Type = "BagIndex", EnumValue = 18 },
|
||||
{ Name = "AccountBankTab_5", Type = "BagIndex", EnumValue = 19 },
|
||||
{ Name = "AccountBankTab_6", Type = "BagIndex", EnumValue = 20 },
|
||||
{ Name = "AccountBankTab_7", Type = "BagIndex", EnumValue = 21 },
|
||||
{ Name = "AccountBankTab_8", Type = "BagIndex", EnumValue = 22 },
|
||||
{ Name = "AccountBankTab_9", Type = "BagIndex", EnumValue = 23 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BagIndexConstants);
|
||||
@@ -0,0 +1,472 @@
|
||||
local Bank =
|
||||
{
|
||||
Name = "Bank",
|
||||
Type = "System",
|
||||
Namespace = "C_Bank",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AreAnyBankTypesViewable",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "areAnyBankTypesViewable", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AutoDepositItemsIntoBank",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BankBagTypeAndIDToInvSlot",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "slot", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanDepositMoney",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canDepositMoney", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanPurchaseBankTab",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canPurchaseBankTab", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanUseBank",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canUseBank", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanViewBank",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canViewBank", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanWithdrawMoney",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canWithdrawMoney", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CloseBankFrame",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "DepositMoney",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
{ Name = "amount", Type = "WOWMONEY", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DoesBankTypeSupportAutoDeposit",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "doesBankTypeSupportAutoDeposit", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DoesBankTypeSupportMoneyTransfer",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "doesBankTypeSupportMoneyTransfer", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FetchBankLockedReason",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "reason", Type = "BankLockedReason", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FetchDepositedMoney",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "amount", Type = "WOWMONEY", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FetchMaxNumBankTabs",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numPurchasedBankTabs", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FetchNextPurchasableBankTabData",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "nextPurchasableTabData", Type = "PurchasableBankTabData", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FetchNumPurchasedBankTabs",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numPurchasedBankTabs", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FetchPurchasedBankTabData",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "purchasedBankTabData", Type = "table", InnerType = "BankTabData", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FetchPurchasedBankTabIDs",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "purchasedBankTabIDs", Type = "table", InnerType = "BagIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FetchViewableBankTypes",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "viewableBankTypes", Type = "table", InnerType = "BankType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasMaxBankTabs",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasMaxBankTabs", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsItemAllowedInBankType",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
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",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ShouldUsePlayerBagsInBank",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "shouldUsePlayerBagsInBank", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UpdateBankTabSettings",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
{ Name = "tabID", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "tabName", Type = "cstring", Nilable = false },
|
||||
{ Name = "tabIcon", Type = "cstring", Nilable = false },
|
||||
{ Name = "depositFlags", Type = "BagSlotFlags", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "WithdrawMoney",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
{ Name = "amount", Type = "WOWMONEY", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BankBagSlotFlagsUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "BANK_BAG_SLOT_FLAGS_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BankTabSettingsUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "BANK_TAB_SETTINGS_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BankTabsChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "BANK_TABS_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BankframeClosed",
|
||||
Type = "Event",
|
||||
LiteralName = "BANKFRAME_CLOSED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "BankframeOpened",
|
||||
Type = "Event",
|
||||
LiteralName = "BANKFRAME_OPENED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PlayerAccountBankTabSlotsChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYER_ACCOUNT_BANK_TAB_SLOTS_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayerbankslotsChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYERBANKSLOTS_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "BankLockedReason",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "BankLockedReason", EnumValue = 0 },
|
||||
{ Name = "NoAccountInventoryLock", Type = "BankLockedReason", EnumValue = 1 },
|
||||
{ Name = "BankDisabled", Type = "BankLockedReason", EnumValue = 2 },
|
||||
{ Name = "BankConversionFailed", Type = "BankLockedReason", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BankTabData",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ID", Type = "number", Nilable = false },
|
||||
{ Name = "bankType", Type = "BankType", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "icon", Type = "fileID", Nilable = false },
|
||||
{ Name = "depositFlags", Type = "BagSlotFlags", Nilable = false },
|
||||
{ Name = "tabCleanupConfirmation", Type = "cstring", Nilable = false },
|
||||
{ Name = "tabNameEditBoxHeader", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PurchasableBankTabData",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "tabCost", Type = "BigUInteger", Nilable = false },
|
||||
{ Name = "canAfford", Type = "bool", Nilable = false },
|
||||
{ Name = "purchasePromptTitle", Type = "cstring", Nilable = false },
|
||||
{ Name = "purchasePromptBody", Type = "cstring", Nilable = false },
|
||||
{ Name = "purchasePromptConfirmation", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Bank);
|
||||
@@ -0,0 +1,333 @@
|
||||
local BarberShop =
|
||||
{
|
||||
Name = "BarberShop",
|
||||
Type = "System",
|
||||
Namespace = "C_BarberShop",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ApplyCustomizationChoices",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Cancel",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ClearPreviewChoices",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clearSavedChoices", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAvailableCustomizations",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "categories", Type = "table", InnerType = "CharCustomizationCategory", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentCameraZoom",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "zoomLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentCharacterData",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "characterData", Type = "PlayerInfoCharacterData", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentCost",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "cost", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetViewingChrModel",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "chrModelID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasAlteredForm",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasAlteredForm", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasAnyChanges",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasChanges", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasCustomizationFeature",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "featureMask", Type = "ChrModelFeatureFlags", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasCustomizationFeature", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsViewingAlteredForm",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isViewingAlteredForm", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "MarkCustomizationChoiceAsSeen",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "choiceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "MarkCustomizationOptionAsSeen",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "optionID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PreviewCustomizationChoice",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "optionID", Type = "number", Nilable = false },
|
||||
{ Name = "choiceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RandomizeCustomizationChoices",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ResetCameraRotation",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ResetCustomizationChoices",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "RotateCamera",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "diffDegrees", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SaveSeenChoices",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "SetCameraDistanceOffset",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "offset", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraZoomLevel",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "zoomLevel", Type = "number", Nilable = false },
|
||||
{ Name = "keepCustomZoom", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCustomizationChoice",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "optionID", Type = "number", Nilable = false },
|
||||
{ Name = "choiceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetModelDressState",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "dressedState", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSelectedSex",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "sex", Type = "UnitSex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetViewingAlteredForm",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "isViewingAlteredForm", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetViewingChrModel",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "chrModelID", Type = "number", Nilable = true },
|
||||
{ Name = "spellShapeshiftFormID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetViewingShapeshiftForm",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "shapeshiftFormID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ZoomCamera",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "zoomAmount", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BarberShopAppearanceApplied",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_APPEARANCE_APPLIED",
|
||||
UniqueEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "BarberShopCameraValuesUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_CAMERA_VALUES_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "BarberShopClose",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_CLOSE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "BarberShopCostUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_COST_UPDATE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "BarberShopForceCustomizationsUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_FORCE_CUSTOMIZATIONS_UPDATE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "BarberShopOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_OPEN",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "BarberShopResult",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_RESULT",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BarberShop);
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
local BarberShopInternal =
|
||||
{
|
||||
Name = "BarberShop",
|
||||
Type = "System",
|
||||
Namespace = "C_BarberShopInternal",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "SetQAMode",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "qaModeEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BarberShopInternal);
|
||||
@@ -0,0 +1,19 @@
|
||||
local Base =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ScriptObject",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Base);
|
||||
@@ -0,0 +1,508 @@
|
||||
local BattleNet =
|
||||
{
|
||||
Name = "BattleNet",
|
||||
Type = "System",
|
||||
Namespace = "C_BattleNet",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AreFriendTagsEnabled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "areFriendTagsEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AreHighResTexturesInstalled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "installed", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AreTitleFriendCustomNamesEnabled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "areTitleFriendCustomNamesEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AreTitleFriendsEnabled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "areTitleFriendsEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BNCheckBattleTagInviteToRecentAlly",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "recentAllyGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BNCheckTitleFriendInviteToUnit",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "unit", Type = "UnitToken", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanToggleHighResTexturesWithoutClientReload",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canToggle", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAccountInfoByGUID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "accountInfo", Type = "BNetAccountInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAccountInfoByID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "wowAccountGUID", Type = "WOWGUID", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "accountInfo", Type = "BNetAccountInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCustomTitleFriendName",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "customName", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFriendAccountInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "friendIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "wowAccountGUID", Type = "WOWGUID", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "accountInfo", Type = "BNetAccountInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFriendGameAccountInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "friendIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "accountIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "gameAccountInfo", Type = "BNetGameAccountInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFriendInviteInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "inviteIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "inviteInfo", Type = "BNetFriendInviteInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFriendNumGameAccounts",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "friendIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numGameAccounts", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetGameAccountInfoByGUID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "gameAccountInfo", Type = "BNetGameAccountInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetGameAccountInfoByID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "gameAccountInfo", Type = "BNetGameAccountInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "InstallHighResTextures",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
},
|
||||
{
|
||||
Name = "InviteFriend",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "gameAccountID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsBattleNetFriendsListEnabled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isBattleNetFriendsListEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsBattleNetFriendsListSupported",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isBattleNetFriendsListSupported", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsFriendTagSupportedForCurrentGameType",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "friendTag", Type = "BattleNetFriendTag", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isFriendTagSupportedForCurrentGameType", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SearchFriends",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "searchInfo", Type = "AuroraFriendsSearchInfo", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "friendsData", Type = "table", InnerType = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SendGameData",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "gameAccountID", Type = "number", Nilable = false },
|
||||
{ Name = "prefix", Type = "stringView", Nilable = false },
|
||||
{ Name = "data", Type = "stringView", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "SendAddonMessageResult", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SendTitleFriendInviteByName",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SendVerifiedBattleNetFriendInvite",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "SendWhisper",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
RestrictedForMacroChatMessages = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bnetAccountID", Type = "number", Nilable = false },
|
||||
{ Name = "text", Type = "stringView", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetAFK",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "isAFK", Type = "bool", Nilable = false, Default = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetAppearOffline",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "isAppearOffline", Type = "bool", Nilable = false, Default = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetBlocked",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bnetAccountID", Type = "number", Nilable = false },
|
||||
{ Name = "block", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCustomMessage",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "text", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCustomTitleFriendName",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "customName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetDND",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "isDND", Type = "bool", Nilable = false, Default = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFriendTags",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "friendTags", Type = "table", InnerType = "BattleNetFriendTag", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AuroraFriendsSearchInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "searchText", Type = "string", Nilable = false },
|
||||
{ Name = "isOnline", Type = "bool", Nilable = false },
|
||||
{ Name = "isOffline", Type = "bool", Nilable = false },
|
||||
{ Name = "isDND", Type = "bool", Nilable = false },
|
||||
{ Name = "isAFK", Type = "bool", Nilable = false },
|
||||
{ Name = "isInQueue", Type = "bool", Nilable = false },
|
||||
{ Name = "isAvailableForQueue", Type = "bool", Nilable = false },
|
||||
{ Name = "tags", Type = "table", InnerType = "BattleNetFriendTag", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BNetAccountInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "bnetAccountID", Type = "number", Nilable = false },
|
||||
{ Name = "accountName", Type = "string", Nilable = false },
|
||||
{ Name = "battleTag", Type = "string", Nilable = false },
|
||||
{ Name = "isFriend", Type = "bool", Nilable = false },
|
||||
{ Name = "isBattleTagFriend", Type = "bool", Nilable = false },
|
||||
{ Name = "friendLevel", Type = "BattleNetFriendLevel", Nilable = true },
|
||||
{ Name = "lastOnlineTime", Type = "number", Nilable = false },
|
||||
{ Name = "isAFK", Type = "bool", Nilable = false },
|
||||
{ Name = "isDND", Type = "bool", Nilable = false },
|
||||
{ Name = "isFavorite", Type = "bool", Nilable = false },
|
||||
{ Name = "friendTags", Type = "table", InnerType = "BattleNetFriendTag", Nilable = false },
|
||||
{ Name = "appearOffline", Type = "bool", Nilable = false },
|
||||
{ Name = "customMessage", Type = "string", Nilable = false },
|
||||
{ Name = "customMessageTime", Type = "number", Nilable = false },
|
||||
{ Name = "note", Type = "string", Nilable = false },
|
||||
{ Name = "rafLinkType", Type = "RafLinkType", Nilable = false },
|
||||
{ Name = "gameAccountInfo", Type = "BNetGameAccountInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BNetFriendInviteInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "inviteID", Type = "number", Nilable = false },
|
||||
{ Name = "accountName", Type = "kstringAuroraName", Nilable = false },
|
||||
{ Name = "creationTimestamp", Type = "number", Nilable = false },
|
||||
{ Name = "friendLevel", Type = "BattleNetFriendLevel", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BNetGameAccountInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "gameAccountID", Type = "number", Nilable = false },
|
||||
{ Name = "clientProgram", Type = "string", Nilable = false },
|
||||
{ Name = "isOnline", Type = "bool", Nilable = false },
|
||||
{ Name = "isGameBusy", Type = "bool", Nilable = false },
|
||||
{ Name = "isGameAFK", Type = "bool", Nilable = false },
|
||||
{ Name = "isAppearOffline", Type = "bool", Nilable = false },
|
||||
{ Name = "wowProjectID", Type = "number", Nilable = true },
|
||||
{ Name = "characterName", Type = "string", Nilable = true },
|
||||
{ Name = "realmName", Type = "string", Nilable = true },
|
||||
{ Name = "realmDisplayName", Type = "string", Nilable = true },
|
||||
{ Name = "realmID", Type = "number", Nilable = true },
|
||||
{ Name = "factionName", Type = "string", Nilable = true },
|
||||
{ Name = "raceName", Type = "string", Nilable = true },
|
||||
{ Name = "classID", Type = "number", Nilable = true },
|
||||
{ Name = "className", Type = "string", Nilable = true },
|
||||
{ Name = "classFilename", Type = "cstring", Nilable = true },
|
||||
{ Name = "areaName", Type = "string", Nilable = true },
|
||||
{ Name = "characterLevel", Type = "number", Nilable = true },
|
||||
{ Name = "richPresence", Type = "string", Nilable = true },
|
||||
{ Name = "playerGuid", Type = "WOWGUID", Nilable = true },
|
||||
{ Name = "canSummon", Type = "bool", Nilable = false },
|
||||
{ Name = "hasFocus", Type = "bool", Nilable = false },
|
||||
{ Name = "regionID", Type = "number", Nilable = false },
|
||||
{ Name = "isInCurrentRegion", Type = "bool", Nilable = false },
|
||||
{ Name = "timerunningSeasonID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BattleNet);
|
||||
@@ -0,0 +1,45 @@
|
||||
local BattleNetShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "BattleNetFriendLevel",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 1,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "BattleTag", Type = "BattleNetFriendLevel", EnumValue = 1 },
|
||||
{ Name = "RealID", Type = "BattleNetFriendLevel", EnumValue = 2 },
|
||||
{ Name = "Title", Type = "BattleNetFriendLevel", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattleNetFriendTag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 10,
|
||||
MinValue = 0,
|
||||
MaxValue = 9,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Professions", Type = "BattleNetFriendTag", EnumValue = 0 },
|
||||
{ Name = "PvP", Type = "BattleNetFriendTag", EnumValue = 1 },
|
||||
{ Name = "Raiding", Type = "BattleNetFriendTag", EnumValue = 2 },
|
||||
{ Name = "Dungeons", Type = "BattleNetFriendTag", EnumValue = 3 },
|
||||
{ Name = "Delves", Type = "BattleNetFriendTag", EnumValue = 4 },
|
||||
{ Name = "Questing", Type = "BattleNetFriendTag", EnumValue = 5 },
|
||||
{ Name = "Roleplaying", Type = "BattleNetFriendTag", EnumValue = 6 },
|
||||
{ Name = "DamagerRole", Type = "BattleNetFriendTag", EnumValue = 7 },
|
||||
{ Name = "HealerRole", Type = "BattleNetFriendTag", EnumValue = 8 },
|
||||
{ Name = "TankRole", Type = "BattleNetFriendTag", EnumValue = 9 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BattleNetShared);
|
||||
+78
@@ -0,0 +1,78 @@
|
||||
local BattlePetConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "BattlePetAction",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "BattlePetAction", EnumValue = 0 },
|
||||
{ Name = "Ability", Type = "BattlePetAction", EnumValue = 1 },
|
||||
{ Name = "SwitchPet", Type = "BattlePetAction", EnumValue = 2 },
|
||||
{ Name = "Trap", Type = "BattlePetAction", EnumValue = 3 },
|
||||
{ Name = "Skip", Type = "BattlePetAction", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetBreedQuality",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 0,
|
||||
MaxValue = 5,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Poor", Type = "BattlePetBreedQuality", EnumValue = 0 },
|
||||
{ Name = "Common", Type = "BattlePetBreedQuality", EnumValue = 1 },
|
||||
{ Name = "Uncommon", Type = "BattlePetBreedQuality", EnumValue = 2 },
|
||||
{ Name = "Rare", Type = "BattlePetBreedQuality", EnumValue = 3 },
|
||||
{ Name = "Epic", Type = "BattlePetBreedQuality", EnumValue = 4 },
|
||||
{ Name = "Legendary", Type = "BattlePetBreedQuality", EnumValue = 5 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetOwner",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Weather", Type = "BattlePetOwner", EnumValue = 0 },
|
||||
{ Name = "Ally", Type = "BattlePetOwner", EnumValue = 1 },
|
||||
{ Name = "Enemy", Type = "BattlePetOwner", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetSources",
|
||||
Type = "Enumeration",
|
||||
NumValues = 12,
|
||||
MinValue = 0,
|
||||
MaxValue = 11,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Drop", Type = "BattlePetSources", EnumValue = 0 },
|
||||
{ Name = "Quest", Type = "BattlePetSources", EnumValue = 1 },
|
||||
{ Name = "Vendor", Type = "BattlePetSources", EnumValue = 2 },
|
||||
{ Name = "Profession", Type = "BattlePetSources", EnumValue = 3 },
|
||||
{ Name = "WildPet", Type = "BattlePetSources", EnumValue = 4 },
|
||||
{ Name = "Achievement", Type = "BattlePetSources", EnumValue = 5 },
|
||||
{ Name = "WorldEvent", Type = "BattlePetSources", EnumValue = 6 },
|
||||
{ Name = "Promotion", Type = "BattlePetSources", EnumValue = 7 },
|
||||
{ Name = "Tcg", Type = "BattlePetSources", EnumValue = 8 },
|
||||
{ Name = "PetStore", Type = "BattlePetSources", EnumValue = 9 },
|
||||
{ Name = "Discovery", Type = "BattlePetSources", EnumValue = 10 },
|
||||
{ Name = "TradingPost", Type = "BattlePetSources", EnumValue = 11 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BattlePetConstants);
|
||||
@@ -0,0 +1,264 @@
|
||||
local BattlePet =
|
||||
{
|
||||
Name = "BattlePet",
|
||||
Type = "System",
|
||||
Namespace = "C_BattlePet",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "PetBattleAbilityChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_ABILITY_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
{ Name = "petIndex", Type = "number", Nilable = false },
|
||||
{ Name = "abilityID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleActionSelected",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_ACTION_SELECTED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PetBattleAuraApplied",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_AURA_APPLIED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
{ Name = "petIndex", Type = "number", Nilable = false },
|
||||
{ Name = "auraInstanceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleAuraCanceled",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_AURA_CANCELED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
{ Name = "petIndex", Type = "number", Nilable = false },
|
||||
{ Name = "auraInstanceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleAuraChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_AURA_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
{ Name = "petIndex", Type = "number", Nilable = false },
|
||||
{ Name = "auraInstanceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleCaptured",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_CAPTURED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
{ Name = "petIndex", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleClose",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_CLOSE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PetBattleFinalRound",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_FINAL_ROUND",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleHealthChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_HEALTH_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
{ Name = "petIndex", Type = "number", Nilable = false },
|
||||
{ Name = "healthChange", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleLevelChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_LEVEL_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
{ Name = "petIndex", Type = "number", Nilable = false },
|
||||
{ Name = "newLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleMaxHealthChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_MAX_HEALTH_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
{ Name = "petIndex", Type = "number", Nilable = false },
|
||||
{ Name = "healthChange", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleOpeningDone",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_OPENING_DONE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PetBattleOpeningStart",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_OPENING_START",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PetBattleOver",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_OVER",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PetBattleOverrideAbility",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_OVERRIDE_ABILITY",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "abilityIndex", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattlePetChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_PET_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattlePetRoundPlaybackComplete",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_PET_ROUND_PLAYBACK_COMPLETE",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "roundNumber", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattlePetRoundResults",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_PET_ROUND_RESULTS",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "roundNumber", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattlePetTypeChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_PET_TYPE_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
{ Name = "petIndex", Type = "number", Nilable = false },
|
||||
{ Name = "stateValue", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattlePvpDuelRequestCancel",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_PVP_DUEL_REQUEST_CANCEL",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PetBattlePvpDuelRequested",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_PVP_DUEL_REQUESTED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "fullName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleQueueProposalAccepted",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_QUEUE_PROPOSAL_ACCEPTED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PetBattleQueueProposalDeclined",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_QUEUE_PROPOSAL_DECLINED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PetBattleQueueProposeMatch",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_QUEUE_PROPOSE_MATCH",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PetBattleQueueStatus",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_QUEUE_STATUS",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PetBattleXpChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_XP_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
{ Name = "petIndex", Type = "number", Nilable = false },
|
||||
{ Name = "xpChange", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BattlePet);
|
||||
+336
@@ -0,0 +1,336 @@
|
||||
local BattlepayConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "BulkPurchaseResult",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 0,
|
||||
MaxValue = 7,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ResultOk", Type = "BulkPurchaseResult", EnumValue = 0 },
|
||||
{ Name = "ResultInProgress", Type = "BulkPurchaseResult", EnumValue = 1 },
|
||||
{ Name = "ResultPartialSuccess", Type = "BulkPurchaseResult", EnumValue = 2 },
|
||||
{ Name = "ResultFailed", Type = "BulkPurchaseResult", EnumValue = 3 },
|
||||
{ Name = "ResultTooManyProducts", Type = "BulkPurchaseResult", EnumValue = 4 },
|
||||
{ Name = "ResultSystemDisabled", Type = "BulkPurchaseResult", EnumValue = 5 },
|
||||
{ Name = "ResultInsufficientFunds", Type = "BulkPurchaseResult", EnumValue = 6 },
|
||||
{ Name = "ResultPurchaseTimeout", Type = "BulkPurchaseResult", EnumValue = 7 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BulkPurchaseStatus",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "PlacingOrders", Type = "BulkPurchaseStatus", EnumValue = 0 },
|
||||
{ Name = "PurchasesPending", Type = "BulkPurchaseStatus", EnumValue = 1 },
|
||||
{ Name = "FetchEntitlements", Type = "BulkPurchaseStatus", EnumValue = 2 },
|
||||
{ Name = "Done", Type = "BulkPurchaseStatus", EnumValue = 3 },
|
||||
{ Name = "Failed", Type = "BulkPurchaseStatus", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BulkRefundResult",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 0,
|
||||
MaxValue = 5,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ResultOk", Type = "BulkRefundResult", EnumValue = 0 },
|
||||
{ Name = "ResultFailed", Type = "BulkRefundResult", EnumValue = 1 },
|
||||
{ Name = "ResultInvalidRequest", Type = "BulkRefundResult", EnumValue = 2 },
|
||||
{ Name = "ResultRefundWindowExpired", Type = "BulkRefundResult", EnumValue = 3 },
|
||||
{ Name = "ResultSystemDisabled", Type = "BulkRefundResult", EnumValue = 4 },
|
||||
{ Name = "ResultTimeout", Type = "BulkRefundResult", EnumValue = 5 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanRedeemTokenForBalanceResult",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Ok", Type = "CanRedeemTokenForBalanceResult", EnumValue = 0 },
|
||||
{ Name = "FailureCap", Type = "CanRedeemTokenForBalanceResult", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "LoginTicketLicenses",
|
||||
Type = "Enumeration",
|
||||
NumValues = 1,
|
||||
MinValue = 11486,
|
||||
MaxValue = 11486,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "GmLicense", Type = "LoginTicketLicenses", EnumValue = 11486 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PurchaseResult",
|
||||
Type = "Enumeration",
|
||||
NumValues = 72,
|
||||
MinValue = 0,
|
||||
MaxValue = 71,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Ok", Type = "PurchaseResult", EnumValue = 0 },
|
||||
{ Name = "ErrorRiskDenied", Type = "PurchaseResult", EnumValue = 1 },
|
||||
{ Name = "ErrorOrderFailed", Type = "PurchaseResult", EnumValue = 2 },
|
||||
{ Name = "ErrorClientTimeout", Type = "PurchaseResult", EnumValue = 3 },
|
||||
{ Name = "ErrorClientDeclined", Type = "PurchaseResult", EnumValue = 4 },
|
||||
{ Name = "ErrorFailedToCreatePurchaseRecord", Type = "PurchaseResult", EnumValue = 5 },
|
||||
{ Name = "ErrorFailedToGetPurchaseID", Type = "PurchaseResult", EnumValue = 6 },
|
||||
{ Name = "ErrorFailedToSaveMopAndRiskStatus", Type = "PurchaseResult", EnumValue = 7 },
|
||||
{ Name = "ErrorFailedToSaveMopAndRiskResponse", Type = "PurchaseResult", EnumValue = 8 },
|
||||
{ Name = "ErrorClientGone", Type = "PurchaseResult", EnumValue = 9 },
|
||||
{ Name = "ErrorFailedToSavePlaceOrderStatus", Type = "PurchaseResult", EnumValue = 10 },
|
||||
{ Name = "ErrorBattlepayTimeoutMopAndRisk", Type = "PurchaseResult", EnumValue = 11 },
|
||||
{ Name = "ErrorCurrencyInvalidInRegion", Type = "PurchaseResult", EnumValue = 12 },
|
||||
{ Name = "ErrorBattlepayTemporarilyUnavailable", Type = "PurchaseResult", EnumValue = 13 },
|
||||
{ Name = "ErrorBattlepayDisabled", Type = "PurchaseResult", EnumValue = 14 },
|
||||
{ Name = "ErrorServerRestarted", Type = "PurchaseResult", EnumValue = 15 },
|
||||
{ Name = "ErrorInvalidProduct", Type = "PurchaseResult", EnumValue = 16 },
|
||||
{ Name = "ErrorInvalidRegionGroupMask", Type = "PurchaseResult", EnumValue = 17 },
|
||||
{ Name = "ErrorProductInvalidInRegion", Type = "PurchaseResult", EnumValue = 18 },
|
||||
{ Name = "ErrorDistributionObjectNotFound", Type = "PurchaseResult", EnumValue = 19 },
|
||||
{ Name = "ErrorDistributionObjectAlreadyAssigned", Type = "PurchaseResult", EnumValue = 20 },
|
||||
{ Name = "ErrorRiskResponseMissingScore", Type = "PurchaseResult", EnumValue = 21 },
|
||||
{ Name = "ErrorMopAndRiskAmqpRpcFailed", Type = "PurchaseResult", EnumValue = 22 },
|
||||
{ Name = "ErrorMopAndRiskRpcErrorFromBattlepay", Type = "PurchaseResult", EnumValue = 23 },
|
||||
{ Name = "ErrorMopAndRiskUnexpectedResponseFromBattlepay", Type = "PurchaseResult", EnumValue = 24 },
|
||||
{ Name = "ErrorMopAndRiskNoValidPaymentMethods", Type = "PurchaseResult", EnumValue = 25 },
|
||||
{ Name = "ErrorOrderCanceledPriceChange", Type = "PurchaseResult", EnumValue = 26 },
|
||||
{ Name = "ErrorBuyingProductNotAllowedInGlueScreen", Type = "PurchaseResult", EnumValue = 27 },
|
||||
{ Name = "ErrorMopAndRiskNotEnoughBalance", Type = "PurchaseResult", EnumValue = 28 },
|
||||
{ Name = "ErrorPlaceOrderNotEnoughBalance", Type = "PurchaseResult", EnumValue = 29 },
|
||||
{ Name = "ErrorProgrammerManualFail", Type = "PurchaseResult", EnumValue = 30 },
|
||||
{ Name = "ErrorThrottledByUserServer", Type = "PurchaseResult", EnumValue = 31 },
|
||||
{ Name = "ErrorBuyingProductNotAllowedInWorld", Type = "PurchaseResult", EnumValue = 32 },
|
||||
{ Name = "ErrorBlockedByParentalControls", Type = "PurchaseResult", EnumValue = 33 },
|
||||
{ Name = "ErrorNoStorePurchaseFlagIsSet", Type = "PurchaseResult", EnumValue = 34 },
|
||||
{ Name = "ErrorDistributionObjectInvalidChoice", Type = "PurchaseResult", EnumValue = 35 },
|
||||
{ Name = "ErrorInvalidCreditCardExpiryDate", Type = "PurchaseResult", EnumValue = 36 },
|
||||
{ Name = "ErrorAuthorizingPayment", Type = "PurchaseResult", EnumValue = 37 },
|
||||
{ Name = "ErrorPaymentProviderDeniedPayment", Type = "PurchaseResult", EnumValue = 38 },
|
||||
{ Name = "ErrorOverSpendingLimit", Type = "PurchaseResult", EnumValue = 39 },
|
||||
{ Name = "ErrorClientTimeoutChallenge", Type = "PurchaseResult", EnumValue = 40 },
|
||||
{ Name = "ErrorClientDeclinedChallenge", Type = "PurchaseResult", EnumValue = 41 },
|
||||
{ Name = "ErrorDistributionObjectInvalidTarget", Type = "PurchaseResult", EnumValue = 42 },
|
||||
{ Name = "ErrorFixedLicenseProductAlreadyExists", Type = "PurchaseResult", EnumValue = 43 },
|
||||
{ Name = "ErrorDistributionObjectTrialBlocked", Type = "PurchaseResult", EnumValue = 44 },
|
||||
{ Name = "ErrorDistributionObjectExpansionBlocked", Type = "PurchaseResult", EnumValue = 45 },
|
||||
{ Name = "ErrorOwnsConsumableToken", Type = "PurchaseResult", EnumValue = 46 },
|
||||
{ Name = "ErrorTooManyTokens", Type = "PurchaseResult", EnumValue = 47 },
|
||||
{ Name = "ErrorCommerceServerDisabled", Type = "PurchaseResult", EnumValue = 48 },
|
||||
{ Name = "ErrorFailedToWriteVasPurchaseID", Type = "PurchaseResult", EnumValue = 49 },
|
||||
{ Name = "ErrorFailedToWriteVasLicenseID", Type = "PurchaseResult", EnumValue = 50 },
|
||||
{ Name = "ErrorCharacterUpgradeOperationInProgress", Type = "PurchaseResult", EnumValue = 51 },
|
||||
{ Name = "ErrorInvalidPlatform", Type = "PurchaseResult", EnumValue = 52 },
|
||||
{ Name = "ErrorInvalidDeviceID", Type = "PurchaseResult", EnumValue = 53 },
|
||||
{ Name = "ErrorFailedToSaveValidatePurchaseStatus", Type = "PurchaseResult", EnumValue = 54 },
|
||||
{ Name = "ErrorFailedToSaveValidatePurchaseResponse", Type = "PurchaseResult", EnumValue = 55 },
|
||||
{ Name = "ErrorBattlepayTimeoutValidatePurchase", Type = "PurchaseResult", EnumValue = 56 },
|
||||
{ Name = "ErrorProductNotPurchasable", Type = "PurchaseResult", EnumValue = 57 },
|
||||
{ Name = "ErrorFailedToSaveClientCheckoutStatus", Type = "PurchaseResult", EnumValue = 58 },
|
||||
{ Name = "ErrorFailedOldPurchaseFlow", Type = "PurchaseResult", EnumValue = 59 },
|
||||
{ Name = "ErrorClientCheckoutTimeout", Type = "PurchaseResult", EnumValue = 60 },
|
||||
{ Name = "ErrorFailedToSaveValidationHashStatus", Type = "PurchaseResult", EnumValue = 61 },
|
||||
{ Name = "ErrorBattlepayTimeoutValidationHash", Type = "PurchaseResult", EnumValue = 62 },
|
||||
{ Name = "ErrorClientCheckoutCanceledOrFailed", Type = "PurchaseResult", EnumValue = 63 },
|
||||
{ Name = "ErrorCouldNotGetValidationHash", Type = "PurchaseResult", EnumValue = 64 },
|
||||
{ Name = "ErrorDistributionObjectWrongGameAccount", Type = "PurchaseResult", EnumValue = 65 },
|
||||
{ Name = "ErrorClientRestricted", Type = "PurchaseResult", EnumValue = 66 },
|
||||
{ Name = "ErrorFailedToSaveRedeemTokenStatus", Type = "PurchaseResult", EnumValue = 67 },
|
||||
{ Name = "ErrorInvalidPurchaseID", Type = "PurchaseResult", EnumValue = 68 },
|
||||
{ Name = "ErrorTokenRedemptionOrderFailed", Type = "PurchaseResult", EnumValue = 69 },
|
||||
{ Name = "ErrorVasTransactionCreateFailed", Type = "PurchaseResult", EnumValue = 70 },
|
||||
{ Name = "ErrorInManualReview", Type = "PurchaseResult", EnumValue = 71 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SimpleOrderStatus",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Invalid", Type = "SimpleOrderStatus", EnumValue = 0 },
|
||||
{ Name = "Creating", Type = "SimpleOrderStatus", EnumValue = 1 },
|
||||
{ Name = "InProgress", Type = "SimpleOrderStatus", EnumValue = 2 },
|
||||
{ Name = "Success", Type = "SimpleOrderStatus", EnumValue = 3 },
|
||||
{ Name = "Failed", Type = "SimpleOrderStatus", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "VasTransactionPurchaseResult",
|
||||
Type = "Enumeration",
|
||||
NumValues = 145,
|
||||
MinValue = 0,
|
||||
MaxValue = 20097,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "VasTransactionPurchaseResult", EnumValue = 0 },
|
||||
{ Name = "VasPurchaseDisabled", Type = "VasTransactionPurchaseResult", EnumValue = 1 },
|
||||
{ Name = "NoneCharacter", Type = "VasTransactionPurchaseResult", EnumValue = 2 },
|
||||
{ Name = "NoneProduct", Type = "VasTransactionPurchaseResult", EnumValue = 3 },
|
||||
{ Name = "OnlyOneVasAtATime", Type = "VasTransactionPurchaseResult", EnumValue = 4 },
|
||||
{ Name = "InvalidDestinationRealm", Type = "VasTransactionPurchaseResult", EnumValue = 5 },
|
||||
{ Name = "InvalidDestinationAccount", Type = "VasTransactionPurchaseResult", EnumValue = 6 },
|
||||
{ Name = "InvalidSourceAccount", Type = "VasTransactionPurchaseResult", EnumValue = 7 },
|
||||
{ Name = "DisallowedSourceAccount", Type = "VasTransactionPurchaseResult", EnumValue = 8 },
|
||||
{ Name = "DisallowedDestinationAccount", Type = "VasTransactionPurchaseResult", EnumValue = 9 },
|
||||
{ Name = "UnknownError", Type = "VasTransactionPurchaseResult", EnumValue = 10 },
|
||||
{ Name = "LowerBoxLevel", Type = "VasTransactionPurchaseResult", EnumValue = 11 },
|
||||
{ Name = "InvalidDistribution", Type = "VasTransactionPurchaseResult", EnumValue = 12 },
|
||||
{ Name = "InvalidBpayProductID", Type = "VasTransactionPurchaseResult", EnumValue = 13 },
|
||||
{ Name = "InvalidBpayDeliverableID", Type = "VasTransactionPurchaseResult", EnumValue = 14 },
|
||||
{ Name = "InvalidBpayProductType", Type = "VasTransactionPurchaseResult", EnumValue = 15 },
|
||||
{ Name = "EndServerErrors", Type = "VasTransactionPurchaseResult", EnumValue = 16 },
|
||||
{ Name = "BeginProxyErrors", Type = "VasTransactionPurchaseResult", EnumValue = 17 },
|
||||
{ Name = "ProxyBadObjType", Type = "VasTransactionPurchaseResult", EnumValue = 18 },
|
||||
{ Name = "ProxyObjNotInDb", Type = "VasTransactionPurchaseResult", EnumValue = 19 },
|
||||
{ Name = "ProxyUniqueKey", Type = "VasTransactionPurchaseResult", EnumValue = 20 },
|
||||
{ Name = "ProxyDbError", Type = "VasTransactionPurchaseResult", EnumValue = 21 },
|
||||
{ Name = "ProxyDataInvalid", Type = "VasTransactionPurchaseResult", EnumValue = 22 },
|
||||
{ Name = "ProxyLostProxyConnection", Type = "VasTransactionPurchaseResult", EnumValue = 23 },
|
||||
{ Name = "ProxyLocksFailed", Type = "VasTransactionPurchaseResult", EnumValue = 24 },
|
||||
{ Name = "ProxyMissingResultsPtr", Type = "VasTransactionPurchaseResult", EnumValue = 25 },
|
||||
{ Name = "ProxyLockedForTransfer", Type = "VasTransactionPurchaseResult", EnumValue = 26 },
|
||||
{ Name = "ProxyNoReturnValue", Type = "VasTransactionPurchaseResult", EnumValue = 27 },
|
||||
{ Name = "ProxyDeleteNotSupported", Type = "VasTransactionPurchaseResult", EnumValue = 28 },
|
||||
{ Name = "ProxyObjDropped", Type = "VasTransactionPurchaseResult", EnumValue = 29 },
|
||||
{ Name = "ProxyCannotDeleteGuildLeader", Type = "VasTransactionPurchaseResult", EnumValue = 30 },
|
||||
{ Name = "ProxyCannotDeleteArenaCaptain", Type = "VasTransactionPurchaseResult", EnumValue = 31 },
|
||||
{ Name = "ProxyMoneyLimitExceeded", Type = "VasTransactionPurchaseResult", EnumValue = 32 },
|
||||
{ Name = "ProxyBadRequestContained", Type = "VasTransactionPurchaseResult", EnumValue = 33 },
|
||||
{ Name = "ProxyIsReadonly", Type = "VasTransactionPurchaseResult", EnumValue = 34 },
|
||||
{ Name = "ProxyBadDbType", Type = "VasTransactionPurchaseResult", EnumValue = 35 },
|
||||
{ Name = "ProxyOperationAlreadyInProgress", Type = "VasTransactionPurchaseResult", EnumValue = 36 },
|
||||
{ Name = "ProxyExternalUpdateDetected", Type = "VasTransactionPurchaseResult", EnumValue = 37 },
|
||||
{ Name = "ProxyCharacterLevelTooHigh", Type = "VasTransactionPurchaseResult", EnumValue = 38 },
|
||||
{ Name = "ProxyCharacterTransferred", Type = "VasTransactionPurchaseResult", EnumValue = 39 },
|
||||
{ Name = "ProxyCharacterTransferredNoBoostInProgress", Type = "VasTransactionPurchaseResult", EnumValue = 40 },
|
||||
{ Name = "ProxyLockedForUpgrade", Type = "VasTransactionPurchaseResult", EnumValue = 41 },
|
||||
{ Name = "ProxyLockedForToken", Type = "VasTransactionPurchaseResult", EnumValue = 42 },
|
||||
{ Name = "ProxyLockedForVas", Type = "VasTransactionPurchaseResult", EnumValue = 43 },
|
||||
{ Name = "ProxyGenericError", Type = "VasTransactionPurchaseResult", EnumValue = 44 },
|
||||
{ Name = "ProxyCannotInsertNull", Type = "VasTransactionPurchaseResult", EnumValue = 45 },
|
||||
{ Name = "ProxyCannotUndeleteTrialBoostCharacter", Type = "VasTransactionPurchaseResult", EnumValue = 46 },
|
||||
{ Name = "ProxyPredicateFailed", Type = "VasTransactionPurchaseResult", EnumValue = 47 },
|
||||
{ Name = "ProxyWeeklyRewardNotFound", Type = "VasTransactionPurchaseResult", EnumValue = 48 },
|
||||
{ Name = "ProxyInsertRequestContainedNoData", Type = "VasTransactionPurchaseResult", EnumValue = 49 },
|
||||
{ Name = "ProxyInvalidKey", Type = "VasTransactionPurchaseResult", EnumValue = 50 },
|
||||
{ Name = "ProxyBindFailed", Type = "VasTransactionPurchaseResult", EnumValue = 51 },
|
||||
{ Name = "ProxyTooManyRows", Type = "VasTransactionPurchaseResult", EnumValue = 52 },
|
||||
{ Name = "ProxyCharacterHasWoWToken", Type = "VasTransactionPurchaseResult", EnumValue = 53 },
|
||||
{ Name = "ProxyTooBusyBackOff", Type = "VasTransactionPurchaseResult", EnumValue = 54 },
|
||||
{ Name = "ProxyAccountDataTooBig", Type = "VasTransactionPurchaseResult", EnumValue = 55 },
|
||||
{ Name = "EndProxyErrors", Type = "VasTransactionPurchaseResult", EnumValue = 56 },
|
||||
{ Name = "BeginDbErrors", Type = "VasTransactionPurchaseResult", EnumValue = 20010 },
|
||||
{ Name = "DbRealmNotEligible", Type = "VasTransactionPurchaseResult", EnumValue = 20011 },
|
||||
{ Name = "DbCannotMoveGuildmaster", Type = "VasTransactionPurchaseResult", EnumValue = 20012 },
|
||||
{ Name = "DbMaxCharactersOnServer", Type = "VasTransactionPurchaseResult", EnumValue = 20013 },
|
||||
{ Name = "DbNoMixedAlliance", Type = "VasTransactionPurchaseResult", EnumValue = 20014 },
|
||||
{ Name = "DbDuplicateCharacterName", Type = "VasTransactionPurchaseResult", EnumValue = 20015 },
|
||||
{ Name = "DbHasMail", Type = "VasTransactionPurchaseResult", EnumValue = 20016 },
|
||||
{ Name = "DbAccountDoesNotOwnCharacter", Type = "VasTransactionPurchaseResult", EnumValue = 20017 },
|
||||
{ Name = "DbMoveInProgress", Type = "VasTransactionPurchaseResult", EnumValue = 20018 },
|
||||
{ Name = "DbCharacterDoesNotExist", Type = "VasTransactionPurchaseResult", EnumValue = 20019 },
|
||||
{ Name = "DbNoCopiesAvailable", Type = "VasTransactionPurchaseResult", EnumValue = 20020 },
|
||||
{ Name = "DbUnderMinLevelReq", Type = "VasTransactionPurchaseResult", EnumValue = 20021 },
|
||||
{ Name = "DbIneligibleTargetRealm", Type = "VasTransactionPurchaseResult", EnumValue = 20022 },
|
||||
{ Name = "DbTransferDateTooSoon", Type = "VasTransactionPurchaseResult", EnumValue = 20023 },
|
||||
{ Name = "DbNewNameTooLong", Type = "VasTransactionPurchaseResult", EnumValue = 20024 },
|
||||
{ Name = "DbCharNotLocked", Type = "VasTransactionPurchaseResult", EnumValue = 20025 },
|
||||
{ Name = "DbCharLocked", Type = "VasTransactionPurchaseResult", EnumValue = 20026 },
|
||||
{ Name = "DbAllianceNotEligible", Type = "VasTransactionPurchaseResult", EnumValue = 20027 },
|
||||
{ Name = "DbBatchProcessingDisabled", Type = "VasTransactionPurchaseResult", EnumValue = 20028 },
|
||||
{ Name = "DbNoneBatchQueueID", Type = "VasTransactionPurchaseResult", EnumValue = 20029 },
|
||||
{ Name = "DbTransferNotFinalized", Type = "VasTransactionPurchaseResult", EnumValue = 20030 },
|
||||
{ Name = "DbTransferNotCancellable", Type = "VasTransactionPurchaseResult", EnumValue = 20031 },
|
||||
{ Name = "DbTooMuchMoneyForLevel", Type = "VasTransactionPurchaseResult", EnumValue = 20032 },
|
||||
{ Name = "DbHasAuctions", Type = "VasTransactionPurchaseResult", EnumValue = 20033 },
|
||||
{ Name = "DbLastSaveTooRecent", Type = "VasTransactionPurchaseResult", EnumValue = 20034 },
|
||||
{ Name = "DbTransferNotLockable", Type = "VasTransactionPurchaseResult", EnumValue = 20035 },
|
||||
{ Name = "DbTransferNotUnlockable", Type = "VasTransactionPurchaseResult", EnumValue = 20036 },
|
||||
{ Name = "DbNoneRealmForEvent", Type = "VasTransactionPurchaseResult", EnumValue = 20037 },
|
||||
{ Name = "DbEventRealmClosed", Type = "VasTransactionPurchaseResult", EnumValue = 20038 },
|
||||
{ Name = "DbNoneTemplateForEvent", Type = "VasTransactionPurchaseResult", EnumValue = 20039 },
|
||||
{ Name = "DbInventoryCorrupt", Type = "VasTransactionPurchaseResult", EnumValue = 20040 },
|
||||
{ Name = "DbCouldNotObtainCharLock", Type = "VasTransactionPurchaseResult", EnumValue = 20041 },
|
||||
{ Name = "DbNoneLockID", Type = "VasTransactionPurchaseResult", EnumValue = 20042 },
|
||||
{ Name = "DbLockNotAcknowledged", Type = "VasTransactionPurchaseResult", EnumValue = 20043 },
|
||||
{ Name = "DbLockAlreadyRequested", Type = "VasTransactionPurchaseResult", EnumValue = 20044 },
|
||||
{ Name = "DbNoneSupportQueueID", Type = "VasTransactionPurchaseResult", EnumValue = 20045 },
|
||||
{ Name = "DbNoneSupportActionID", Type = "VasTransactionPurchaseResult", EnumValue = 20046 },
|
||||
{ Name = "DbNotRollbackable", Type = "VasTransactionPurchaseResult", EnumValue = 20047 },
|
||||
{ Name = "DbNotMovebackable", Type = "VasTransactionPurchaseResult", EnumValue = 20048 },
|
||||
{ Name = "DbRenameAlreadyRequested", Type = "VasTransactionPurchaseResult", EnumValue = 20049 },
|
||||
{ Name = "DbReservationExpired", Type = "VasTransactionPurchaseResult", EnumValue = 20050 },
|
||||
{ Name = "DbNameNotAvailable", Type = "VasTransactionPurchaseResult", EnumValue = 20051 },
|
||||
{ Name = "DbLastRenameTooRecent", Type = "VasTransactionPurchaseResult", EnumValue = 20052 },
|
||||
{ Name = "DbReservationDoesNotMatch", Type = "VasTransactionPurchaseResult", EnumValue = 20053 },
|
||||
{ Name = "DbLastRequestTooSoon", Type = "VasTransactionPurchaseResult", EnumValue = 20054 },
|
||||
{ Name = "DbAlreadyRenameFlagged", Type = "VasTransactionPurchaseResult", EnumValue = 20055 },
|
||||
{ Name = "DbMultipleTransferCn", Type = "VasTransactionPurchaseResult", EnumValue = 20056 },
|
||||
{ Name = "DbCustomizeAlreadyRequested", Type = "VasTransactionPurchaseResult", EnumValue = 20057 },
|
||||
{ Name = "DbLastCustomizeTooSoon", Type = "VasTransactionPurchaseResult", EnumValue = 20058 },
|
||||
{ Name = "DbWaitingForPayment", Type = "VasTransactionPurchaseResult", EnumValue = 20059 },
|
||||
{ Name = "DbUnableToCustomize", Type = "VasTransactionPurchaseResult", EnumValue = 20060 },
|
||||
{ Name = "DbFactionChangeTooSoon", Type = "VasTransactionPurchaseResult", EnumValue = 20061 },
|
||||
{ Name = "DbRaceClassComboIneligible", Type = "VasTransactionPurchaseResult", EnumValue = 20062 },
|
||||
{ Name = "DbDuplicateSupportRequest", Type = "VasTransactionPurchaseResult", EnumValue = 20063 },
|
||||
{ Name = "DbCannotMoveArenaCaptn", Type = "VasTransactionPurchaseResult", EnumValue = 20064 },
|
||||
{ Name = "DbNoCsiFound", Type = "VasTransactionPurchaseResult", EnumValue = 20065 },
|
||||
{ Name = "DbPendingItemAudit", Type = "VasTransactionPurchaseResult", EnumValue = 20066 },
|
||||
{ Name = "DbBatchStateInvalid", Type = "VasTransactionPurchaseResult", EnumValue = 20067 },
|
||||
{ Name = "DbEventNotActive", Type = "VasTransactionPurchaseResult", EnumValue = 20068 },
|
||||
{ Name = "DbGuildRankInsufficient", Type = "VasTransactionPurchaseResult", EnumValue = 20069 },
|
||||
{ Name = "DbCharacterWithoutGuild", Type = "VasTransactionPurchaseResult", EnumValue = 20070 },
|
||||
{ Name = "DbDeletedGuild", Type = "VasTransactionPurchaseResult", EnumValue = 20071 },
|
||||
{ Name = "DbGmSenorityInsufficient", Type = "VasTransactionPurchaseResult", EnumValue = 20072 },
|
||||
{ Name = "DbAuthenticatorInsufficient", Type = "VasTransactionPurchaseResult", EnumValue = 20073 },
|
||||
{ Name = "DbGuildLevelInsufficient", Type = "VasTransactionPurchaseResult", EnumValue = 20074 },
|
||||
{ Name = "DbRegionalDbNotFound", Type = "VasTransactionPurchaseResult", EnumValue = 20075 },
|
||||
{ Name = "DbIneligibleMapID", Type = "VasTransactionPurchaseResult", EnumValue = 20076 },
|
||||
{ Name = "DbBnetAccountNotProvided", Type = "VasTransactionPurchaseResult", EnumValue = 20077 },
|
||||
{ Name = "DbBpayDeliveryPending", Type = "VasTransactionPurchaseResult", EnumValue = 20078 },
|
||||
{ Name = "DbHasBpayToken", Type = "VasTransactionPurchaseResult", EnumValue = 20079 },
|
||||
{ Name = "DbHasHeirloomItem", Type = "VasTransactionPurchaseResult", EnumValue = 20080 },
|
||||
{ Name = "DbResultSourceAccountBanned", Type = "VasTransactionPurchaseResult", EnumValue = 20081 },
|
||||
{ Name = "DbResultAccountRestricted", Type = "VasTransactionPurchaseResult", EnumValue = 20082 },
|
||||
{ Name = "DbLastSaveTooDistant", Type = "VasTransactionPurchaseResult", EnumValue = 20083 },
|
||||
{ Name = "DbCagedPetInInventory", Type = "VasTransactionPurchaseResult", EnumValue = 20084 },
|
||||
{ Name = "DbOnBoostCooldown", Type = "VasTransactionPurchaseResult", EnumValue = 20085 },
|
||||
{ Name = "DbNewLeaderInvalid", Type = "VasTransactionPurchaseResult", EnumValue = 20086 },
|
||||
{ Name = "DbPvEPvPTransferNotAllowed", Type = "VasTransactionPurchaseResult", EnumValue = 20087 },
|
||||
{ Name = "DbNeedsLevelSquish", Type = "VasTransactionPurchaseResult", EnumValue = 20088 },
|
||||
{ Name = "DbHasUnclaimedCacheRewards", Type = "VasTransactionPurchaseResult", EnumValue = 20089 },
|
||||
{ Name = "DbNeedsEraChoice", Type = "VasTransactionPurchaseResult", EnumValue = 20090 },
|
||||
{ Name = "DbHasNewPlayerExperienceRestriction", Type = "VasTransactionPurchaseResult", EnumValue = 20091 },
|
||||
{ Name = "DbHasCraftingOrders", Type = "VasTransactionPurchaseResult", EnumValue = 20092 },
|
||||
{ Name = "DbNameChangeSkipped", Type = "VasTransactionPurchaseResult", EnumValue = 20093 },
|
||||
{ Name = "DbInvalidName", Type = "VasTransactionPurchaseResult", EnumValue = 20094 },
|
||||
{ Name = "DbBoostProcessingDisabled", Type = "VasTransactionPurchaseResult", EnumValue = 20095 },
|
||||
{ Name = "DbHouseOwnerRestriction", Type = "VasTransactionPurchaseResult", EnumValue = 20096 },
|
||||
{ Name = "EndDbErrors", Type = "VasTransactionPurchaseResult", EnumValue = 20097 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BattlepayConstants);
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
local BehavioralMessaging =
|
||||
{
|
||||
Name = "BehavioralMessaging",
|
||||
Type = "System",
|
||||
Namespace = "C_BehavioralMessaging",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "SendNotificationReceipt",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "dbId", Type = "NotificationDbId", Nilable = false },
|
||||
{ Name = "openTimeSeconds", Type = "number", Nilable = false },
|
||||
{ Name = "readTimeSeconds", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BehavioralNotification",
|
||||
Type = "Event",
|
||||
LiteralName = "BEHAVIORAL_NOTIFICATION",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "notificationType", Type = "string", Nilable = false },
|
||||
{ Name = "dbId", Type = "NotificationDbId", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BehavioralMessaging);
|
||||
@@ -0,0 +1,82 @@
|
||||
local BlackMarketInfo =
|
||||
{
|
||||
Name = "BlackMarketInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_BlackMarketInfo",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BlackMarketBidResult",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_BID_RESULT",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "marketID", Type = "number", Nilable = false },
|
||||
{ Name = "resultCode", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BlackMarketClose",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_CLOSE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "BlackMarketItemUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_ITEM_UPDATE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "BlackMarketOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_OPEN",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "BlackMarketOutbid",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_OUTBID",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "marketID", Type = "number", Nilable = false },
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BlackMarketUnavailable",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_UNAVAILABLE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "BlackMarketWon",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_WON",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "marketID", Type = "number", Nilable = false },
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BlackMarketInfo);
|
||||
@@ -0,0 +1,96 @@
|
||||
local BlizzCon2026 =
|
||||
{
|
||||
Name = "BlizzCon2026Scripts",
|
||||
Type = "System",
|
||||
Namespace = "C_BlizzCon2026",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetExperience",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "experience", Type = "Bc26Experience", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsActive",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isActive", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsColdSwapFeatureEnabled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetExperience",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "experience", Type = "Bc26Experience", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "Bc26ColdSwapFeatureEnabledChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "BC_26_COLD_SWAP_FEATURE_ENABLED_CHANGED",
|
||||
UniqueEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "newEnabled", Type = "bool", Nilable = false },
|
||||
{ Name = "oldEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Bc26ExperienceChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "BC_26_EXPERIENCE_CHANGED",
|
||||
UniqueEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "newExperience", Type = "Bc26Experience", Nilable = false },
|
||||
{ Name = "oldExperience", Type = "Bc26Experience", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "Bc26Experience",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Skyborne", Type = "Bc26Experience", EnumValue = 0 },
|
||||
{ Name = "Dungeon", Type = "Bc26Experience", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BlizzCon2026);
|
||||
+647
@@ -0,0 +1,647 @@
|
||||
## Title: Blizzard API Documentation Generated
|
||||
## Author: Blizzard Entertainment
|
||||
## LoadOnDemand: 1
|
||||
## Dependencies: Blizzard_APIDocumentation
|
||||
|
||||
# Start documentation files here
|
||||
AbbreviateConfigAPIDocumentation.lua
|
||||
AbbreviatedNumberFormatterAPIDocumentation.lua
|
||||
AccessibilityOptionsDocumentation.lua
|
||||
AccountInfoDocumentation.lua
|
||||
AccountStoreDocumentation.lua
|
||||
AchievementInfoDocumentation.lua
|
||||
AchievementTelemetryDocumentation.lua
|
||||
ActionBarFrameDocumentation.lua
|
||||
AddOnProfilerDocumentation.lua
|
||||
AddOnsDocumentation.lua
|
||||
AdventureJournalDocumentation.lua
|
||||
AdventureMapDocumentation.lua
|
||||
AlliedRacesFrameDocumentation.lua
|
||||
AnimaDiversionUIDocumentation.lua
|
||||
ArdenwealdGardeningDocumentation.lua
|
||||
AreaPoiInfoDocumentation.lua
|
||||
ArtifactUIDocumentation.lua
|
||||
AssistedCombatDocumentation.lua
|
||||
AuctionHouseDocumentation.lua
|
||||
AuraContainerUtilDocumentation.lua
|
||||
AutoCompleteDocumentation.lua
|
||||
AutoLootDocumentation.lua
|
||||
AzeriteEmpoweredItemDocumentation.lua
|
||||
AzeriteEssenceDocumentation.lua
|
||||
AzeriteItemDocumentation.lua
|
||||
BNetOutageDocumentation.lua
|
||||
BagIndexConstantsDocumentation.lua
|
||||
BankDocumentation.lua
|
||||
BarberShopInternalDocumentation.lua
|
||||
BarberShopDocumentation.lua
|
||||
BattleNetDocumentation.lua
|
||||
BattlePetDocumentation.lua
|
||||
BehavioralMessagingDocumentation.lua
|
||||
BlackMarketInfoDocumentation.lua
|
||||
BlizzCon2026Documentation.lua
|
||||
BrowserDocumentation.lua
|
||||
BuildDocumentation.lua
|
||||
CVarDocumentation.lua
|
||||
CalendarDocumentation.lua
|
||||
CameraDocumentation.lua
|
||||
CatalogShopDocumentation.lua
|
||||
ChallengeModeInfoDocumentation.lua
|
||||
ChatBubblesDocumentation.lua
|
||||
ChatInfoDocumentation.lua
|
||||
ChromieTimeUIDocumentation.lua
|
||||
CinematicDocumentation.lua
|
||||
CinematicListDocumentation.lua
|
||||
ClassColorDocumentation.lua
|
||||
ClassTalentsDocumentation.lua
|
||||
ClassTrialDocumentation.lua
|
||||
ClickBindingsDocumentation.lua
|
||||
ClientDocumentation.lua
|
||||
ClientSceneDocumentation.lua
|
||||
ClubDocumentation.lua
|
||||
ClubFinderDocumentation.lua
|
||||
ColorOverridesDocumentation.lua
|
||||
ColorUtilDocumentation.lua
|
||||
CombatAudioAlertDocumentation.lua
|
||||
CombatLogDocumentation.lua
|
||||
CombatLogInternalDocumentation.lua
|
||||
CombatLogSecureDocumentation.lua
|
||||
CombatTextDocumentation.lua
|
||||
CommentatorFrameDocumentation.lua
|
||||
CompactUnitFramesDocumentation.lua
|
||||
ConfigurationWarningsDocumentation.lua
|
||||
ConnectionDocumentation.lua
|
||||
ConsoleDocumentation.lua
|
||||
ConsoleScriptCollectionDocumentation.lua
|
||||
ContainerDocumentation.lua
|
||||
ContentTrackingDocumentation.lua
|
||||
ContributionCollectorDocumentation.lua
|
||||
CooldownViewerDocumentation.lua
|
||||
CovenantsDocumentation.lua
|
||||
CovenantCallingsDocumentation.lua
|
||||
CovenantPreviewDocumentation.lua
|
||||
CovenantSanctumDocumentation.lua
|
||||
CraftingOrderUIDocumentation.lua
|
||||
CreatureInfoDocumentation.lua
|
||||
CurrencyInfoDocumentation.lua
|
||||
CursorDocumentation.lua
|
||||
CursorUtilDocumentation.lua
|
||||
CurveUtilDocumentation.lua
|
||||
DamageMeterDocumentation.lua
|
||||
DateAndTimeDocumentation.lua
|
||||
DeathAlertDocumentation.lua
|
||||
DeathInfoDocumentation.lua
|
||||
DeathRecapDocumentation.lua
|
||||
DebugToggleDocumentation.lua
|
||||
DelvesUIDocumentation.lua
|
||||
DiscordDocumentation.lua
|
||||
DuelInfoDocumentation.lua
|
||||
DurationTextBindingObjectAPIDocumentation.lua
|
||||
DurationUtilDocumentation.lua
|
||||
DyeColorInfoDocumentation.lua
|
||||
EditModeManagerDocumentation.lua
|
||||
EncodingUtilDocumentation.lua
|
||||
EncounterEventsDocumentation.lua
|
||||
EncounterInfoDocumentation.lua
|
||||
EncounterJournalDocumentation.lua
|
||||
EncounterTimelineDocumentation.lua
|
||||
EncounterWarningsDocumentation.lua
|
||||
EndOfMatchUIDocumentation.lua
|
||||
EquipmentManagerDocumentation.lua
|
||||
EventSchedulerUIDocumentation.lua
|
||||
EventUtilsDocumentation.lua
|
||||
ExpansionDocumentation.lua
|
||||
ExpansionInfoDocumentation.lua
|
||||
ExpansionTrialDocumentation.lua
|
||||
ExternalEventURLDocumentation.lua
|
||||
FlyoutDocumentation.lua
|
||||
FogOfWarDocumentation.lua
|
||||
FontDocumentation.lua
|
||||
FrameAPIArchaeologyDigsiteDocumentation.lua
|
||||
FrameAPIBlobDocumentation.lua
|
||||
FrameAPICharacterModelBaseDocumentation.lua
|
||||
FrameAPICinematicModelDocumentation.lua
|
||||
FrameAPICooldownDocumentation.lua
|
||||
FrameAPIDressUpModelDocumentation.lua
|
||||
FrameAPIFogOfWarFrameDocumentation.lua
|
||||
FrameAPIModelSceneFrameDocumentation.lua
|
||||
FrameAPIModelSceneFrameActorDocumentation.lua
|
||||
FrameAPIModelSceneFrameActorBaseDocumentation.lua
|
||||
FrameAPINamePlateDocumentation.lua
|
||||
FrameAPIQuestPOIDocumentation.lua
|
||||
FrameAPIScenarioPOIDocumentation.lua
|
||||
FrameAPISimpleCheckoutDocumentation.lua
|
||||
FrameAPITabardModelDocumentation.lua
|
||||
FrameAPITabardModelBaseDocumentation.lua
|
||||
FrameAPITooltipDocumentation.lua
|
||||
FrameAPIUnitPositionFrameDocumentation.lua
|
||||
FrameScriptDocumentation.lua
|
||||
FriendListDocumentation.lua
|
||||
GMTicketInfoDocumentation.lua
|
||||
GameCursorDocumentation.lua
|
||||
GameErrorDocumentation.lua
|
||||
GamePadDocumentation.lua
|
||||
GameRulesDocumentation.lua
|
||||
GameUIDocumentation.lua
|
||||
GamepadTargetingDocumentation.lua
|
||||
GamepadUIDocumentation.lua
|
||||
GarrisonInfoDocumentation.lua
|
||||
UIGenericWidgetDisplayDocumentation.lua
|
||||
GlueDocumentation.lua
|
||||
GlyphInfoDocumentation.lua
|
||||
GossipInfoDocumentation.lua
|
||||
GuildBankDocumentation.lua
|
||||
GuildInfoDocumentation.lua
|
||||
HeirloomInfoDocumentation.lua
|
||||
HouseEditorUIDocumentation.lua
|
||||
HouseExteriorUIDocumentation.lua
|
||||
HousingBasicModeUIDocumentation.lua
|
||||
HousingBlueprintUIDocumentation.lua
|
||||
HousingCatalogSearcherAPIDocumentation.lua
|
||||
HousingCatalogUIDocumentation.lua
|
||||
HousingCleanupModeUIDocumentation.lua
|
||||
HousingCustomizeModeUIDocumentation.lua
|
||||
HousingDecorUIDocumentation.lua
|
||||
HousingExpertModeUIDocumentation.lua
|
||||
HousingFixturePointFrameAPIDocumentation.lua
|
||||
HousingInspectModeUIDocumentation.lua
|
||||
HousingLayoutPinFrameAPIDocumentation.lua
|
||||
HousingLayoutUIDocumentation.lua
|
||||
HousingNeighborhoodUIDocumentation.lua
|
||||
HousingUIDocumentation.lua
|
||||
ImmersiveInteractionManagerDocumentation.lua
|
||||
InGameNavigationDocumentation.lua
|
||||
IncomingSummonDocumentation.lua
|
||||
InputDocumentation.lua
|
||||
InputInterfaceStyleDocumentation.lua
|
||||
InstanceDocumentation.lua
|
||||
InstanceEncounterDocumentation.lua
|
||||
InstanceLeaverInfoDocumentation.lua
|
||||
InterfaceFileManifestDocumentation.lua
|
||||
IntlDocumentation.lua
|
||||
InvasionInfoDocumentation.lua
|
||||
IslandsInfoDocumentation.lua
|
||||
IslandsQueueUIDocumentation.lua
|
||||
ItemDocumentation.lua
|
||||
ItemInteractionUIDocumentation.lua
|
||||
ItemSocketInfoDocumentation.lua
|
||||
ItemTextDocumentation.lua
|
||||
ItemUpgradeDocumentation.lua
|
||||
KeyBindingsDocumentation.lua
|
||||
LFGInfoDocumentation.lua
|
||||
LFGListInfoDocumentation.lua
|
||||
LFGListRolesDocumentation.lua
|
||||
LegendaryCraftingDocumentation.lua
|
||||
LevelLinkDocumentation.lua
|
||||
LevelSquishDocumentation.lua
|
||||
LimitedInputDocumentation.lua
|
||||
LiveEventDocumentation.lua
|
||||
LoadingScreenDocumentation.lua
|
||||
LobbyMatchmakerInfoDocumentation.lua
|
||||
LocaleDocumentation.lua
|
||||
LocalizationDocumentation.lua
|
||||
LogDocumentation.lua
|
||||
LootDocumentation.lua
|
||||
LootFrameDocumentation.lua
|
||||
LootHistoryDocumentation.lua
|
||||
LootJournalDocumentation.lua
|
||||
LoreTextDocumentation.lua
|
||||
LossOfControlDocumentation.lua
|
||||
LuaColorCurveObjectAPIDocumentation.lua
|
||||
LuaCurveObjectAPIDocumentation.lua
|
||||
LuaCurveObjectBaseAPIDocumentation.lua
|
||||
LuaDurationClockAPIDocumentation.lua
|
||||
LuaDurationManualClockAPIDocumentation.lua
|
||||
LuaDurationObjectAPIDocumentation.lua
|
||||
LuaLocaleContextAPIDocumentation.lua
|
||||
LuaMathExtensionsDocumentation.lua
|
||||
LuaStringExtensionsDocumentation.lua
|
||||
LuaTableExtensionsDocumentation.lua
|
||||
MacOptionsDocumentation.lua
|
||||
MailInfoDocumentation.lua
|
||||
MajorFactionsDocumentation.lua
|
||||
MapExplorationDocumentation.lua
|
||||
MapDocumentation.lua
|
||||
MerchantFrameDocumentation.lua
|
||||
MinimapDocumentation.lua
|
||||
MinimapFrameAPIDocumentation.lua
|
||||
MirrorTimerDocumentation.lua
|
||||
UIModelInfoDocumentation.lua
|
||||
MountJournalDocumentation.lua
|
||||
MovieDocumentation.lua
|
||||
MythicPlusInfoDocumentation.lua
|
||||
NamePlateDocumentation.lua
|
||||
NamePlateManagerDocumentation.lua
|
||||
NameUtilDocumentation.lua
|
||||
NeighborhoodInitiativeDocumentation.lua
|
||||
NewItemsDocumentation.lua
|
||||
NumericFormatterAPIDocumentation.lua
|
||||
NumericRuleFormatterAPIDocumentation.lua
|
||||
OsDocumentation.lua
|
||||
PaperDollInfoDocumentation.lua
|
||||
ParentalControlsDocumentation.lua
|
||||
PartyInfoDocumentation.lua
|
||||
PartyInfoSystemStatusDocumentation.lua
|
||||
PartyPoseUIDocumentation.lua
|
||||
PerformanceDocumentation.lua
|
||||
PerksActivitiesDocumentation.lua
|
||||
PerksProgramDocumentation.lua
|
||||
PetBattlesDocumentation.lua
|
||||
PetInfoDocumentation.lua
|
||||
PetJournalInfoDocumentation.lua
|
||||
PhotoSharingUIDocumentation.lua
|
||||
PingManagerDocumentation.lua
|
||||
PingManagerSecureDocumentation.lua
|
||||
PingPinFrameAPIDocumentation.lua
|
||||
PlatformDocumentation.lua
|
||||
PlayerChoiceDocumentation.lua
|
||||
PlayerInfoDocumentation.lua
|
||||
PlayerInteractionManagerDocumentation.lua
|
||||
PlayerLocationDocumentation.lua
|
||||
PlayerMentorshipDocumentation.lua
|
||||
PlayerScriptDocumentation.lua
|
||||
PonyDocumentation.lua
|
||||
ProfessionSpecUIDocumentation.lua
|
||||
PvpInfoDocumentation.lua
|
||||
QuestHubInfoDocumentation.lua
|
||||
QuestInfoSystemDocumentation.lua
|
||||
QuestItemUseDocumentation.lua
|
||||
QuestLineInfoDocumentation.lua
|
||||
QuestLogDocumentation.lua
|
||||
QuestOfferDocumentation.lua
|
||||
QuestSessionDocumentation.lua
|
||||
QuestTaskInfoDocumentation.lua
|
||||
RaidLocksDocumentation.lua
|
||||
RaidMarkersDocumentation.lua
|
||||
RecentAlliesDocumentation.lua
|
||||
RecruitAFriendDocumentation.lua
|
||||
RemixArtifactUIDocumentation.lua
|
||||
ReportSystemDocumentation.lua
|
||||
ReputationInfoDocumentation.lua
|
||||
ResearchInfoDocumentation.lua
|
||||
RestrictedActionsDocumentation.lua
|
||||
RolesetSystemDocumentation.lua
|
||||
ScenarioInfoDocumentation.lua
|
||||
ScrappingMachineUIDocumentation.lua
|
||||
ScreenDocumentation.lua
|
||||
ScriptWarningsDocumentation.lua
|
||||
ScriptedAnimationsDocumentation.lua
|
||||
SeasonInfoDocumentation.lua
|
||||
SecondsFormatterAPIDocumentation.lua
|
||||
SecretPredicateAPIDocumentation.lua
|
||||
SecureTransferDocumentation.lua
|
||||
SettingsUtilDocumentation.lua
|
||||
SharedTraitsDocumentation.lua
|
||||
SimpleAnimAPIDocumentation.lua
|
||||
SimpleAnimAlphaAPIDocumentation.lua
|
||||
SimpleAnimFlipBookAPIDocumentation.lua
|
||||
SimpleAnimGroupAPIDocumentation.lua
|
||||
SimpleAnimPathAPIDocumentation.lua
|
||||
SimpleAnimRadialProgressAPIDocumentation.lua
|
||||
SimpleAnimRotationAPIDocumentation.lua
|
||||
SimpleAnimScaleAPIDocumentation.lua
|
||||
SimpleAnimScaleLineAPIDocumentation.lua
|
||||
SimpleAnimTextureCoordTranslationAPIDocumentation.lua
|
||||
SimpleAnimTranslationAPIDocumentation.lua
|
||||
SimpleAnimTranslationLineAPIDocumentation.lua
|
||||
SimpleAnimVertexColorAPIDocumentation.lua
|
||||
SimpleAnimatableObjectAPIDocumentation.lua
|
||||
SimpleBrowserAPIDocumentation.lua
|
||||
SimpleButtonAPIDocumentation.lua
|
||||
SimpleCheckboxAPIDocumentation.lua
|
||||
SimpleColorSelectAPIDocumentation.lua
|
||||
SimpleControlPointAPIDocumentation.lua
|
||||
SimpleEditBoxAPIDocumentation.lua
|
||||
SimpleFontAPIDocumentation.lua
|
||||
SimpleFontStringAPIDocumentation.lua
|
||||
SimpleFrameAPIDocumentation.lua
|
||||
SimpleFrameScriptObjectAPIDocumentation.lua
|
||||
SimpleHTMLAPIDocumentation.lua
|
||||
SimpleLineAPIDocumentation.lua
|
||||
SimpleMapSceneAPIDocumentation.lua
|
||||
SimpleMaskTextureAPIDocumentation.lua
|
||||
SimpleMessageFrameAPIDocumentation.lua
|
||||
SimpleModelAPIDocumentation.lua
|
||||
SimpleModelFFXAPIDocumentation.lua
|
||||
SimpleMovieAPIDocumentation.lua
|
||||
SimpleObjectAPIDocumentation.lua
|
||||
SimpleOffScreenFrameAPIDocumentation.lua
|
||||
SimpleRegionAPIDocumentation.lua
|
||||
SimpleScriptRegionAPIDocumentation.lua
|
||||
SimpleScriptRegionResizingAPIDocumentation.lua
|
||||
SimpleScrollFrameAPIDocumentation.lua
|
||||
SimpleSliderAPIDocumentation.lua
|
||||
SimpleStatusBarAPIDocumentation.lua
|
||||
SimpleTextureAPIDocumentation.lua
|
||||
SimpleTextureBaseAPIDocumentation.lua
|
||||
SimpleVectorGraphicsAPIDocumentation.lua
|
||||
SkillInfoDocumentation.lua
|
||||
SlashCommandDocumentation.lua
|
||||
SocialQueueDocumentation.lua
|
||||
SocialQueueSystemStatusDocumentation.lua
|
||||
SocialRestrictionsDocumentation.lua
|
||||
SocialUIDocumentation.lua
|
||||
SoulbindsDocumentation.lua
|
||||
SoundDocumentation.lua
|
||||
SpecializationInfoDocumentation.lua
|
||||
SpecializationSharedDocumentation.lua
|
||||
SpellDocumentation.lua
|
||||
SpellActivationOverlayDocumentation.lua
|
||||
SpellBookDocumentation.lua
|
||||
SpellDiminishUIDocumentation.lua
|
||||
SplashScreenDocumentation.lua
|
||||
StableInfoDocumentation.lua
|
||||
StorePublicUIDocumentation.lua
|
||||
StreamingDocumentation.lua
|
||||
StringUtilDocumentation.lua
|
||||
SummonInfoDocumentation.lua
|
||||
SuperTrackManagerDocumentation.lua
|
||||
SwingTimerDocumentation.lua
|
||||
SystemDocumentation.lua
|
||||
SystemTimeDocumentation.lua
|
||||
TTSSettingsDocumentation.lua
|
||||
TalkingHeadDocumentation.lua
|
||||
TargetScriptDocumentation.lua
|
||||
TaxiMapDocumentation.lua
|
||||
TextureUtilsDocumentation.lua
|
||||
ThreatDocumentation.lua
|
||||
TimedSignalMapAPIDocumentation.lua
|
||||
TimerunningUIDocumentation.lua
|
||||
TitleDocumentation.lua
|
||||
TooltipComparisonDocumentation.lua
|
||||
TooltipInfoDocumentation.lua
|
||||
TotemDocumentation.lua
|
||||
ToyBoxInfoDocumentation.lua
|
||||
TradeInfoDocumentation.lua
|
||||
TradeSkillUIDocumentation.lua
|
||||
TrainerDocumentation.lua
|
||||
TraitConfigDocumentation.lua
|
||||
TransmogOutfitInfoDocumentation.lua
|
||||
TransmogDocumentation.lua
|
||||
TransmogItemsDocumentation.lua
|
||||
TransmogSetsDocumentation.lua
|
||||
TutorialDocumentation.lua
|
||||
UIManagerDocumentation.lua
|
||||
UIActionDocumentation.lua
|
||||
UIColorDocumentation.lua
|
||||
UIEventToastManagerDocumentation.lua
|
||||
UIFileAssetAPIDocumentation.lua
|
||||
UIFrameManagerDocumentation.lua
|
||||
UIMacrosDocumentation.lua
|
||||
UIModifiedInstanceDocumentation.lua
|
||||
UISystemVisibilityManagerDocumentation.lua
|
||||
UITimerDocumentation.lua
|
||||
UIWidgetManagerDocumentation.lua
|
||||
URLDocumentation.lua
|
||||
UnitDocumentation.lua
|
||||
UnitAuraDocumentation.lua
|
||||
UnitHealPredictionCalculatorAPIDocumentation.lua
|
||||
UnitRoleDocumentation.lua
|
||||
UserFeedbackDocumentation.lua
|
||||
VehicleDocumentation.lua
|
||||
VideoDocumentation.lua
|
||||
VignetteInfoDocumentation.lua
|
||||
VoiceChatDocumentation.lua
|
||||
WarCampaignDocumentation.lua
|
||||
WarbandSceneInfoDocumentation.lua
|
||||
WeatherScriptDocumentation.lua
|
||||
WeeklyRewardsDocumentation.lua
|
||||
WorldLootObjectDocumentation.lua
|
||||
WorldSafeLocsUIInternalDocumentation.lua
|
||||
WorldStateInfoDocumentation.lua
|
||||
WowEntitlementInfoDocumentation.lua
|
||||
WowSurveyDocumentation.lua
|
||||
WowTokenUIDocumentation.lua
|
||||
XMLUtilDocumentation.lua
|
||||
ZoneAbilityDocumentation.lua
|
||||
ZoneScriptDocumentation.lua
|
||||
AccountConstantsDocumentation.lua
|
||||
ActionDocumentation.lua
|
||||
ActionBarSharedDocumentation.lua
|
||||
AddOnConstantsDocumentation.lua
|
||||
AddOnProfilerConstantsDocumentation.lua
|
||||
AppearanceSourceDocumentation.lua
|
||||
ArrowCalloutConstantsDocumentation.lua
|
||||
AsyncAssistActionsConstantsDocumentation.lua
|
||||
AuctionHouseConstantsDocumentation.lua
|
||||
AuctionHouseEnumsDocumentation.lua
|
||||
AuraContainerSharedDocumentation.lua
|
||||
AutoCompleteSharedDocumentation.lua
|
||||
AzeriteConstantsDocumentation.lua
|
||||
BagConstantsDocumentation.lua
|
||||
BaseDocumentation.lua
|
||||
BattleNetSharedDocumentation.lua
|
||||
BattlePetConstantsDocumentation.lua
|
||||
BattlepayConstantsDocumentation.lua
|
||||
BountySharedDocumentation.lua
|
||||
ButtonStateDocumentation.lua
|
||||
CalendarConstantsDocumentation.lua
|
||||
CameraConstantsDocumentation.lua
|
||||
CatalogShopConstantsDocumentation.lua
|
||||
CharacterCreationConstantsDocumentation.lua
|
||||
CharacterCustomizationSharedDocumentation.lua
|
||||
CharacterSelectionConstantsDocumentation.lua
|
||||
CharacterServicesConstantsDocumentation.lua
|
||||
ChatConstantsDocumentation.lua
|
||||
ChatSharedDocumentation.lua
|
||||
CinematicConstantsDocumentation.lua
|
||||
ClickBindingsConstantsDocumentation.lua
|
||||
ClientSettingsDocumentation.lua
|
||||
ClubSharedDocumentation.lua
|
||||
ColorDocumentation.lua
|
||||
ColorOverrideConstantsDocumentation.lua
|
||||
CombatAudioAlertConstantsDocumentation.lua
|
||||
CombatAudioAlertSharedDocumentation.lua
|
||||
CombatLogConstantsDocumentation.lua
|
||||
CombatLogSharedDocumentation.lua
|
||||
CombatTextSharedDocumentation.lua
|
||||
CommentatorSharedDocumentation.lua
|
||||
ConfigurationWarningConstantsDocumentation.lua
|
||||
ContentTrackingTypesDocumentation.lua
|
||||
CooldownFrameConstantsDocumentation.lua
|
||||
CooldownViewerConstantsDocumentation.lua
|
||||
CovenantCallingsConstantsDocumentation.lua
|
||||
CovenantSanctumConstantsDocumentation.lua
|
||||
CovenantsConstantsDocumentation.lua
|
||||
CraftingOrderUIConstantsDocumentation.lua
|
||||
CraftingOrderUISharedDocumentation.lua
|
||||
CurrencyConstantsDocumentation.lua
|
||||
CurrencyConstants_MainlineDocumentation.lua
|
||||
CursorConstDocumentation.lua
|
||||
DamageConstantsDocumentation.lua
|
||||
DamageMeterConstantsDocumentation.lua
|
||||
DelvesConstantsDocumentation.lua
|
||||
DiscordConstantsDocumentation.lua
|
||||
DungeonEncounterConstantsDocumentation.lua
|
||||
DurationTextBindingSharedDocumentation.lua
|
||||
DyeColorInfoSharedDocumentation.lua
|
||||
EditModeManagerConstantsDocumentation.lua
|
||||
EncodingUtilConstantsDocumentation.lua
|
||||
EncounterEventsSharedDocumentation.lua
|
||||
EncounterJournalConstantsDocumentation.lua
|
||||
EncounterTimelineConstantsDocumentation.lua
|
||||
EventSchedulerConstantsDocumentation.lua
|
||||
ExpansionConstantsDocumentation.lua
|
||||
ExpansionLandingPageConstantsDocumentation.lua
|
||||
ExpansionLevelConstantsDocumentation.lua
|
||||
ForbiddenAspectConstantsDocumentation.lua
|
||||
FrameAPIModelSceneFrameSharedDocumentation.lua
|
||||
GARRISON_FOLLOWER_TYPEConstantsDocumentation.lua
|
||||
GARRISON_TYPEConstantsDocumentation.lua
|
||||
GamePadConstDocumentation.lua
|
||||
GameRulesConstantsDocumentation.lua
|
||||
GarrisonConstantsDocumentation.lua
|
||||
GarrisonSharedDocumentation.lua
|
||||
GlyphConstantsDocumentation.lua
|
||||
GossipConstantsDocumentation.lua
|
||||
GroupFinderConstantsDocumentation.lua
|
||||
GuildConstantsDocumentation.lua
|
||||
GuildInfoSharedDocumentation.lua
|
||||
HouseExteriorConstantsDocumentation.lua
|
||||
HousingBlueprintConstantsDocumentation.lua
|
||||
HousingCatalogConstantsDocumentation.lua
|
||||
HousingDecorSharedDocumentation.lua
|
||||
HousingLayoutUITypesDocumentation.lua
|
||||
HousingUISharedDocumentation.lua
|
||||
ImageSharingConstantsDocumentation.lua
|
||||
InputConstantsDocumentation.lua
|
||||
IntlSharedTypesDocumentation.lua
|
||||
ItemConstantsDocumentation.lua
|
||||
ItemConstants_MainlineDocumentation.lua
|
||||
ItemConstants_SharedDocumentation.lua
|
||||
ItemQualitiesDocumentation.lua
|
||||
ItemSharedDocumentation.lua
|
||||
LFGConstantsDocumentation.lua
|
||||
LegacyConstantsDocumentation.lua
|
||||
LegendaryCraftingTypesDocumentation.lua
|
||||
LevelConstantsDocumentation.lua
|
||||
LocalizationSharedDocumentation.lua
|
||||
LogConstantsDocumentation.lua
|
||||
LogicConstantsDocumentation.lua
|
||||
LootConstantsDocumentation.lua
|
||||
LootConstants_MainlineDocumentation.lua
|
||||
LossOfControlConstantsDocumentation.lua
|
||||
LuaCurveObjectConstantsDocumentation.lua
|
||||
LuaDurationObjectSharedDocumentation.lua
|
||||
LuaValuePredicatesDocumentation.lua
|
||||
MacroConstantsDocumentation.lua
|
||||
MajorFactionsConstantsDocumentation.lua
|
||||
MapConstantsDocumentation.lua
|
||||
MatrixSharedDocumentation.lua
|
||||
MinimapConstantsDocumentation.lua
|
||||
ModelAnimationSharedDocumentation.lua
|
||||
MoneyConstantsDocumentation.lua
|
||||
MountConstantsDocumentation.lua
|
||||
MythicPlusInfoSharedDocumentation.lua
|
||||
NameGenConstantsDocumentation.lua
|
||||
NamePlateConstantsDocumentation.lua
|
||||
NeighborhoodInitiativesConstantsDocumentation.lua
|
||||
NumericRuleFormatterSharedDocumentation.lua
|
||||
PVPMgrConstantsDocumentation.lua
|
||||
PartyConstantsDocumentation.lua
|
||||
PartyPoseUIConstantsDocumentation.lua
|
||||
PerksVendorConstantsDocumentation.lua
|
||||
PetBattleConstantsDocumentation.lua
|
||||
PetConstantsDocumentation.lua
|
||||
PetConstants_SharedDocumentation.lua
|
||||
PetScalingConstantsDocumentation.lua
|
||||
PingConstantsDocumentation.lua
|
||||
PingManagerSharedDocumentation.lua
|
||||
PlayerDocumentation.lua
|
||||
PlayerChoiceConstantsDocumentation.lua
|
||||
PlayerDataConstantsDocumentation.lua
|
||||
PlayerHousingConstantsDocumentation.lua
|
||||
PlayerInfoSharedDocumentation.lua
|
||||
PlayerInteractionManagerConstantsDocumentation.lua
|
||||
PlayerMentorshipConstantsDocumentation.lua
|
||||
PowerTypeConstantsDocumentation.lua
|
||||
ProceduralSpawnConstantsDocumentation.lua
|
||||
ProfessionConstantsDocumentation.lua
|
||||
ProfessionSpecConstantsDocumentation.lua
|
||||
PvPFactionConstantsDocumentation.lua
|
||||
PvpInfoConstantsDocumentation.lua
|
||||
QuestConstantsDocumentation.lua
|
||||
QuestConstants_MainlineDocumentation.lua
|
||||
QuestInfoSharedDocumentation.lua
|
||||
QuestRewardsDocumentation.lua
|
||||
QuestSessionConstantsDocumentation.lua
|
||||
QueueSpecificDocumentation.lua
|
||||
RaidMarkerConstantsDocumentation.lua
|
||||
RecentAlliesConstantsDocumentation.lua
|
||||
RecruitAFriendSharedDocumentation.lua
|
||||
RenownConstantsDocumentation.lua
|
||||
ReportSystemConstantsDocumentation.lua
|
||||
RestrictedActionsConstantsDocumentation.lua
|
||||
RolodexConstantsDocumentation.lua
|
||||
ScreenLocationConstantsDocumentation.lua
|
||||
SeasonsConstantsDocumentation.lua
|
||||
SecondsFormatterSharedDocumentation.lua
|
||||
SecretAspectConstantsDocumentation.lua
|
||||
SecretPredicatesDocumentation.lua
|
||||
SecretWrapperConstantsDocumentation.lua
|
||||
SharedScriptObjectModelLightDocumentation.lua
|
||||
SharedScriptObjectNamePlateFrameDocumentation.lua
|
||||
SharedScriptObjectUnitPositionFrameDocumentation.lua
|
||||
SharedTraitsEnumsDocumentation.lua
|
||||
SimpleFrameScriptObjectConstantsDocumentation.lua
|
||||
SimpleHTMLSharedDocumentation.lua
|
||||
SimpleStatusBarConstantsDocumentation.lua
|
||||
SocialConstantsDocumentation.lua
|
||||
SoftTargetConstantsDocumentation.lua
|
||||
SoulbindsConstantsDocumentation.lua
|
||||
SpecializationConstantsDocumentation.lua
|
||||
SpellBookConstantsDocumentation.lua
|
||||
SpellConstantsDocumentation.lua
|
||||
SpellDiminishConstantsDocumentation.lua
|
||||
SpellIDDocumentation.lua
|
||||
SpellSharedDocumentation.lua
|
||||
SplashScreenConstantsDocumentation.lua
|
||||
SummonConstantsDocumentation.lua
|
||||
SuperTrackManagerSharedDocumentation.lua
|
||||
TalentAndGlyphConstantsDocumentation.lua
|
||||
TalentConstantsDocumentation.lua
|
||||
TextureSharedDocumentation.lua
|
||||
TimeDocumentation.lua
|
||||
TimedSignalMapSharedDocumentation.lua
|
||||
TimerConstantsDocumentation.lua
|
||||
TimerunningConstantsDocumentation.lua
|
||||
TooltipConstantsDocumentation.lua
|
||||
TooltipInfoSharedDocumentation.lua
|
||||
TradeSkillUITypesDocumentation.lua
|
||||
TrainerConstantsDocumentation.lua
|
||||
TraitConstantsDocumentation.lua
|
||||
TransformManipulatorConstantsDocumentation.lua
|
||||
TransmogConstantsDocumentation.lua
|
||||
TransmogOutfitConstantsDocumentation.lua
|
||||
TransmogSharedDocumentation.lua
|
||||
UIActionConstantsDocumentation.lua
|
||||
UIButtonSharedDocumentation.lua
|
||||
UICharacterClassConstantsDocumentation.lua
|
||||
UIColorSharedDocumentation.lua
|
||||
UICovenantDisplayInfoConstantsDocumentation.lua
|
||||
UIEventToastConstantsDocumentation.lua
|
||||
UIFileAssetSharedDocumentation.lua
|
||||
UIMapPinSharedDocumentation.lua
|
||||
UIModelInfoSharedDocumentation.lua
|
||||
UISharedDocumentation.lua
|
||||
UITextureAssetSharedDocumentation.lua
|
||||
UITextureConstantsDocumentation.lua
|
||||
UIWidgetManagerSharedDocumentation.lua
|
||||
UiModelSceneConstantsDocumentation.lua
|
||||
UiRpcRequestManagerConstantsDocumentation.lua
|
||||
UnitAuraConstantsDocumentation.lua
|
||||
UnitAuraSharedDocumentation.lua
|
||||
UnitConstantsDocumentation.lua
|
||||
UnitHealPredictionCalculatorSharedDocumentation.lua
|
||||
UnitSexConstantsDocumentation.lua
|
||||
UnitSharedDocumentation.lua
|
||||
ValidateNameConstantsDocumentation.lua
|
||||
VectorSharedDocumentation.lua
|
||||
VignetteConstantsDocumentation.lua
|
||||
VisualAlertConstantsDocumentation.lua
|
||||
WarbandSceneInfoConstantsDocumentation.lua
|
||||
WeatherConstantsDocumentation.lua
|
||||
WeeklyRewardsSharedDocumentation.lua
|
||||
WorldElapsedTimerConstantsDocumentation.lua
|
||||
WowCSConstantsDocumentation.lua
|
||||
WowSurveyConstantsDocumentation.lua
|
||||
# End documentation files here
|
||||
@@ -0,0 +1,24 @@
|
||||
local BountyShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "BountyInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "questID", Type = "number", Nilable = false },
|
||||
{ Name = "factionID", Type = "number", Nilable = false },
|
||||
{ Name = "icon", Type = "fileID", Nilable = false },
|
||||
{ Name = "numObjectives", Type = "number", Nilable = false },
|
||||
{ Name = "turninRequirementText", Type = "cstring", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BountyShared);
|
||||
@@ -0,0 +1,83 @@
|
||||
local Browser =
|
||||
{
|
||||
Name = "Browser",
|
||||
Type = "System",
|
||||
Namespace = "C_Browser",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CloseFullscreenBrowser",
|
||||
Type = "Function",
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "FullscreenBrowserSpinnerHide",
|
||||
Type = "Event",
|
||||
LiteralName = "FULLSCREEN_BROWSER_SPINNER_HIDE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "FullscreenBrowserSpinnerShow",
|
||||
Type = "Event",
|
||||
LiteralName = "FULLSCREEN_BROWSER_SPINNER_SHOW",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "SimpleBrowserPopup",
|
||||
Type = "Event",
|
||||
LiteralName = "SIMPLE_BROWSER_POPUP",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "url", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SimpleBrowserSocialCallbackInvoked",
|
||||
Type = "Event",
|
||||
LiteralName = "SIMPLE_BROWSER_SOCIAL_CALLBACK_INVOKED",
|
||||
UniqueEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "url", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SimpleBrowserWebError",
|
||||
Type = "Event",
|
||||
LiteralName = "SIMPLE_BROWSER_WEB_ERROR",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "errorCode", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SimpleBrowserWebProxyFailed",
|
||||
Type = "Event",
|
||||
LiteralName = "SIMPLE_BROWSER_WEB_PROXY_FAILED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "SimpleCheckoutClosed",
|
||||
Type = "Event",
|
||||
LiteralName = "SIMPLE_CHECKOUT_CLOSED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Browser);
|
||||
@@ -0,0 +1,144 @@
|
||||
local Build =
|
||||
{
|
||||
Name = "Build",
|
||||
Type = "System",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetBuildInfo",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "buildVersion", Type = "cstring", Nilable = false },
|
||||
{ Name = "buildNumber", Type = "cstring", Nilable = false },
|
||||
{ Name = "buildDate", Type = "cstring", Nilable = false },
|
||||
{ Name = "interfaceVersion", Type = "number", Nilable = false },
|
||||
{ Name = "localizedVersion", Type = "cstring", Nilable = false },
|
||||
{ Name = "buildInfo", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetBuildOption",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isSet", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Is64BitClient",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "is64Bit", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsBetaBuild",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isBetaBuild", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsDebugBuild",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isDebugBuild", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsLinuxClient",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isLinux", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsMacClient",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isMac", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsPublicBuild",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isPublicBuild", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsPublicTestClient",
|
||||
Type = "Function",
|
||||
Documentation = { "Reflects the state of the OnlyBetaAndPTR TOC directive" },
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isPublicTestClient", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsTestBuild",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isTestBuild", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsWindowsClient",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isWindows", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SupportsClipCursor",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "supportsClipCursor", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Build);
|
||||
@@ -0,0 +1,12 @@
|
||||
local ButtonState =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ButtonState);
|
||||
@@ -0,0 +1,233 @@
|
||||
local CVar =
|
||||
{
|
||||
Name = "CVarScripts",
|
||||
Type = "System",
|
||||
Namespace = "C_CVar",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AreCVarsLoaded",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "loaded", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCVar",
|
||||
Type = "Function",
|
||||
SecretArguments = "NotAllowed",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "value", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCVarBitfield",
|
||||
Type = "Function",
|
||||
SecretArguments = "NotAllowed",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "value", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCVarBool",
|
||||
Type = "Function",
|
||||
SecretArguments = "NotAllowed",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "value", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCVarDefault",
|
||||
Type = "Function",
|
||||
RequiresValidAndPublicCVar = true,
|
||||
SecretArguments = "NotAllowed",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "defaultValue", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCVarInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "NotAllowed",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "value", Type = "cstring", Nilable = false },
|
||||
{ Name = "defaultValue", Type = "cstring", Nilable = false },
|
||||
{ Name = "isStoredServerAccount", Type = "bool", Nilable = false },
|
||||
{ Name = "isStoredServerCharacter", Type = "bool", Nilable = false },
|
||||
{ Name = "isLockedFromUser", Type = "bool", Nilable = false },
|
||||
{ Name = "isSecure", Type = "bool", Nilable = false },
|
||||
{ Name = "isReadOnly", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RegisterCVar",
|
||||
Type = "Function",
|
||||
SecretArguments = "NotAllowed",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "value", Type = "cstring", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RemoveTempCVar",
|
||||
Type = "Function",
|
||||
RequiresValidAndPublicCVar = true,
|
||||
RequiresNonReadOnlyCVar = true,
|
||||
RequiresNonSecureCVar = true,
|
||||
SecretArguments = "NotAllowed",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ResetTestCVars",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "SetCVar",
|
||||
Type = "Function",
|
||||
RequiresValidAndPublicCVar = true,
|
||||
RequiresNonReadOnlyCVar = true,
|
||||
RequiresNonSecureCVar = true,
|
||||
SecretArguments = "NotAllowed",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "value", Type = "cstring", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCVarBitfield",
|
||||
Type = "Function",
|
||||
RequiresValidAndPublicCVar = true,
|
||||
RequiresNonReadOnlyCVar = true,
|
||||
RequiresNonSecureCVar = true,
|
||||
RequiresIndexInRange = true,
|
||||
SecretArguments = "NotAllowed",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "value", Type = "bool", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetTempCVar",
|
||||
Type = "Function",
|
||||
RequiresValidAndPublicCVar = true,
|
||||
RequiresNonReadOnlyCVar = true,
|
||||
RequiresNonSecureCVar = true,
|
||||
SecretArguments = "NotAllowed",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "value", Type = "cstring", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CVarInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "value", Type = "cstring", Nilable = false },
|
||||
{ Name = "defaultValue", Type = "cstring", Nilable = false },
|
||||
{ Name = "isStoredServerAccount", Type = "bool", Nilable = false },
|
||||
{ Name = "isStoredServerCharacter", Type = "bool", Nilable = false },
|
||||
{ Name = "isLockedFromUser", Type = "bool", Nilable = false },
|
||||
{ Name = "isSecure", Type = "bool", Nilable = false },
|
||||
{ Name = "isReadOnly", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
{
|
||||
Name = "RequiresIndexInRange",
|
||||
Type = "Precondition",
|
||||
FailureMode = "Error",
|
||||
},
|
||||
{
|
||||
Name = "RequiresNonReadOnlyCVar",
|
||||
Type = "Precondition",
|
||||
FailureMode = "ReturnNothing",
|
||||
},
|
||||
{
|
||||
Name = "RequiresNonSecureCVar",
|
||||
Type = "Precondition",
|
||||
FailureMode = "ReturnNothing",
|
||||
},
|
||||
{
|
||||
Name = "RequiresValidAndPublicCVar",
|
||||
Type = "Precondition",
|
||||
FailureMode = "ReturnNothing",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CVar);
|
||||
+351
@@ -0,0 +1,351 @@
|
||||
local CalendarConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CalendarCommandType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 12,
|
||||
MinValue = 0,
|
||||
MaxValue = 11,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Create", Type = "CalendarCommandType", EnumValue = 0 },
|
||||
{ Name = "Invite", Type = "CalendarCommandType", EnumValue = 1 },
|
||||
{ Name = "Rsvp", Type = "CalendarCommandType", EnumValue = 2 },
|
||||
{ Name = "RemoveInvite", Type = "CalendarCommandType", EnumValue = 3 },
|
||||
{ Name = "RemoveEvent", Type = "CalendarCommandType", EnumValue = 4 },
|
||||
{ Name = "Status", Type = "CalendarCommandType", EnumValue = 5 },
|
||||
{ Name = "ModeratorStatus", Type = "CalendarCommandType", EnumValue = 6 },
|
||||
{ Name = "GetCalendar", Type = "CalendarCommandType", EnumValue = 7 },
|
||||
{ Name = "GetEvent", Type = "CalendarCommandType", EnumValue = 8 },
|
||||
{ Name = "UpdateEvent", Type = "CalendarCommandType", EnumValue = 9 },
|
||||
{ Name = "Complain", Type = "CalendarCommandType", EnumValue = 10 },
|
||||
{ Name = "Notes", Type = "CalendarCommandType", EnumValue = 11 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarErrorType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 51,
|
||||
MinValue = 0,
|
||||
MaxValue = 50,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Success", Type = "CalendarErrorType", EnumValue = 0 },
|
||||
{ Name = "CommunityEventsExceeded", Type = "CalendarErrorType", EnumValue = 1 },
|
||||
{ Name = "EventsExceeded", Type = "CalendarErrorType", EnumValue = 2 },
|
||||
{ Name = "SelfInvitesExceeded", Type = "CalendarErrorType", EnumValue = 3 },
|
||||
{ Name = "OtherInvitesExceeded", Type = "CalendarErrorType", EnumValue = 4 },
|
||||
{ Name = "NoPermission", Type = "CalendarErrorType", EnumValue = 5 },
|
||||
{ Name = "EventInvalid", Type = "CalendarErrorType", EnumValue = 6 },
|
||||
{ Name = "NotInvited", Type = "CalendarErrorType", EnumValue = 7 },
|
||||
{ Name = "UnknownError", Type = "CalendarErrorType", EnumValue = 8 },
|
||||
{ Name = "NotInGuild", Type = "CalendarErrorType", EnumValue = 9 },
|
||||
{ Name = "NotInCommunity", Type = "CalendarErrorType", EnumValue = 10 },
|
||||
{ Name = "TargetAlreadyInvited", Type = "CalendarErrorType", EnumValue = 11 },
|
||||
{ Name = "NameNotFound", Type = "CalendarErrorType", EnumValue = 12 },
|
||||
{ Name = "WrongFaction", Type = "CalendarErrorType", EnumValue = 13 },
|
||||
{ Name = "Ignored", Type = "CalendarErrorType", EnumValue = 14 },
|
||||
{ Name = "InvitesExceeded", Type = "CalendarErrorType", EnumValue = 15 },
|
||||
{ Name = "InvalidMaxSize", Type = "CalendarErrorType", EnumValue = 16 },
|
||||
{ Name = "InvalidDate", Type = "CalendarErrorType", EnumValue = 17 },
|
||||
{ Name = "InvalidTime", Type = "CalendarErrorType", EnumValue = 18 },
|
||||
{ Name = "NoInvites", Type = "CalendarErrorType", EnumValue = 19 },
|
||||
{ Name = "NeedsTitle", Type = "CalendarErrorType", EnumValue = 20 },
|
||||
{ Name = "EventPassed", Type = "CalendarErrorType", EnumValue = 21 },
|
||||
{ Name = "EventLocked", Type = "CalendarErrorType", EnumValue = 22 },
|
||||
{ Name = "DeleteCreatorFailed", Type = "CalendarErrorType", EnumValue = 23 },
|
||||
{ Name = "DataAlreadySet", Type = "CalendarErrorType", EnumValue = 24 },
|
||||
{ Name = "CalendarDisabled", Type = "CalendarErrorType", EnumValue = 25 },
|
||||
{ Name = "RestrictedAccount", Type = "CalendarErrorType", EnumValue = 26 },
|
||||
{ Name = "ArenaEventsExceeded", Type = "CalendarErrorType", EnumValue = 27 },
|
||||
{ Name = "RestrictedLevel", Type = "CalendarErrorType", EnumValue = 28 },
|
||||
{ Name = "Squelched", Type = "CalendarErrorType", EnumValue = 29 },
|
||||
{ Name = "NoInvite", Type = "CalendarErrorType", EnumValue = 30 },
|
||||
{ Name = "ComplaintDisabled", Type = "CalendarErrorType", EnumValue = 31 },
|
||||
{ Name = "ComplaintSelf", Type = "CalendarErrorType", EnumValue = 32 },
|
||||
{ Name = "ComplaintSameGuild", Type = "CalendarErrorType", EnumValue = 33 },
|
||||
{ Name = "ComplaintGm", Type = "CalendarErrorType", EnumValue = 34 },
|
||||
{ Name = "ComplaintLimit", Type = "CalendarErrorType", EnumValue = 35 },
|
||||
{ Name = "ComplaintNotFound", Type = "CalendarErrorType", EnumValue = 36 },
|
||||
{ Name = "EventWrongServer", Type = "CalendarErrorType", EnumValue = 37 },
|
||||
{ Name = "NoCommunityInvites", Type = "CalendarErrorType", EnumValue = 38 },
|
||||
{ Name = "InvalidSignup", Type = "CalendarErrorType", EnumValue = 39 },
|
||||
{ Name = "NoModerator", Type = "CalendarErrorType", EnumValue = 40 },
|
||||
{ Name = "ModeratorRestricted", Type = "CalendarErrorType", EnumValue = 41 },
|
||||
{ Name = "InvalidNotes", Type = "CalendarErrorType", EnumValue = 42 },
|
||||
{ Name = "InvalidTitle", Type = "CalendarErrorType", EnumValue = 43 },
|
||||
{ Name = "InvalidDescription", Type = "CalendarErrorType", EnumValue = 44 },
|
||||
{ Name = "InvalidClub", Type = "CalendarErrorType", EnumValue = 45 },
|
||||
{ Name = "CreatorNotFound", Type = "CalendarErrorType", EnumValue = 46 },
|
||||
{ Name = "EventThrottled", Type = "CalendarErrorType", EnumValue = 47 },
|
||||
{ Name = "InviteThrottled", Type = "CalendarErrorType", EnumValue = 48 },
|
||||
{ Name = "Internal", Type = "CalendarErrorType", EnumValue = 49 },
|
||||
{ Name = "ComplaintAdded", Type = "CalendarErrorType", EnumValue = 50 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarEventBits",
|
||||
Type = "Enumeration",
|
||||
NumValues = 15,
|
||||
MinValue = 1,
|
||||
MaxValue = 3788,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Player", Type = "CalendarEventBits", EnumValue = 1 },
|
||||
{ Name = "GuildDeprecated", Type = "CalendarEventBits", EnumValue = 2 },
|
||||
{ Name = "System", Type = "CalendarEventBits", EnumValue = 4 },
|
||||
{ Name = "Holiday", Type = "CalendarEventBits", EnumValue = 8 },
|
||||
{ Name = "Locked", Type = "CalendarEventBits", EnumValue = 16 },
|
||||
{ Name = "AutoApprove", Type = "CalendarEventBits", EnumValue = 32 },
|
||||
{ Name = "CommunityAnnouncement", Type = "CalendarEventBits", EnumValue = 64 },
|
||||
{ Name = "RaidLockout", Type = "CalendarEventBits", EnumValue = 128 },
|
||||
{ Name = "ArenaDeprecated", Type = "CalendarEventBits", EnumValue = 256 },
|
||||
{ Name = "RaidResetDeprecated", Type = "CalendarEventBits", EnumValue = 512 },
|
||||
{ Name = "CommunitySignup", Type = "CalendarEventBits", EnumValue = 1024 },
|
||||
{ Name = "GuildSignup", Type = "CalendarEventBits", EnumValue = 2048 },
|
||||
{ Name = "CommunityWide", Type = "CalendarEventBits", EnumValue = 3136 },
|
||||
{ Name = "PlayerCreated", Type = "CalendarEventBits", EnumValue = 3395 },
|
||||
{ Name = "CantComplain", Type = "CalendarEventBits", EnumValue = 3788 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarEventRepeatOptions",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Never", Type = "CalendarEventRepeatOptions", EnumValue = 0 },
|
||||
{ Name = "Weekly", Type = "CalendarEventRepeatOptions", EnumValue = 1 },
|
||||
{ Name = "Biweekly", Type = "CalendarEventRepeatOptions", EnumValue = 2 },
|
||||
{ Name = "Monthly", Type = "CalendarEventRepeatOptions", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarEventType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 0,
|
||||
MaxValue = 5,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Raid", Type = "CalendarEventType", EnumValue = 0 },
|
||||
{ Name = "Dungeon", Type = "CalendarEventType", EnumValue = 1 },
|
||||
{ Name = "PvP", Type = "CalendarEventType", EnumValue = 2 },
|
||||
{ Name = "Meeting", Type = "CalendarEventType", EnumValue = 3 },
|
||||
{ Name = "Other", Type = "CalendarEventType", EnumValue = 4 },
|
||||
{ Name = "HeroicDeprecated", Type = "CalendarEventType", EnumValue = 5 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarFilterFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 1,
|
||||
MaxValue = 16,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "WeeklyHoliday", Type = "CalendarFilterFlags", EnumValue = 1 },
|
||||
{ Name = "Darkmoon", Type = "CalendarFilterFlags", EnumValue = 2 },
|
||||
{ Name = "Battleground", Type = "CalendarFilterFlags", EnumValue = 4 },
|
||||
{ Name = "RaidLockout", Type = "CalendarFilterFlags", EnumValue = 8 },
|
||||
{ Name = "RaidReset", Type = "CalendarFilterFlags", EnumValue = 16 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarGetEventType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Get", Type = "CalendarGetEventType", EnumValue = 0 },
|
||||
{ Name = "Add", Type = "CalendarGetEventType", EnumValue = 1 },
|
||||
{ Name = "Copy", Type = "CalendarGetEventType", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarHolidayFilterType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Weekly", Type = "CalendarHolidayFilterType", EnumValue = 0 },
|
||||
{ Name = "Darkmoon", Type = "CalendarHolidayFilterType", EnumValue = 1 },
|
||||
{ Name = "Battleground", Type = "CalendarHolidayFilterType", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarInviteBits",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "CalendarInviteBits", EnumValue = 0 },
|
||||
{ Name = "PendingInvite", Type = "CalendarInviteBits", EnumValue = 1 },
|
||||
{ Name = "Moderator", Type = "CalendarInviteBits", EnumValue = 2 },
|
||||
{ Name = "Creator", Type = "CalendarInviteBits", EnumValue = 4 },
|
||||
{ Name = "Signup", Type = "CalendarInviteBits", EnumValue = 8 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarInviteSortType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 0,
|
||||
MaxValue = 5,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Name", Type = "CalendarInviteSortType", EnumValue = 0 },
|
||||
{ Name = "Level", Type = "CalendarInviteSortType", EnumValue = 1 },
|
||||
{ Name = "Class", Type = "CalendarInviteSortType", EnumValue = 2 },
|
||||
{ Name = "Status", Type = "CalendarInviteSortType", EnumValue = 3 },
|
||||
{ Name = "Party", Type = "CalendarInviteSortType", EnumValue = 4 },
|
||||
{ Name = "Notes", Type = "CalendarInviteSortType", EnumValue = 5 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarInviteType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Normal", Type = "CalendarInviteType", EnumValue = 0 },
|
||||
{ Name = "Signup", Type = "CalendarInviteType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarModeratorStatus",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "CalendarModeratorStatus", EnumValue = 0 },
|
||||
{ Name = "Moderator", Type = "CalendarModeratorStatus", EnumValue = 1 },
|
||||
{ Name = "Creator", Type = "CalendarModeratorStatus", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarStatus",
|
||||
Type = "Enumeration",
|
||||
NumValues = 9,
|
||||
MinValue = 0,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Invited", Type = "CalendarStatus", EnumValue = 0 },
|
||||
{ Name = "Available", Type = "CalendarStatus", EnumValue = 1 },
|
||||
{ Name = "Declined", Type = "CalendarStatus", EnumValue = 2 },
|
||||
{ Name = "Confirmed", Type = "CalendarStatus", EnumValue = 3 },
|
||||
{ Name = "Out", Type = "CalendarStatus", EnumValue = 4 },
|
||||
{ Name = "Standby", Type = "CalendarStatus", EnumValue = 5 },
|
||||
{ Name = "Signedup", Type = "CalendarStatus", EnumValue = 6 },
|
||||
{ Name = "NotSignedup", Type = "CalendarStatus", EnumValue = 7 },
|
||||
{ Name = "Tentative", Type = "CalendarStatus", EnumValue = 8 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarTexturesType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Dungeons", Type = "CalendarTexturesType", EnumValue = 0 },
|
||||
{ Name = "Raid", Type = "CalendarTexturesType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 0,
|
||||
MaxValue = 7,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Player", Type = "CalendarType", EnumValue = 0 },
|
||||
{ Name = "Community", Type = "CalendarType", EnumValue = 1 },
|
||||
{ Name = "RaidLockout", Type = "CalendarType", EnumValue = 2 },
|
||||
{ Name = "RaidResetDeprecated", Type = "CalendarType", EnumValue = 3 },
|
||||
{ Name = "Holiday", Type = "CalendarType", EnumValue = 4 },
|
||||
{ Name = "HolidayWeekly", Type = "CalendarType", EnumValue = 5 },
|
||||
{ Name = "HolidayDarkmoon", Type = "CalendarType", EnumValue = 6 },
|
||||
{ Name = "HolidayBattleground", Type = "CalendarType", EnumValue = 7 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarWebActionType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 7,
|
||||
MinValue = 0,
|
||||
MaxValue = 6,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Accept", Type = "CalendarWebActionType", EnumValue = 0 },
|
||||
{ Name = "Decline", Type = "CalendarWebActionType", EnumValue = 1 },
|
||||
{ Name = "Remove", Type = "CalendarWebActionType", EnumValue = 2 },
|
||||
{ Name = "ReportSpam", Type = "CalendarWebActionType", EnumValue = 3 },
|
||||
{ Name = "Signup", Type = "CalendarWebActionType", EnumValue = 4 },
|
||||
{ Name = "Tentative", Type = "CalendarWebActionType", EnumValue = 5 },
|
||||
{ Name = "TentativeSignup", Type = "CalendarWebActionType", EnumValue = 6 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HolidayCalendarFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 1,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Alliance", Type = "HolidayCalendarFlags", EnumValue = 1 },
|
||||
{ Name = "Horde", Type = "HolidayCalendarFlags", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HolidayFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 1,
|
||||
MaxValue = 128,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "IsRegionwide", Type = "HolidayFlags", EnumValue = 1 },
|
||||
{ Name = "DontShowInCalendar", Type = "HolidayFlags", EnumValue = 2 },
|
||||
{ Name = "DontDisplayEnd", Type = "HolidayFlags", EnumValue = 4 },
|
||||
{ Name = "DontDisplayBanner", Type = "HolidayFlags", EnumValue = 8 },
|
||||
{ Name = "NotAvailableClientSide", Type = "HolidayFlags", EnumValue = 16 },
|
||||
{ Name = "DurationUseMinutes", Type = "HolidayFlags", EnumValue = 32 },
|
||||
{ Name = "BeginEventOnlyOnStageChange", Type = "HolidayFlags", EnumValue = 64 },
|
||||
{ Name = "StagesUseDatetimes", Type = "HolidayFlags", EnumValue = 128 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CalendarGetEventTypeConstants",
|
||||
Type = "Constants",
|
||||
Values =
|
||||
{
|
||||
{ Name = "DEFAULT_CALENDAR_GET_EVENT_TYPE", Type = "CalendarGetEventType", Value = Enum.CalendarGetEventType.Get },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CalendarConstants);
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,26 @@
|
||||
local CameraConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CameraModeAspectRatio",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Default", Type = "CameraModeAspectRatio", EnumValue = 0 },
|
||||
{ Name = "LegacyLetterbox", Type = "CameraModeAspectRatio", EnumValue = 1 },
|
||||
{ Name = "HighDefinition_16_X_9", Type = "CameraModeAspectRatio", EnumValue = 2 },
|
||||
{ Name = "Cinemascope_2_Dot_4_X_1", Type = "CameraModeAspectRatio", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CameraConstants);
|
||||
@@ -0,0 +1,59 @@
|
||||
local Camera =
|
||||
{
|
||||
Name = "Camera",
|
||||
Type = "System",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetCameraFOVDefaults",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "fieldOfViewDegreesDefault", Type = "number", Nilable = false },
|
||||
{ Name = "fieldOfViewDegreesPlayerMin", Type = "number", Nilable = false },
|
||||
{ Name = "fieldOfViewDegreesPlayerMax", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetUICameraInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiCameraID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "posX", Type = "number", Nilable = false },
|
||||
{ Name = "posY", Type = "number", Nilable = false },
|
||||
{ Name = "posZ", Type = "number", Nilable = false },
|
||||
{ Name = "lookAtX", Type = "number", Nilable = false },
|
||||
{ Name = "lookAtY", Type = "number", Nilable = false },
|
||||
{ Name = "lookAtZ", Type = "number", Nilable = false },
|
||||
{ Name = "animID", Type = "number", Nilable = false },
|
||||
{ Name = "animVariation", Type = "number", Nilable = false },
|
||||
{ Name = "animFrame", Type = "number", Nilable = false },
|
||||
{ Name = "useModelCenter", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Camera);
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
local CatalogShopConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CatalogShopVirtualCurrencyConstants",
|
||||
Type = "Constants",
|
||||
Values =
|
||||
{
|
||||
{ Name = "HEARTHSTEEL_VC_CURRENCY_CODE", Type = "cstring", Value = "XVV" },
|
||||
{ Name = "TRADERS_TENDER_VC_CURRENCY_CODE", Type = "cstring", Value = "XWP" },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CatalogShopConstants);
|
||||
@@ -0,0 +1,856 @@
|
||||
local CatalogShop =
|
||||
{
|
||||
Name = "CatalogShop",
|
||||
Type = "System",
|
||||
Namespace = "C_CatalogShop",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "BulkPurchaseProducts",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "productIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canPurchaseProducts", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BulkRefundDecors",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "decorGUIDs", Type = "table", InnerType = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CloseCatalogShopInteraction",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ConfirmHousingPurchase",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "productIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FindBestCurrencyProductForNeededAmount",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "vcCurrencyCode", Type = "string", Nilable = false },
|
||||
{ Name = "amountNeeded", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "vcProductID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAvailableCategoryIDs",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "categoryIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAvailableTransmogRaceInfos",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "raceIDs", Type = "table", InnerType = "AvailableRaceInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCatalogShopProductDisplayInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "catalogShopProductID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "item", Type = "CatalogShopProductDisplayInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCategoryInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "categoryID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "categoryInfo", Type = "CatalogShopCategoryInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCategorySectionInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "categoryID", Type = "number", Nilable = false },
|
||||
{ Name = "sectionID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "sectionInfo", Type = "CatalogShopSectionInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFailureInfo",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "errorResultEnum", Type = "StoreError", Nilable = true },
|
||||
{ Name = "errorResultRaw", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFirstCategoryByProductID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "productID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "categoryInfo", Type = "CatalogShopCategoryInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNewProducts",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "newProducts", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetProductAvailabilityTimeRemainingSecs",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "catalogShopProductID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "timeRemainingSecs", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetProductIDsForBundle",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bundleProductID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "childIDs", Type = "table", InnerType = "CatalogShopBundleChildInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetProductIDsForCategory",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "categoryID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "productIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetProductIDsForCategorySection",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "categoryID", Type = "number", Nilable = false },
|
||||
{ Name = "sectionID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "productIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetProductInfo",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "productID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "productInfo", Type = "CatalogShopProductInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetProductSortOrder",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "categoryID", Type = "number", Nilable = false },
|
||||
{ Name = "sectionID", Type = "number", Nilable = false },
|
||||
{ Name = "productID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "sortOrder", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetRefundableDecors",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "productIdFilterOpt", Type = "number", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "refundableDecorInfos", Type = "table", InnerType = "RefundableDecorInfo", Nilable = false },
|
||||
{ Name = "minTimeRemainingSeconds", Type = "time_t", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSectionIDsForCategory",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "categoryID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "sectionIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSpellVisualInfoForMount",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "spellVisualID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "spellVisualInfo", Type = "CatalogShopSpellVisualInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetVCProductInfos",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "vcProductInfos", Type = "table", InnerType = "CatalogShopVCProductInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetVirtualCurrencyBalance",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "currencyCode", Type = "string", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "balance", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasNewProducts",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasNewProducts", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsProductIncludedInAnyBundle",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "productID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isIncludedInAnyBundle", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsShop2Enabled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "value", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "OnLegalDisclaimerClicked",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "catalogShopProductID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "OnLegalPersonalizedOptOutClicked",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "OpenCatalogShopInteractionFromHouse",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "shoppingSessionUUIDStr", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "OpenCatalogShopInteractionFromShop",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "shoppingSessionUUIDStr", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ProductDisplayedTelemetry",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "categoryId", Type = "number", Nilable = false },
|
||||
{ Name = "sectionId", Type = "number", Nilable = false },
|
||||
{ Name = "catalogShopProductID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ProductSelectedTelemetry",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "categoryId", Type = "number", Nilable = false },
|
||||
{ Name = "sectionId", Type = "number", Nilable = false },
|
||||
{ Name = "catalogShopProductID", Type = "number", Nilable = false },
|
||||
{ Name = "wasCodeSelection", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PurchaseProduct",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "productID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canPurchase", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RefreshRefundableDecors",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "RefreshVirtualCurrencyBalance",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "currencyCode", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ShouldShowHousingWarning",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "shouldShowHousingWarning", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "StartHousingVCPurchaseConfirmation",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "productID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BulkPurchaseResultReceived",
|
||||
Type = "Event",
|
||||
LiteralName = "BULK_PURCHASE_RESULT_RECEIVED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "result", Type = "BulkPurchaseResult", Nilable = false },
|
||||
{ Name = "productResults", Type = "table", InnerType = "BulkPurchaseIndividualProductResult", Nilable = false },
|
||||
{ Name = "bestTopUpProductID", Type = "number", Nilable = true },
|
||||
{ Name = "totalCost", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BulkRefundResultReceived",
|
||||
Type = "Event",
|
||||
LiteralName = "BULK_REFUND_RESULT_RECEIVED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "result", Type = "BulkRefundResult", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopAddPendingProduct",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_ADD_PENDING_PRODUCT",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "productID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopDataRefresh",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_DATA_REFRESH",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "shoppingSessionUUIDStr", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopDisabled",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_DISABLED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopFetchFailure",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_FETCH_FAILURE",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "shoppingSessionUUIDStr", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopFetchSuccess",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_FETCH_SUCCESS",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "shoppingSessionUUIDStr", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopOpenSimpleCheckout",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_OPEN_SIMPLE_CHECKOUT",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "checkoutID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopPurchaseSuccess",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_PURCHASE_SUCCESS",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "productID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopRebuildScrollBox",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_REBUILD_SCROLL_BOX",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopRefundableDecorsUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_REFUNDABLE_DECORS_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopRemovePendingProduct",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_REMOVE_PENDING_PRODUCT",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "productID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopResultError",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_RESULT_ERROR",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopSpecificProductRefresh",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_SPECIFIC_PRODUCT_REFRESH",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "productID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopVirtualCurrencyBalanceUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_VIRTUAL_CURRENCY_BALANCE_UPDATE",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "currencyCode", Type = "string", Nilable = false },
|
||||
{ Name = "balance", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopVirtualCurrencyBalanceUpdateFailure",
|
||||
Type = "Event",
|
||||
LiteralName = "CATALOG_SHOP_VIRTUAL_CURRENCY_BALANCE_UPDATE_FAILURE",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "currencyCode", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSeenProducts",
|
||||
Type = "Event",
|
||||
LiteralName = "SET_SEEN_PRODUCTS",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "productIds", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ShowNewProductNotification",
|
||||
Type = "Event",
|
||||
LiteralName = "SHOW_NEW_PRODUCT_NOTIFICATION",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AvailableRaceInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "raceID", Type = "number", Nilable = false },
|
||||
{ Name = "displayName", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BulkPurchaseIndividualProductResult",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "recordId", Type = "number", Nilable = false },
|
||||
{ Name = "parentProductId", Type = "number", Nilable = true },
|
||||
{ Name = "entitlementId", Type = "string", Nilable = false },
|
||||
{ Name = "externalTransactionId", Type = "string", Nilable = false },
|
||||
{ Name = "status", Type = "SimpleOrderStatus", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopBundleChildInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "childProductID", Type = "number", Nilable = false },
|
||||
{ Name = "displayOrder", Type = "number", Nilable = false },
|
||||
{ Name = "quantityInBundle", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopCategoryInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ID", Type = "number", Nilable = false },
|
||||
{ Name = "displayName", Type = "string", Nilable = false },
|
||||
{ Name = "iconTexture", Type = "string", Nilable = false },
|
||||
{ Name = "linkTag", Type = "string", Nilable = false },
|
||||
{ Name = "isDisabled", Type = "bool", Nilable = false },
|
||||
{ Name = "showPersistentRefundButton", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopProductDisplayInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "defaultPreviewModelSceneID", Type = "number", Nilable = false },
|
||||
{ Name = "defaultCardModelSceneID", Type = "number", Nilable = false },
|
||||
{ Name = "defaultWideCardModelSceneID", Type = "number", Nilable = false },
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
{ Name = "overridePreviewModelSceneID", Type = "number", Nilable = true },
|
||||
{ Name = "overrideCardModelSceneID", Type = "number", Nilable = true },
|
||||
{ Name = "overrideWideCardModelSceneID", Type = "number", Nilable = true },
|
||||
{ Name = "creatureDisplayInfoIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
{ Name = "spellVisualIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
{ Name = "mainHandItemModifiedAppearanceID", Type = "number", Nilable = true },
|
||||
{ Name = "offHandItemModifiedAppearanceID", Type = "number", Nilable = true },
|
||||
{ Name = "itemModifiedAppearanceIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
{ Name = "iconFileDataID", Type = "number", Nilable = true },
|
||||
{ Name = "iconTextureKit", Type = "textureKit", Nilable = true },
|
||||
{ Name = "productType", Type = "string", Nilable = true },
|
||||
{ Name = "itemDescription", Type = "string", Nilable = true },
|
||||
{ Name = "hasUnknownLicense", Type = "bool", Nilable = false },
|
||||
{ Name = "productPMTURL", Type = "string", Nilable = true },
|
||||
{ Name = "additionalProductPMTURLs", Type = "table", InnerType = "string", Nilable = false },
|
||||
{ Name = "otherProductImageAtlasName", Type = "string", Nilable = true },
|
||||
{ Name = "otherProductGameTitleBaseTag", Type = "string", Nilable = true },
|
||||
{ Name = "otherProductGameType", Type = "string", Nilable = true },
|
||||
{ Name = "customLoopingSoundStart", Type = "number", Nilable = true },
|
||||
{ Name = "customLoopingSoundMiddle", Type = "number", Nilable = true },
|
||||
{ Name = "customLoopingSoundEnd", Type = "number", Nilable = true },
|
||||
{ Name = "specialActorID_1", Type = "string", Nilable = true },
|
||||
{ Name = "specialActorID_2", Type = "string", Nilable = true },
|
||||
{ Name = "specialActorID_3", Type = "string", Nilable = true },
|
||||
{ Name = "specialActorID_4", Type = "string", Nilable = true },
|
||||
{ Name = "specialActorID_5", Type = "string", Nilable = true },
|
||||
{ Name = "gameFlavorID", Type = "number", Nilable = true },
|
||||
{ Name = "decorFileDataID", Type = "number", Nilable = true },
|
||||
{ Name = "quantity", Type = "number", Nilable = true },
|
||||
{ Name = "houseTextureAtlas", Type = "textureAtlas", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopProductInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "catalogShopProductID", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "type", Type = "string", Nilable = true },
|
||||
{ Name = "description", Type = "string", Nilable = false },
|
||||
{ Name = "iconTexture", Type = "string", Nilable = false },
|
||||
{ Name = "isFullyOwned", Type = "bool", Nilable = false },
|
||||
{ Name = "isPurchasePending", Type = "bool", Nilable = false },
|
||||
{ Name = "refundable", Type = "bool", Nilable = false },
|
||||
{ Name = "price", Type = "string", Nilable = false },
|
||||
{ Name = "originalPrice", Type = "string", Nilable = false },
|
||||
{ Name = "discountPercentage", Type = "number", Nilable = false },
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
{ Name = "mountID", Type = "number", Nilable = false },
|
||||
{ Name = "mountTypeName", Type = "string", Nilable = false },
|
||||
{ Name = "speciesID", Type = "number", Nilable = false },
|
||||
{ Name = "transmogSetID", Type = "number", Nilable = false },
|
||||
{ Name = "itemModifiedAppearanceID", Type = "number", Nilable = false },
|
||||
{ Name = "subItems", Type = "table", InnerType = "CatalogShopSubItemInfo", Nilable = false },
|
||||
{ Name = "subItemsLoaded", Type = "bool", Nilable = false },
|
||||
{ Name = "backgroundTexture", Type = "string", Nilable = false },
|
||||
{ Name = "foregroundTexture", Type = "string", Nilable = true },
|
||||
{ Name = "smallCardBGTexture", Type = "string", Nilable = true },
|
||||
{ Name = "smallCardFGTexture", Type = "string", Nilable = true },
|
||||
{ Name = "wideCardBGTexture", Type = "string", Nilable = true },
|
||||
{ Name = "wideCardFGTexture", Type = "string", Nilable = true },
|
||||
{ Name = "previewIconTexture", Type = "string", Nilable = true },
|
||||
{ Name = "optionalWideCardBackgroundTexture", Type = "string", Nilable = true },
|
||||
{ Name = "isBundle", Type = "bool", Nilable = false },
|
||||
{ Name = "bundleChildrenSize", Type = "number", Nilable = false },
|
||||
{ Name = "licenseTermType", Type = "number", Nilable = false },
|
||||
{ Name = "licenseTermDuration", Type = "number", Nilable = false },
|
||||
{ Name = "virtualCurrencies", Type = "table", InnerType = "CatalogShopVirtualCurrency", Nilable = false },
|
||||
{ Name = "isHidden", Type = "bool", Nilable = false },
|
||||
{ Name = "isMystery", Type = "bool", Nilable = false },
|
||||
{ Name = "hasPendingOrders", Type = "bool", Nilable = false },
|
||||
{ Name = "numBundleDetailCards", Type = "number", Nilable = false },
|
||||
{ Name = "isDynamicallyDiscounted", Type = "bool", Nilable = false },
|
||||
{ Name = "shouldShowOriginalPrice", Type = "bool", Nilable = false },
|
||||
{ Name = "wideCardBGOverrideProductURL", Type = "string", Nilable = true },
|
||||
{ Name = "previewBGOverrideProductURL", Type = "string", Nilable = true },
|
||||
{ Name = "previewSmallBGOverrideProductURL", Type = "string", Nilable = true },
|
||||
{ Name = "decorQuantity", Type = "DecorQuantity", Nilable = true },
|
||||
{ Name = "isVCProduct", Type = "bool", Nilable = false },
|
||||
{ Name = "containsHousingItem", Type = "bool", Nilable = false },
|
||||
{ Name = "deferredGameTimeDays", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopSectionInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ID", Type = "number", Nilable = false },
|
||||
{ Name = "displayName", Type = "string", Nilable = false },
|
||||
{ Name = "parentCatalogShopCategoryInfoID", Type = "number", Nilable = true },
|
||||
{ Name = "cardType", Type = "string", Nilable = true },
|
||||
{ Name = "scrollGridSize", Type = "number", Nilable = true },
|
||||
{ Name = "shouldShowRecommendationOptOutDisclaimer", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopSpellVisualInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "animID", Type = "number", Nilable = true },
|
||||
{ Name = "spellVisualKitID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopSubItemInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
{ Name = "itemAppearanceID", Type = "number", Nilable = false },
|
||||
{ Name = "invType", Type = "string", Nilable = false },
|
||||
{ Name = "quality", Type = "ItemQuality", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopVCProductInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "vcProductID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CatalogShopVirtualCurrency",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "amount", Type = "number", Nilable = false },
|
||||
{ Name = "currencyCode", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DecorQuantity",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "placedQuantity", Type = "number", Nilable = false },
|
||||
{ Name = "storedQuantity", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RefundableDecorInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "decorGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "timeRemainingSeconds", Type = "time_t", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "price", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CatalogShop);
|
||||
+540
@@ -0,0 +1,540 @@
|
||||
local ChallengeModeInfo =
|
||||
{
|
||||
Name = "ChallengeModeInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_ChallengeMode",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CanUseKeystoneInCurrentMap",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemLocation", Type = "ItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canUse", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClearKeystone",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "CloseKeystoneFrame",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "GetActiveChallengeMapID",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "mapChallengeModeID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetActiveKeystoneInfo",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "activeKeystoneLevel", Type = "number", Nilable = false },
|
||||
{ Name = "activeAffixIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
{ Name = "wasActiveKeystoneCharged", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAffixInfo",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "affixID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "description", Type = "cstring", Nilable = false },
|
||||
{ Name = "filedataid", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetChallengeCompletionInfo",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "ChallengeCompletionInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDeathCount",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numDeaths", Type = "number", Nilable = false },
|
||||
{ Name = "timeLost", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDungeonScoreRarityColor",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Returns a color value from the passed in overall season M+ rating." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "dungeonScore", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "scoreColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetGuildLeaders",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "topAttempt", Type = "table", InnerType = "ChallengeModeGuildTopAttempt", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetKeystoneLevelRarityColor",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Returns a color value from the passed in keystone level." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "level", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "levelScore", Type = "colorRGB", Mixin = "ColorMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetLeaverPenaltyWarningTimeLeft",
|
||||
Type = "Function",
|
||||
Documentation = { "Returns how much time is left before player is automatically flagged as a leaver (and removed from the group) for exiting a restricted challenge mode instance" },
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "timeLeftSeconds", Type = "number", Nilable = false, Default = 0 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMapScoreInfo",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "displayScores", Type = "table", InnerType = "MythicPlusRatingLinkInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMapTable",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "mapChallengeModeIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMapUIInfo",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "mapChallengeModeID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "timeLimit", Type = "number", Nilable = false },
|
||||
{ Name = "texture", Type = "number", Nilable = true },
|
||||
{ Name = "backgroundTexture", Type = "number", Nilable = false },
|
||||
{ Name = "mapID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetOverallDungeonScore",
|
||||
Type = "Function",
|
||||
Documentation = { "Gets the overall season mythic+ rating for the player." },
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "overallDungeonScore", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPowerLevelDamageHealthMod",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "powerLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "damageMod", Type = "number", Nilable = false },
|
||||
{ Name = "healthMod", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSlottedKeystoneInfo",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "mapChallengeModeID", Type = "number", Nilable = false },
|
||||
{ Name = "affixIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
{ Name = "keystoneLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSpecificDungeonOverallScoreRarityColor",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Returns a color value from the passed in mythic+ rating from the combined affix scores for a specific dungeon" },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "specificDungeonOverallScore", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "specificDungeonOverallScoreColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSpecificDungeonScoreRarityColor",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Returns a color value from the passed in mythic+ rating for a specific dungeon." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "specificDungeonScore", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "specificDungeonScoreColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetStartTime",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "startTime", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasSlottedKeystone",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasSlottedKeystone", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsChallengeModeActive",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "challengeModeActive", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsChallengeModeResettable",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canReset", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RemoveKeystone",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "removalSuccessful", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RequestLeaders",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "mapChallengeModeID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Reset",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "SlotKeystone",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "StartChallengeMode",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "ChallengeModeCompleted",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_COMPLETED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeCompletedRewards",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_COMPLETED_REWARDS",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "mapID", Type = "number", Nilable = false },
|
||||
{ Name = "medal", Type = "number", Nilable = false },
|
||||
{ Name = "timeMS", Type = "number", Nilable = false },
|
||||
{ Name = "money", Type = "number", Nilable = false },
|
||||
{ Name = "rewards", Type = "table", InnerType = "ChallengeModeReward", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeDeathCountUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_DEATH_COUNT_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeKeystoneReceptableOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_KEYSTONE_RECEPTABLE_OPEN",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeKeystoneSlotted",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_KEYSTONE_SLOTTED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "keystoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeLeaderboardResult",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_LEADERBOARD_RESULT",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "mapID", Type = "number", Nilable = false },
|
||||
{ Name = "challengeModeID", Type = "number", Nilable = false },
|
||||
{ Name = "page", Type = "number", Nilable = false },
|
||||
{ Name = "results", Type = "table", InnerType = "MythicPlusLeaderboardResult", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeLeadersUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_LEADERS_UPDATE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeLeaverTimerEnded",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_LEAVER_TIMER_ENDED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeLeaverTimerStarted",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_LEAVER_TIMER_STARTED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeMapsUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_MAPS_UPDATE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeMemberInfoUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_MEMBER_INFO_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeNewRecord",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_NEW_RECORD",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "mapID", Type = "number", Nilable = false },
|
||||
{ Name = "timeMS", Type = "number", Nilable = false },
|
||||
{ Name = "medal", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeReset",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_RESET",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "mapID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeStart",
|
||||
Type = "Event",
|
||||
LiteralName = "CHALLENGE_MODE_START",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "mapID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ChallengeCompletionInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "mapChallengeModeID", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "level", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "time", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "onTime", Type = "bool", Nilable = false, Default = false },
|
||||
{ Name = "keystoneUpgradeLevels", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "practiceRun", Type = "bool", Nilable = false, Default = false },
|
||||
{ Name = "oldOverallDungeonScore", Type = "number", Nilable = true },
|
||||
{ Name = "newOverallDungeonScore", Type = "number", Nilable = true },
|
||||
{ Name = "isMapRecord", Type = "bool", Nilable = false, Default = false },
|
||||
{ Name = "isAffixRecord", Type = "bool", Nilable = false, Default = false },
|
||||
{ Name = "isEligibleForScore", Type = "bool", Nilable = false, Default = false },
|
||||
{ Name = "members", Type = "table", InnerType = "ChallengeModeCompletionMemberInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeBestTime",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "mapChallengeModeID", Type = "number", Nilable = false },
|
||||
{ Name = "durationMs", Type = "number", Nilable = false },
|
||||
{ Name = "members", Type = "table", InnerType = "ChallengeModeBestTimeMember", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeBestTimeMember",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "classFileName", Type = "cstring", Nilable = false },
|
||||
{ Name = "className", Type = "cstring", Nilable = false },
|
||||
{ Name = "specializationID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeCompletionMemberInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "memberGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeGuildAttemptMember",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "classFileName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeGuildTopAttempt",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "classFileName", Type = "cstring", Nilable = false },
|
||||
{ Name = "keystoneLevel", Type = "number", Nilable = false },
|
||||
{ Name = "mapChallengeModeID", Type = "number", Nilable = false },
|
||||
{ Name = "isYou", Type = "bool", Nilable = false },
|
||||
{ Name = "members", Type = "table", InnerType = "ChallengeModeGuildAttemptMember", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChallengeModeReward",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "rewardID", Type = "number", Nilable = false },
|
||||
{ Name = "displayInfoID", Type = "number", Nilable = false },
|
||||
{ Name = "quantity", Type = "number", Nilable = false },
|
||||
{ Name = "isCurrency", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ChallengeModeInfo);
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
local CharacterCreationConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CharCreateAnimTurnType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Normal", Type = "CharCreateAnimTurnType", EnumValue = 0 },
|
||||
{ Name = "Torso", Type = "CharCreateAnimTurnType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CharSectionCondition",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "AlliedRace", Type = "CharSectionCondition", EnumValue = 0 },
|
||||
{ Name = "HeritageArmor", Type = "CharSectionCondition", EnumValue = 1 },
|
||||
{ Name = "ConditionalAppeareance", Type = "CharSectionCondition", EnumValue = 2 },
|
||||
{ Name = "RaceClassCombo", Type = "CharSectionCondition", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RestrictionType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Invalid", Type = "RestrictionType", EnumValue = 0 },
|
||||
{ Name = "ServerExpansion", Type = "RestrictionType", EnumValue = 1 },
|
||||
{ Name = "AccountExpansion", Type = "RestrictionType", EnumValue = 2 },
|
||||
{ Name = "Achievement", Type = "RestrictionType", EnumValue = 3 },
|
||||
{ Name = "Entitlement", Type = "RestrictionType", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CharacterCreationConstants);
|
||||
+149
@@ -0,0 +1,149 @@
|
||||
local CharacterCustomizationShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CharCustomizationType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 9,
|
||||
MinValue = 0,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Skin", Type = "CharCustomizationType", EnumValue = 0 },
|
||||
{ Name = "Face", Type = "CharCustomizationType", EnumValue = 1 },
|
||||
{ Name = "Hair", Type = "CharCustomizationType", EnumValue = 2 },
|
||||
{ Name = "HairColor", Type = "CharCustomizationType", EnumValue = 3 },
|
||||
{ Name = "FacialHair", Type = "CharCustomizationType", EnumValue = 4 },
|
||||
{ Name = "CustomOptionTattoo", Type = "CharCustomizationType", EnumValue = 5 },
|
||||
{ Name = "CustomOptionHorn", Type = "CharCustomizationType", EnumValue = 6 },
|
||||
{ Name = "CustomOptionFacewear", Type = "CharCustomizationType", EnumValue = 7 },
|
||||
{ Name = "CustomOptionTattooColor", Type = "CharCustomizationType", EnumValue = 8 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChrCustomizationCategoryFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 1,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "UndressModel", Type = "ChrCustomizationCategoryFlag", EnumValue = 1 },
|
||||
{ Name = "Subcategory", Type = "ChrCustomizationCategoryFlag", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChrCustomizationOptionType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Dropdown", Type = "ChrCustomizationOptionType", EnumValue = 0 },
|
||||
{ Name = "Checkbox", Type = "ChrCustomizationOptionType", EnumValue = 1 },
|
||||
{ Name = "Slider", Type = "ChrCustomizationOptionType", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChrModelFeatureFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 0,
|
||||
MaxValue = 64,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ChrModelFeatureFlags", EnumValue = 0 },
|
||||
{ Name = "Summons", Type = "ChrModelFeatureFlags", EnumValue = 1 },
|
||||
{ Name = "Forms", Type = "ChrModelFeatureFlags", EnumValue = 2 },
|
||||
{ Name = "Identity", Type = "ChrModelFeatureFlags", EnumValue = 4 },
|
||||
{ Name = "Deprecated0", Type = "ChrModelFeatureFlags", EnumValue = 8 },
|
||||
{ Name = "Mounts", Type = "ChrModelFeatureFlags", EnumValue = 16 },
|
||||
{ Name = "HunterPets", Type = "ChrModelFeatureFlags", EnumValue = 32 },
|
||||
{ Name = "Players", Type = "ChrModelFeatureFlags", EnumValue = 64 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "NewCharGear",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Start", Type = "NewCharGear", EnumValue = 0 },
|
||||
{ Name = "Preview", Type = "NewCharGear", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CharCustomizationCategory",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "orderIndex", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "icon", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "selectedIcon", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "undressModel", Type = "bool", Nilable = false },
|
||||
{ Name = "subcategory", Type = "bool", Nilable = false },
|
||||
{ Name = "cameraZoomLevel", Type = "number", Nilable = false },
|
||||
{ Name = "cameraDistanceOffset", Type = "number", Nilable = false },
|
||||
{ Name = "spellShapeshiftFormID", Type = "number", Nilable = true },
|
||||
{ Name = "chrModelID", Type = "number", Nilable = true },
|
||||
{ Name = "options", Type = "table", InnerType = "CharCustomizationOption", Nilable = false },
|
||||
{ Name = "hasNewChoices", Type = "bool", Nilable = false },
|
||||
{ Name = "needsNativeFormCategory", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CharCustomizationChoice",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "ineligibleChoice", Type = "bool", Nilable = false },
|
||||
{ Name = "isNew", Type = "bool", Nilable = false },
|
||||
{ Name = "swatchColor1", Type = "colorRGB", Mixin = "ColorMixin", Nilable = true },
|
||||
{ Name = "swatchColor2", Type = "colorRGB", Mixin = "ColorMixin", Nilable = true },
|
||||
{ Name = "soundKit", Type = "number", Nilable = true },
|
||||
{ Name = "isLocked", Type = "bool", Nilable = false },
|
||||
{ Name = "lockedText", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CharCustomizationConstants",
|
||||
Type = "Constants",
|
||||
Values =
|
||||
{
|
||||
{ Name = "CHAR_CUSTOMIZE_CUSTOM_DISPLAY_OPTION_FIRST", Type = "CharCustomizationType", Value = "CustomOptionTattoo" },
|
||||
{ Name = "CHAR_CUSTOMIZE_CUSTOM_DISPLAY_OPTION_LAST", Type = "CharCustomizationType", Value = "CustomOptionTattooColor" },
|
||||
{ Name = "NUM_CUSTOM_DISPLAY", Type = "number", Value = Constants.CharCustomizationConstants.CHAR_CUSTOMIZE_CUSTOM_DISPLAY_OPTION_LAST - Constants.CharCustomizationConstants.CHAR_CUSTOMIZE_CUSTOM_DISPLAY_OPTION_FIRST + 1 },
|
||||
{ Name = "NAME_RESERVATION_DAYS", Type = "number", Value = 30 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CharCustomizationOption",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "orderIndex", Type = "number", Nilable = false },
|
||||
{ Name = "optionType", Type = "ChrCustomizationOptionType", Nilable = false },
|
||||
{ Name = "choices", Type = "table", InnerType = "CharCustomizationChoice", Nilable = false },
|
||||
{ Name = "currentChoiceIndex", Type = "luaIndex", Nilable = true },
|
||||
{ Name = "hasNewChoices", Type = "bool", Nilable = false },
|
||||
{ Name = "isSound", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CharacterCustomizationShared);
|
||||
+139
@@ -0,0 +1,139 @@
|
||||
local CharacterSelectionConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "WarbandEventState",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 0,
|
||||
MaxValue = 7,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "WarbandEventState", EnumValue = 0 },
|
||||
{ Name = "DelayingEvent", Type = "WarbandEventState", EnumValue = 1 },
|
||||
{ Name = "SheathingWeapon", Type = "WarbandEventState", EnumValue = 2 },
|
||||
{ Name = "DelayingStandStateTransition", Type = "WarbandEventState", EnumValue = 3 },
|
||||
{ Name = "StandStateTransitioning", Type = "WarbandEventState", EnumValue = 4 },
|
||||
{ Name = "ShowingWeapon", Type = "WarbandEventState", EnumValue = 5 },
|
||||
{ Name = "StandStateLooping", Type = "WarbandEventState", EnumValue = 6 },
|
||||
{ Name = "NumWarbandEventStates", Type = "WarbandEventState", EnumValue = 7 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "WarbandGroupFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "WarbandGroupFlags", EnumValue = 0 },
|
||||
{ Name = "Collapsed", Type = "WarbandGroupFlags", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "WarbandPlacementDisplayInfoType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Model", Type = "WarbandPlacementDisplayInfoType", EnumValue = 0 },
|
||||
{ Name = "Creature", Type = "WarbandPlacementDisplayInfoType", EnumValue = 1 },
|
||||
{ Name = "Item", Type = "WarbandPlacementDisplayInfoType", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "WarbandSceneAnimationEvent",
|
||||
Type = "Enumeration",
|
||||
NumValues = 10,
|
||||
MinValue = 0,
|
||||
MaxValue = 9,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "StartingPose", Type = "WarbandSceneAnimationEvent", EnumValue = 0 },
|
||||
{ Name = "Idle", Type = "WarbandSceneAnimationEvent", EnumValue = 1 },
|
||||
{ Name = "Mouseover", Type = "WarbandSceneAnimationEvent", EnumValue = 2 },
|
||||
{ Name = "Select", Type = "WarbandSceneAnimationEvent", EnumValue = 3 },
|
||||
{ Name = "Deselect", Type = "WarbandSceneAnimationEvent", EnumValue = 4 },
|
||||
{ Name = "Insert", Type = "WarbandSceneAnimationEvent", EnumValue = 5 },
|
||||
{ Name = "EnterWorld", Type = "WarbandSceneAnimationEvent", EnumValue = 6 },
|
||||
{ Name = "Spin", Type = "WarbandSceneAnimationEvent", EnumValue = 7 },
|
||||
{ Name = "Poke", Type = "WarbandSceneAnimationEvent", EnumValue = 8 },
|
||||
{ Name = "Ffx", Type = "WarbandSceneAnimationEvent", EnumValue = 9 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "WarbandSceneAnimationSheatheState",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Maintain", Type = "WarbandSceneAnimationSheatheState", EnumValue = 0 },
|
||||
{ Name = "SheatheWeapons", Type = "WarbandSceneAnimationSheatheState", EnumValue = 1 },
|
||||
{ Name = "ShowWeapons", Type = "WarbandSceneAnimationSheatheState", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "WarbandSceneAnimationStandState",
|
||||
Type = "Enumeration",
|
||||
NumValues = 9,
|
||||
MinValue = 0,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Maintain", Type = "WarbandSceneAnimationStandState", EnumValue = 0 },
|
||||
{ Name = "Stand", Type = "WarbandSceneAnimationStandState", EnumValue = 1 },
|
||||
{ Name = "SitOnGround", Type = "WarbandSceneAnimationStandState", EnumValue = 2 },
|
||||
{ Name = "Kneel", Type = "WarbandSceneAnimationStandState", EnumValue = 3 },
|
||||
{ Name = "ReadyStance", Type = "WarbandSceneAnimationStandState", EnumValue = 4 },
|
||||
{ Name = "SitOnChairLow", Type = "WarbandSceneAnimationStandState", EnumValue = 5 },
|
||||
{ Name = "SitOnChairMedium", Type = "WarbandSceneAnimationStandState", EnumValue = 6 },
|
||||
{ Name = "SitOnChairHigh", Type = "WarbandSceneAnimationStandState", EnumValue = 7 },
|
||||
{ Name = "Sleep", Type = "WarbandSceneAnimationStandState", EnumValue = 8 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "WarbandSceneAnimationStandStateFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 9,
|
||||
MinValue = 1,
|
||||
MaxValue = 256,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Maintain", Type = "WarbandSceneAnimationStandStateFlags", EnumValue = 1 },
|
||||
{ Name = "Stand", Type = "WarbandSceneAnimationStandStateFlags", EnumValue = 2 },
|
||||
{ Name = "SitOnGround", Type = "WarbandSceneAnimationStandStateFlags", EnumValue = 4 },
|
||||
{ Name = "Kneel", Type = "WarbandSceneAnimationStandStateFlags", EnumValue = 8 },
|
||||
{ Name = "ReadyStance", Type = "WarbandSceneAnimationStandStateFlags", EnumValue = 16 },
|
||||
{ Name = "SitOnChairLow", Type = "WarbandSceneAnimationStandStateFlags", EnumValue = 32 },
|
||||
{ Name = "SitOnChairMedium", Type = "WarbandSceneAnimationStandStateFlags", EnumValue = 64 },
|
||||
{ Name = "SitOnChairHigh", Type = "WarbandSceneAnimationStandStateFlags", EnumValue = 128 },
|
||||
{ Name = "Sleep", Type = "WarbandSceneAnimationStandStateFlags", EnumValue = 256 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "WarbandScenePlacementType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Character", Type = "WarbandScenePlacementType", EnumValue = 0 },
|
||||
{ Name = "Pet", Type = "WarbandScenePlacementType", EnumValue = 1 },
|
||||
{ Name = "Chair", Type = "WarbandScenePlacementType", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CharacterSelectionConstants);
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
local CharacterServicesConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CharacterServiceInfoFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 1,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "RestrictToRecommendedSpecs", Type = "CharacterServiceInfoFlag", EnumValue = 1 },
|
||||
{ Name = "AllowMaxLevelBoost", Type = "CharacterServiceInfoFlag", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "NoRPEReason",
|
||||
Type = "Enumeration",
|
||||
NumValues = 11,
|
||||
MinValue = 0,
|
||||
MaxValue = 10,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "HasRPE", Type = "NoRPEReason", EnumValue = 0 },
|
||||
{ Name = "LowLevel", Type = "NoRPEReason", EnumValue = 1 },
|
||||
{ Name = "Timerunner", Type = "NoRPEReason", EnumValue = 2 },
|
||||
{ Name = "IneligibleMap", Type = "NoRPEReason", EnumValue = 3 },
|
||||
{ Name = "RecentlyActive", Type = "NoRPEReason", EnumValue = 4 },
|
||||
{ Name = "RecentlyBoosted", Type = "NoRPEReason", EnumValue = 5 },
|
||||
{ Name = "UpgradeInProgress", Type = "NoRPEReason", EnumValue = 6 },
|
||||
{ Name = "FactionOrRaceChange", Type = "NoRPEReason", EnumValue = 7 },
|
||||
{ Name = "BNetToken", Type = "NoRPEReason", EnumValue = 8 },
|
||||
{ Name = "PlayerLocked", Type = "NoRPEReason", EnumValue = 9 },
|
||||
{ Name = "RPEDisabled", Type = "NoRPEReason", EnumValue = 10 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CharacterServicesConstants);
|
||||
@@ -0,0 +1,40 @@
|
||||
local ChatBubbles =
|
||||
{
|
||||
Name = "ChatBubbles",
|
||||
Type = "System",
|
||||
Namespace = "C_ChatBubbles",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetAllChatBubbles",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "includeForbidden", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "chatBubbles", Type = "table", InnerType = "ChatBubbleFrame", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ChatBubbles);
|
||||
@@ -0,0 +1,241 @@
|
||||
local ChatConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ChannelPlayerFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ChannelPlayerNone", Type = "ChannelPlayerFlags", EnumValue = 0 },
|
||||
{ Name = "ChannelPlayerOwner", Type = "ChannelPlayerFlags", EnumValue = 1 },
|
||||
{ Name = "ChannelPlayerModerator", Type = "ChannelPlayerFlags", EnumValue = 2 },
|
||||
{ Name = "ChannelPlayerTextAllow", Type = "ChannelPlayerFlags", EnumValue = 4 },
|
||||
{ Name = "ChannelPlayerHidden", Type = "ChannelPlayerFlags", EnumValue = 8 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChatChannelRuleset",
|
||||
Type = "Enumeration",
|
||||
NumValues = 9,
|
||||
MinValue = 0,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ChatChannelRuleset", EnumValue = 0 },
|
||||
{ Name = "Mentor", Type = "ChatChannelRuleset", EnumValue = 1 },
|
||||
{ Name = "Disabled", Type = "ChatChannelRuleset", EnumValue = 2 },
|
||||
{ Name = "ChromieTimeCataclysm", Type = "ChatChannelRuleset", EnumValue = 3 },
|
||||
{ Name = "ChromieTimeBuringCrusade", Type = "ChatChannelRuleset", EnumValue = 4 },
|
||||
{ Name = "ChromieTimeWrath", Type = "ChatChannelRuleset", EnumValue = 5 },
|
||||
{ Name = "ChromieTimeMists", Type = "ChatChannelRuleset", EnumValue = 6 },
|
||||
{ Name = "ChromieTimeWoD", Type = "ChatChannelRuleset", EnumValue = 7 },
|
||||
{ Name = "ChromieTimeLegion", Type = "ChatChannelRuleset", EnumValue = 8 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChatChannelType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ChatChannelType", EnumValue = 0 },
|
||||
{ Name = "Custom", Type = "ChatChannelType", EnumValue = 1 },
|
||||
{ Name = "PrivateParty", Type = "ChatChannelType", EnumValue = 2 },
|
||||
{ Name = "PublicParty", Type = "ChatChannelType", EnumValue = 3 },
|
||||
{ Name = "Communities", Type = "ChatChannelType", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChatToxityFilterOptOut",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 4294967295,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "FilterAll", Type = "ChatToxityFilterOptOut", EnumValue = 0 },
|
||||
{ Name = "ExcludeFilterFriend", Type = "ChatToxityFilterOptOut", EnumValue = 1 },
|
||||
{ Name = "ExcludeFilterGuild", Type = "ChatToxityFilterOptOut", EnumValue = 2 },
|
||||
{ Name = "ExcludeFilterAll", Type = "ChatToxityFilterOptOut", EnumValue = 4294967295 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChatWhisperTargetStatus",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "CanWhisper", Type = "ChatWhisperTargetStatus", EnumValue = 0 },
|
||||
{ Name = "CanWhisperGuild", Type = "ChatWhisperTargetStatus", EnumValue = 1 },
|
||||
{ Name = "Offline", Type = "ChatWhisperTargetStatus", EnumValue = 2 },
|
||||
{ Name = "WrongFaction", Type = "ChatWhisperTargetStatus", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ExcludedCensorSources",
|
||||
Type = "Enumeration",
|
||||
NumValues = 10,
|
||||
MinValue = 0,
|
||||
MaxValue = 255,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ExcludedCensorSources", EnumValue = 0 },
|
||||
{ Name = "Friends", Type = "ExcludedCensorSources", EnumValue = 1 },
|
||||
{ Name = "Guild", Type = "ExcludedCensorSources", EnumValue = 2 },
|
||||
{ Name = "Reserve1", Type = "ExcludedCensorSources", EnumValue = 4 },
|
||||
{ Name = "Reserve2", Type = "ExcludedCensorSources", EnumValue = 8 },
|
||||
{ Name = "Reserve3", Type = "ExcludedCensorSources", EnumValue = 16 },
|
||||
{ Name = "Reserve4", Type = "ExcludedCensorSources", EnumValue = 32 },
|
||||
{ Name = "Reserve5", Type = "ExcludedCensorSources", EnumValue = 64 },
|
||||
{ Name = "Reserve6", Type = "ExcludedCensorSources", EnumValue = 128 },
|
||||
{ Name = "All", Type = "ExcludedCensorSources", EnumValue = 255 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "LanguageFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 1,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "IsExotic", Type = "LanguageFlag", EnumValue = 1 },
|
||||
{ Name = "HiddenFromPlayer", Type = "LanguageFlag", EnumValue = 2 },
|
||||
{ Name = "HideLanguageNameInChat", Type = "LanguageFlag", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PermanentChatChannelType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "PermanentChatChannelType", EnumValue = 0 },
|
||||
{ Name = "Zone", Type = "PermanentChatChannelType", EnumValue = 1 },
|
||||
{ Name = "Communities", Type = "PermanentChatChannelType", EnumValue = 2 },
|
||||
{ Name = "Custom", Type = "PermanentChatChannelType", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RegisterAddonMessagePrefixResult",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Success", Type = "RegisterAddonMessagePrefixResult", EnumValue = 0 },
|
||||
{ Name = "DuplicatePrefix", Type = "RegisterAddonMessagePrefixResult", EnumValue = 1 },
|
||||
{ Name = "InvalidPrefix", Type = "RegisterAddonMessagePrefixResult", EnumValue = 2 },
|
||||
{ Name = "MaxPrefixes", Type = "RegisterAddonMessagePrefixResult", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SendAddonMessageResult",
|
||||
Type = "Enumeration",
|
||||
NumValues = 13,
|
||||
MinValue = 0,
|
||||
MaxValue = 12,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Success", Type = "SendAddonMessageResult", EnumValue = 0 },
|
||||
{ Name = "InvalidPrefix", Type = "SendAddonMessageResult", EnumValue = 1 },
|
||||
{ Name = "InvalidMessage", Type = "SendAddonMessageResult", EnumValue = 2 },
|
||||
{ Name = "AddonMessageThrottle", Type = "SendAddonMessageResult", EnumValue = 3 },
|
||||
{ Name = "InvalidChatType", Type = "SendAddonMessageResult", EnumValue = 4 },
|
||||
{ Name = "NotInGroup", Type = "SendAddonMessageResult", EnumValue = 5 },
|
||||
{ Name = "TargetRequired", Type = "SendAddonMessageResult", EnumValue = 6 },
|
||||
{ Name = "InvalidChannel", Type = "SendAddonMessageResult", EnumValue = 7 },
|
||||
{ Name = "ChannelThrottle", Type = "SendAddonMessageResult", EnumValue = 8 },
|
||||
{ Name = "GeneralError", Type = "SendAddonMessageResult", EnumValue = 9 },
|
||||
{ Name = "NotInGuild", Type = "SendAddonMessageResult", EnumValue = 10 },
|
||||
{ Name = "AddOnMessageLockdown", Type = "SendAddonMessageResult", EnumValue = 11 },
|
||||
{ Name = "TargetOffline", Type = "SendAddonMessageResult", EnumValue = 12 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "TtsBoolSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "PlaySoundSeparatingChatLineBreaks", Type = "TtsBoolSetting", EnumValue = 0 },
|
||||
{ Name = "AddCharacterNameToSpeech", Type = "TtsBoolSetting", EnumValue = 1 },
|
||||
{ Name = "PlayActivitySoundWhenNotFocused", Type = "TtsBoolSetting", EnumValue = 2 },
|
||||
{ Name = "AlternateSystemVoice", Type = "TtsBoolSetting", EnumValue = 3 },
|
||||
{ Name = "NarrateMyMessages", Type = "TtsBoolSetting", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "TtsVoiceType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Standard", Type = "TtsVoiceType", EnumValue = 0 },
|
||||
{ Name = "Alternate", Type = "TtsVoiceType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChatChannelInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "shortcut", Type = "cstring", Nilable = false },
|
||||
{ Name = "localID", Type = "number", Nilable = false },
|
||||
{ Name = "instanceID", Type = "number", Nilable = false },
|
||||
{ Name = "zoneChannelID", Type = "number", Nilable = false },
|
||||
{ Name = "channelType", Type = "PermanentChatChannelType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChatFrameConstants",
|
||||
Type = "Constants",
|
||||
Values =
|
||||
{
|
||||
{ Name = "MaxChatWindows", Type = "number", Value = 10 },
|
||||
{ Name = "MaxChatChannels", Type = "number", Value = 20 },
|
||||
{ Name = "MaxCharacterNameBytes", Type = "number", Value = FULLNAME_MAX_CHAR },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "TTSConstants",
|
||||
Type = "Constants",
|
||||
Values =
|
||||
{
|
||||
{ Name = "TTSRateMin", Type = "number", Value = -10 },
|
||||
{ Name = "TTSRateMax", Type = "number", Value = 10 },
|
||||
{ Name = "TTSRateDefault", Type = "number", Value = 0 },
|
||||
{ Name = "TTSVolumeMin", Type = "number", Value = 0 },
|
||||
{ Name = "TTSVolumeMax", Type = "number", Value = 100 },
|
||||
{ Name = "TTSVolumeDefault", Type = "number", Value = 100 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
{
|
||||
Name = "RestrictedForMacroChatMessages",
|
||||
Type = "Precondition",
|
||||
Documentation = { "Restricts sending chat messages on chat types that can be observed by external players. Only applies during instance encounters for messages initiated from macros." },
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ChatConstants);
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,23 @@
|
||||
local ChatShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AddonMessageParams",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "prefix", Type = "cstring", Nilable = false },
|
||||
{ Name = "message", Type = "cstring", Nilable = false },
|
||||
{ Name = "chatType", Type = "cstring", Nilable = true, Documentation = { "ChatType, defaults to SLASH_CMD_PARTY." } },
|
||||
{ Name = "target", Type = "cstring", Nilable = true, Documentation = { "Only applies for targeted channels" } },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ChatShared);
|
||||
@@ -0,0 +1,79 @@
|
||||
local ChromieTimeUI =
|
||||
{
|
||||
Name = "ChromieTimeInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_ChromieTime",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CloseUI",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "GetChromieTimeExpansionOption",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "expansionRecID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "ChromieTimeExpansionInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetChromieTimeExpansionOptions",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "expansionOptions", Type = "table", InnerType = "ChromieTimeExpansionInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SelectChromieTimeOption",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "chromieTimeExpansionInfoId", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ChromieTimeExpansionInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "description", Type = "cstring", Nilable = false },
|
||||
{ Name = "mapAtlas", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "previewAtlas", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "completed", Type = "bool", Nilable = false },
|
||||
{ Name = "alreadyOn", Type = "bool", Nilable = false },
|
||||
{ Name = "recommended", Type = "bool", Nilable = false },
|
||||
{ Name = "sortPriority", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ChromieTimeUI);
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
local CinematicConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CinematicType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "GlueMovie", Type = "CinematicType", EnumValue = 0 },
|
||||
{ Name = "GameMovie", Type = "CinematicType", EnumValue = 1 },
|
||||
{ Name = "GameClientScene", Type = "CinematicType", EnumValue = 2 },
|
||||
{ Name = "GameCinematicSequence", Type = "CinematicType", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CinematicConstants);
|
||||
@@ -0,0 +1,134 @@
|
||||
local Cinematic =
|
||||
{
|
||||
Name = "Cinematic",
|
||||
Type = "System",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CinematicFinished",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "movieType", Type = "CinematicType", Nilable = false },
|
||||
{ Name = "userCanceled", Type = "bool", Nilable = false, Default = false },
|
||||
{ Name = "didError", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CinematicStarted",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "movieType", Type = "CinematicType", Nilable = false },
|
||||
{ Name = "movieID", Type = "number", Nilable = false },
|
||||
{ Name = "canCancel", Type = "bool", Nilable = false, Default = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentCinematicSummary",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "summary", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "InCinematic",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "inCinematic", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "MouseOverrideCinematicDisable",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "doOverride", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "OpeningCinematic",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "StopCinematic",
|
||||
Type = "Function",
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "CinematicStart",
|
||||
Type = "Event",
|
||||
LiteralName = "CINEMATIC_START",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "canBeCancelled", Type = "bool", Nilable = false },
|
||||
{ Name = "forcedAspectRatio", Type = "CameraModeAspectRatio", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CinematicStop",
|
||||
Type = "Event",
|
||||
LiteralName = "CINEMATIC_STOP",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "HideSubtitle",
|
||||
Type = "Event",
|
||||
LiteralName = "HIDE_SUBTITLE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "PlayMovie",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAY_MOVIE",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "movieID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ShowSubtitle",
|
||||
Type = "Event",
|
||||
LiteralName = "SHOW_SUBTITLE",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "subtitle", Type = "cstring", Nilable = false },
|
||||
{ Name = "sender", Type = "cstring", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "StopMovie",
|
||||
Type = "Event",
|
||||
LiteralName = "STOP_MOVIE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Cinematic);
|
||||
@@ -0,0 +1,48 @@
|
||||
local CinematicList =
|
||||
{
|
||||
Name = "CinematicList",
|
||||
Type = "System",
|
||||
Namespace = "C_CinematicList",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetUICinematicList",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "cinematics", Type = "table", InnerType = "UICinematic", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "UICinematic",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "expansion", Type = "number", Nilable = false },
|
||||
{ Name = "movieIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
{ Name = "buttonUpAtlas", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "buttonDownAtlas", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "title", Type = "string", Nilable = true },
|
||||
{ Name = "disableAutoPlay", Type = "bool", Nilable = false },
|
||||
{ Name = "orderID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CinematicList);
|
||||
@@ -0,0 +1,42 @@
|
||||
local ClassColor =
|
||||
{
|
||||
Name = "ClassColor",
|
||||
Type = "System",
|
||||
Namespace = "C_ClassColor",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetClassColor",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenTainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "className", Type = "string", Nilable = false },
|
||||
{ Name = "tintColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "classColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ClassColor);
|
||||
@@ -0,0 +1,525 @@
|
||||
local ClassTalents =
|
||||
{
|
||||
Name = "ClassTalents",
|
||||
Type = "System",
|
||||
Namespace = "C_ClassTalents",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CanChangeTalents",
|
||||
Type = "Function",
|
||||
Documentation = { "Returns true only if the player has staged changes and can commit their talents in their current state." },
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canChange", Type = "bool", Nilable = false },
|
||||
{ Name = "canAdd", Type = "bool", Nilable = false },
|
||||
{ Name = "changeError", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanCreateNewConfig",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canCreate", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanEditTalents",
|
||||
Type = "Function",
|
||||
Documentation = { "Returns true if the player could switch talents if they staged a proper loadout." },
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canEdit", Type = "bool", Nilable = false },
|
||||
{ Name = "changeError", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CommitConfig",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "savedConfigID", Type = "number", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DeleteConfig",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "configID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetActiveConfigID",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "activeConfigID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetActiveHeroTalentSpec",
|
||||
Type = "Function",
|
||||
Documentation = { "Returns the SubTreeID of the player's active Hero Talent Specialization SubTree." },
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "heroSpecID", Type = "number", Nilable = true, Documentation = { "SubTreeID of the player's active Hero Talent Specialization or nil if no Specialization is active." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetConfigIDsBySpecID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "specID", Type = "number", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "configIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetHasStarterBuild",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasStarterBuild", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetHeroTalentSpecsForClassSpec",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Returns the SubTreeIDs of the Hero Talent Specializations available to a Class Specialization and config; Returns nothing if none available" },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "configID", Type = "number", Nilable = true, Documentation = { "If not supplied, defaults to the player's active config" } },
|
||||
{ Name = "classSpecID", Type = "number", Nilable = true, Documentation = { "If not supplied, defaults to the player's active spec" } },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "subTreeIDs", Type = "table", InnerType = "number", Nilable = true, Documentation = { "SubTreeIDs of each Hero Talent Specialization" } },
|
||||
{ Name = "requiredPlayerLevel", Type = "number", Nilable = true, Documentation = { "The player level at which one of the Hero Talent Specializations can be activated" } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetLastSelectedSavedConfigID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "specID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "configID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNextStarterBuildPurchase",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "nodeID", Type = "number", Nilable = true },
|
||||
{ Name = "entryID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetStarterBuildActive",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isActive", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetTraitTreeForSpec",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "specID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "treeID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasUnspentHeroTalentPoints",
|
||||
Type = "Function",
|
||||
Documentation = { "Returns whether the player has any unspent talent points in their active hero talent tree. If hasUnspentPoints is true, numHeroPoints will be greater than zero." },
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasUnspentPoints", Type = "bool", Nilable = false },
|
||||
{ Name = "numHeroPoints", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasUnspentTalentPoints",
|
||||
Type = "Function",
|
||||
Documentation = { "Returns whether the player has any unspent talent points in their class or spec talent trees. If hasUnspentPoints is true, the number of unspent points for at least one of the trees will be greater than zero. Hero talent points are not included by this function." },
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasUnspentPoints", Type = "bool", Nilable = false },
|
||||
{ Name = "numClassPoints", Type = "number", Nilable = false },
|
||||
{ Name = "numSpecPoints", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ImportLoadout",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "configID", Type = "number", Nilable = false },
|
||||
{ Name = "entries", Type = "table", InnerType = "ImportLoadoutEntryInfo", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "importString", Type = "string", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
{ Name = "importError", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "InitializeViewLoadout",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "specID", Type = "number", Nilable = false },
|
||||
{ Name = "level", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsConfigPopulated",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "New configs may or may not be populated and ready to load immediately after creation. Avoid calling for configs intentionally created empty." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "configID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isPopulated", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "LoadConfig",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "configID", Type = "number", Nilable = false },
|
||||
{ Name = "autoApply", Type = "bool", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "LoadConfigResult", Nilable = false },
|
||||
{ Name = "changeError", Type = "string", Nilable = true },
|
||||
{ Name = "newLearnedNodeIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RenameConfig",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "configID", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RequestNewConfig",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SaveConfig",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "configID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetStarterBuildActive",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "active", Type = "bool", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "result", Type = "LoadConfigResult", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetUsesSharedActionBars",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "configID", Type = "number", Nilable = false },
|
||||
{ Name = "usesShared", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SwitchToLoadoutByIndex",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Loads loadout for the current specialization by dropdown index. Indices start at 1." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "loadoutIndex", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SwitchToLoadoutByName",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Loads loadout for the current specialization by name. Loads the first one found in the case of duplicate names." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "loadoutName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SwitchToSpecializationByIndex",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Activates specialization for the current class by index in the order within the Specializations tab. Indices start at 1." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "specIndex", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SwitchToSpecializationByName",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Activates specialization for the current class by spec name." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "specName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UpdateLastSelectedSavedConfigID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "specID", Type = "number", Nilable = false },
|
||||
{ Name = "configID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ViewLoadout",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "entries", Type = "table", InnerType = "ImportLoadoutEntryInfo", Nilable = false },
|
||||
{ Name = "importString", Type = "string", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "ActiveCombatConfigChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "ACTIVE_COMBAT_CONFIG_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "configID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClassTalentsSwitchToLoadoutByIndex",
|
||||
Type = "Event",
|
||||
LiteralName = "CLASS_TALENTS_SWITCH_TO_LOADOUT_BY_INDEX",
|
||||
CallbackEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "loadoutIndex", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClassTalentsSwitchToLoadoutByName",
|
||||
Type = "Event",
|
||||
LiteralName = "CLASS_TALENTS_SWITCH_TO_LOADOUT_BY_NAME",
|
||||
CallbackEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "loadoutName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClassTalentsSwitchToSpecializationByIndex",
|
||||
Type = "Event",
|
||||
LiteralName = "CLASS_TALENTS_SWITCH_TO_SPECIALIZATION_BY_INDEX",
|
||||
CallbackEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "specIndex", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClassTalentsSwitchToSpecializationByName",
|
||||
Type = "Event",
|
||||
LiteralName = "CLASS_TALENTS_SWITCH_TO_SPECIALIZATION_BY_NAME",
|
||||
CallbackEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "specName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SelectedLoadoutChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "SELECTED_LOADOUT_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "SpecializationChangeCastFailed",
|
||||
Type = "Event",
|
||||
LiteralName = "SPECIALIZATION_CHANGE_CAST_FAILED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "StarterBuildActivationFailed",
|
||||
Type = "Event",
|
||||
LiteralName = "STARTER_BUILD_ACTIVATION_FAILED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "LoadConfigResult",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Error", Type = "LoadConfigResult", EnumValue = 0 },
|
||||
{ Name = "NoChangesNecessary", Type = "LoadConfigResult", EnumValue = 1 },
|
||||
{ Name = "LoadInProgress", Type = "LoadConfigResult", EnumValue = 2 },
|
||||
{ Name = "Ready", Type = "LoadConfigResult", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ImportLoadoutEntryInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "nodeID", Type = "number", Nilable = false },
|
||||
{ Name = "ranksGranted", Type = "number", Nilable = false },
|
||||
{ Name = "ranksPurchased", Type = "number", Nilable = false },
|
||||
{ Name = "selectionEntryID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ClassTalents);
|
||||
@@ -0,0 +1,37 @@
|
||||
local ClassTrial =
|
||||
{
|
||||
Name = "ClassTrial",
|
||||
Type = "System",
|
||||
Namespace = "C_ClassTrial",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "ClassTrialTimerStart",
|
||||
Type = "Event",
|
||||
LiteralName = "CLASS_TRIAL_TIMER_START",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ClassTrialUpgradeComplete",
|
||||
Type = "Event",
|
||||
LiteralName = "CLASS_TRIAL_UPGRADE_COMPLETE",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ClassTrial);
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
local ClickBindingsConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ClickBindingInteraction",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 1,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Target", Type = "ClickBindingInteraction", EnumValue = 1 },
|
||||
{ Name = "OpenContextMenu", Type = "ClickBindingInteraction", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClickBindingType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ClickBindingType", EnumValue = 0 },
|
||||
{ Name = "Spell", Type = "ClickBindingType", EnumValue = 1 },
|
||||
{ Name = "Macro", Type = "ClickBindingType", EnumValue = 2 },
|
||||
{ Name = "Interaction", Type = "ClickBindingType", EnumValue = 3 },
|
||||
{ Name = "PetAction", Type = "ClickBindingType", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClickBindingInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "type", Type = "ClickBindingType", Nilable = false },
|
||||
{ Name = "actionID", Type = "number", Nilable = false, Documentation = { "Base spellID for spell, macro index for macro, ClickBindingInteraction for interaction, spellID for PetAction" } },
|
||||
{ Name = "button", Type = "cstring", Nilable = false },
|
||||
{ Name = "modifiers", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ClickBindingsConstants);
|
||||
@@ -0,0 +1,133 @@
|
||||
local ClickBindings =
|
||||
{
|
||||
Name = "ClickBindings",
|
||||
Type = "System",
|
||||
Namespace = "C_ClickBindings",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CanSpellBeClickBound",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenTainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "spellID", Type = "SpellIdentifier", Nilable = false, Documentation = { "Base spellID for spell, spellID for PetAction" } },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canBeBound", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ExecuteBinding",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "targetToken", Type = "cstring", Nilable = false },
|
||||
{ Name = "button", Type = "cstring", Nilable = false },
|
||||
{ Name = "modifiers", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetBindingType",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "button", Type = "cstring", Nilable = false },
|
||||
{ Name = "modifiers", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "type", Type = "ClickBindingType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEffectiveInteractionButton",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "button", Type = "cstring", Nilable = false },
|
||||
{ Name = "modifiers", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "effectiveButton", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetProfileInfo",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "infoVec", Type = "table", InnerType = "ClickBindingInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetTutorialShown",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "tutorialShown", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ResetCurrentProfile",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
},
|
||||
{
|
||||
Name = "SetProfileByInfo",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "infoVec", Type = "table", InnerType = "ClickBindingInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetTutorialShown",
|
||||
Type = "Function",
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "ClickbindingsSetHighlightsShown",
|
||||
Type = "Event",
|
||||
LiteralName = "CLICKBINDINGS_SET_HIGHLIGHTS_SHOWN",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "showHighlights", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ClickBindings);
|
||||
@@ -0,0 +1,121 @@
|
||||
local Client =
|
||||
{
|
||||
Name = "Client",
|
||||
Type = "System",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "FlashClientIcon",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "briefly", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetBillingTimeRested",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "billingTimeRested", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFileIDFromPath",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "filePath", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "fileID", Type = "fileID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFramerate",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "framerate", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsCpuBound",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isCpuBound", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlatformIsHandheld",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isHandheld", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ReportBug",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "description", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ReportSuggestion",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "description", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RestartGx",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "Screenshot",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "UIReload",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "UpdateWindow",
|
||||
Type = "Function",
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Client);
|
||||
@@ -0,0 +1,68 @@
|
||||
local ClientScene =
|
||||
{
|
||||
Name = "ClientScene",
|
||||
Type = "System",
|
||||
Namespace = "C_ClientScene",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "IsSceneTypeActive",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "desiredSceneType", Type = "ClientSceneType", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isPlaying", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "ClientSceneClosed",
|
||||
Type = "Event",
|
||||
LiteralName = "CLIENT_SCENE_CLOSED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ClientSceneOpened",
|
||||
Type = "Event",
|
||||
LiteralName = "CLIENT_SCENE_OPENED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "sceneType", Type = "ClientSceneType", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ClientSceneType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "DefaultSceneType", Type = "ClientSceneType", EnumValue = 0 },
|
||||
{ Name = "MinigameSceneType", Type = "ClientSceneType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ClientScene);
|
||||
@@ -0,0 +1,31 @@
|
||||
local ClientSettings =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ClientSettingsConfigFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 9,
|
||||
MinValue = 1,
|
||||
MaxValue = 256,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ClientSettingsConfigDebug", Type = "ClientSettingsConfigFlag", EnumValue = 1 },
|
||||
{ Name = "ClientSettingsConfigInternal", Type = "ClientSettingsConfigFlag", EnumValue = 2 },
|
||||
{ Name = "ClientSettingsConfigPerf", Type = "ClientSettingsConfigFlag", EnumValue = 4 },
|
||||
{ Name = "ClientSettingsConfigGm", Type = "ClientSettingsConfigFlag", EnumValue = 8 },
|
||||
{ Name = "ClientSettingsConfigTest", Type = "ClientSettingsConfigFlag", EnumValue = 16 },
|
||||
{ Name = "ClientSettingsConfigTestRetail", Type = "ClientSettingsConfigFlag", EnumValue = 32 },
|
||||
{ Name = "ClientSettingsConfigBeta", Type = "ClientSettingsConfigFlag", EnumValue = 64 },
|
||||
{ Name = "ClientSettingsConfigBetaRetail", Type = "ClientSettingsConfigFlag", EnumValue = 128 },
|
||||
{ Name = "ClientSettingsConfigRetail", Type = "ClientSettingsConfigFlag", EnumValue = 256 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ClientSettings);
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,993 @@
|
||||
local ClubFinder =
|
||||
{
|
||||
Name = "ClubFinderInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_ClubFinder",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ApplicantAcceptClubInvite",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ApplicantDeclineClubInvite",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CancelMembershipRequest",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CheckAllPlayerApplicantSettings",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ClearAllFinderCache",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ClearClubApplicantsCache",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ClearClubFinderPostingsCache",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "DoesPlayerBelongToClubFromClubGUID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "belongsToClub", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetClubFinderDisableReason",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "disableReason", Type = "ClubFinderDisableReason", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetClubRecruitmentSettings",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "settings", Type = "ClubSettingsInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetClubTypeFromFinderGUID",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "clubType", Type = "ClubFinderRequestType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFocusIndexFromFlag",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "flags", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "index", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPlayerApplicantLocaleFlags",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "localeFlags", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPlayerApplicantSettings",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "settings", Type = "ClubSettingsInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPlayerClubApplicationStatus",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "clubStatus", Type = "PlayerClubRequestStatus", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPlayerSettingsFocusFlagsSelectedCount",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "focusCount", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPostingIDFromClubFinderGUID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "postingID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetRecruitingClubInfoFromClubID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubId", Type = "ClubId", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "clubInfo", Type = "RecruitingClubInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetRecruitingClubInfoFromFinderGUID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "clubInfo", Type = "RecruitingClubInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetStatusOfPostingFromClubId",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "postingID", Type = "ClubId", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "postingFlags", Type = "table", InnerType = "ClubFinderClubPostingStatusFlags", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetTotalMatchingCommunityListSize",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "totalSize", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetTotalMatchingGuildListSize",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "totalSize", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasAlreadyAppliedToLinkedPosting",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasAlreadyApplied", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasPostingBeenDelisted",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "postingID", Type = "ClubId", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "postingDelisted", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsCommunityFinderEnabled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsEnabled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsListingEnabledFromFlags",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "flags", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isListed", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsPostingBanned",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "postingID", Type = "ClubId", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "postingBanned", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsValidSearchString",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isApproved", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "LookupClubPostingFromClubFinderGUID",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "isLinkedPosting", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayerGetClubInvitationList",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "inviteList", Type = "table", InnerType = "RecruitingClubInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayerRequestPendingClubsList",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "type", Type = "ClubFinderRequestType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayerReturnPendingCommunitiesList",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "table", InnerType = "RecruitingClubInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayerReturnPendingGuildsList",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "table", InnerType = "RecruitingClubInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PostClub",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubId", Type = "ClubId", Nilable = false },
|
||||
{ Name = "itemLevelRequirement", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "description", Type = "string", Nilable = false },
|
||||
{ Name = "avatarId", Type = "number", Nilable = false },
|
||||
{ Name = "specs", Type = "table", InnerType = "number", Nilable = false },
|
||||
{ Name = "type", Type = "ClubFinderRequestType", Nilable = false },
|
||||
{ Name = "crossFaction", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "succesful", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RequestApplicantList",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "type", Type = "ClubFinderRequestType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RequestClubsList",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "guildListRequested", Type = "bool", Nilable = false },
|
||||
{ Name = "searchString", Type = "string", Nilable = false },
|
||||
{ Name = "specIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RequestMembershipToClub",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "comment", Type = "string", Nilable = false },
|
||||
{ Name = "specIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RequestNextCommunityPage",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "startingIndex", Type = "number", Nilable = false },
|
||||
{ Name = "pageSize", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RequestNextGuildPage",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "startingIndex", Type = "number", Nilable = false },
|
||||
{ Name = "pageSize", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RequestPostingInformationFromClubId",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubId", Type = "ClubId", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RequestSubscribedClubPostingIDs",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ResetClubPostingMapCache",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "RespondToApplicant",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "playerGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "shouldAccept", Type = "bool", Nilable = false },
|
||||
{ Name = "requestType", Type = "ClubFinderRequestType", Nilable = false },
|
||||
{ Name = "playerName", Type = "string", Nilable = false },
|
||||
{ Name = "forceAccept", Type = "bool", Nilable = false },
|
||||
{ Name = "reported", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ReturnClubApplicantList",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubId", Type = "ClubId", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "table", InnerType = "ClubFinderApplicantInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ReturnMatchingCommunityList",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "recruitingClubs", Type = "table", InnerType = "RecruitingClubInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ReturnMatchingGuildList",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "recruitingClubs", Type = "table", InnerType = "RecruitingClubInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ReturnPendingClubApplicantList",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubId", Type = "ClubId", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "table", InnerType = "ClubFinderApplicantInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SendChatWhisper",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "playerGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "applicantType", Type = "ClubFinderRequestType", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetAllRecruitmentSettings",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "value", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetPlayerApplicantLocaleFlags",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "localeFlags", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetPlayerApplicantSettings",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "number", Nilable = false },
|
||||
{ Name = "checked", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetRecruitmentLocale",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "locale", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetRecruitmentSettings",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "number", Nilable = false },
|
||||
{ Name = "checked", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ShouldShowClubFinder",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "shouldShow", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "ClubFinderApplicantInviteRecieved",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_APPLICANT_INVITE_RECIEVED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "clubFinderGUIDs", Type = "table", InnerType = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderApplicationsUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_APPLICATIONS_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "type", Type = "ClubFinderRequestType", Nilable = false },
|
||||
{ Name = "clubFinderGUIDs", Type = "table", InnerType = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderCanWhisperApplicant",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_CAN_WHISPER_APPLICANT",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "applicant", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderClubListReturned",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_CLUB_LIST_RETURNED",
|
||||
SynchronousEvent = true,
|
||||
Documentation = { "Signals when we recieve club data that can be used" },
|
||||
Payload =
|
||||
{
|
||||
{ Name = "type", Type = "ClubFinderRequestType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderClubReported",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_CLUB_REPORTED",
|
||||
SynchronousEvent = true,
|
||||
Documentation = { "Sends an update to the UI about a reported guild or community." },
|
||||
Payload =
|
||||
{
|
||||
{ Name = "type", Type = "ClubFinderRequestType", Nilable = false },
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderCommunityOfflineJoin",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_COMMUNITY_OFFLINE_JOIN",
|
||||
SynchronousEvent = true,
|
||||
Documentation = { "Signals to the UI that you (the player) have joined a community offline." },
|
||||
Payload =
|
||||
{
|
||||
{ Name = "clubId", Type = "ClubId", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderEnabledOrDisabled",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_ENABLED_OR_DISABLED",
|
||||
SynchronousEvent = true,
|
||||
Documentation = { "Sends an update to the UI that the club finder feature has been enabled or disabled." },
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderGuildRealmNameUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_GUILD_REALM_NAME_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
Documentation = { "Sends an update to the UI if the realm name of a guild was found asynchronously." },
|
||||
Payload =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "realmName", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderLinkedClubReturned",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_LINKED_CLUB_RETURNED",
|
||||
SynchronousEvent = true,
|
||||
Documentation = { "When a player clicks a club link, this returns that information back about the club they clicked on" },
|
||||
Payload =
|
||||
{
|
||||
{ Name = "clubInfo", Type = "RecruitingClubInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderMembershipListChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_MEMBERSHIP_LIST_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderPlayerPendingListRecieved",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_PLAYER_PENDING_LIST_RECIEVED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "type", Type = "ClubFinderRequestType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderPostUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_POST_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "clubFinderGUIDs", Type = "table", InnerType = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderRecruitListChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_RECRUIT_LIST_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderRecruitmentPostReturned",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_RECRUITMENT_POST_RETURNED",
|
||||
SynchronousEvent = true,
|
||||
Documentation = { "Signals when our recruitment post we just requested is returned back to us" },
|
||||
Payload =
|
||||
{
|
||||
{ Name = "type", Type = "ClubFinderRequestType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderRecruitsUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "CLUB_FINDER_RECRUITS_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
Documentation = { "Signals when we recieve the recruits list" },
|
||||
Payload =
|
||||
{
|
||||
{ Name = "type", Type = "ClubFinderRequestType", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ClubFinderApplicationUpdateType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ClubFinderApplicationUpdateType", EnumValue = 0 },
|
||||
{ Name = "AcceptInvite", Type = "ClubFinderApplicationUpdateType", EnumValue = 1 },
|
||||
{ Name = "DeclineInvite", Type = "ClubFinderApplicationUpdateType", EnumValue = 2 },
|
||||
{ Name = "Cancel", Type = "ClubFinderApplicationUpdateType", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderClubPostingStatusFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 9,
|
||||
MinValue = 0,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ClubFinderClubPostingStatusFlags", EnumValue = 0 },
|
||||
{ Name = "NeedsCacheUpdate", Type = "ClubFinderClubPostingStatusFlags", EnumValue = 1 },
|
||||
{ Name = "ForceDescriptionChange", Type = "ClubFinderClubPostingStatusFlags", EnumValue = 2 },
|
||||
{ Name = "ForceNameChange", Type = "ClubFinderClubPostingStatusFlags", EnumValue = 3 },
|
||||
{ Name = "UnderReview", Type = "ClubFinderClubPostingStatusFlags", EnumValue = 4 },
|
||||
{ Name = "Banned", Type = "ClubFinderClubPostingStatusFlags", EnumValue = 5 },
|
||||
{ Name = "FakePost", Type = "ClubFinderClubPostingStatusFlags", EnumValue = 6 },
|
||||
{ Name = "PendingDelete", Type = "ClubFinderClubPostingStatusFlags", EnumValue = 7 },
|
||||
{ Name = "PostDelisted", Type = "ClubFinderClubPostingStatusFlags", EnumValue = 8 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderDisableReason",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Muted", Type = "ClubFinderDisableReason", EnumValue = 0 },
|
||||
{ Name = "Silenced", Type = "ClubFinderDisableReason", EnumValue = 1 },
|
||||
{ Name = "VeteranTrial", Type = "ClubFinderDisableReason", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderPostingReportType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "PostersName", Type = "ClubFinderPostingReportType", EnumValue = 0 },
|
||||
{ Name = "ClubName", Type = "ClubFinderPostingReportType", EnumValue = 1 },
|
||||
{ Name = "PostingDescription", Type = "ClubFinderPostingReportType", EnumValue = 2 },
|
||||
{ Name = "ApplicantsName", Type = "ClubFinderPostingReportType", EnumValue = 3 },
|
||||
{ Name = "JoinNote", Type = "ClubFinderPostingReportType", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderRequestType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ClubFinderRequestType", EnumValue = 0 },
|
||||
{ Name = "Guild", Type = "ClubFinderRequestType", EnumValue = 1 },
|
||||
{ Name = "Community", Type = "ClubFinderRequestType", EnumValue = 2 },
|
||||
{ Name = "All", Type = "ClubFinderRequestType", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderSettingFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 26,
|
||||
MinValue = 0,
|
||||
MaxValue = 25,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ClubFinderSettingFlags", EnumValue = 0 },
|
||||
{ Name = "Dungeons", Type = "ClubFinderSettingFlags", EnumValue = 1 },
|
||||
{ Name = "Raids", Type = "ClubFinderSettingFlags", EnumValue = 2 },
|
||||
{ Name = "PvP", Type = "ClubFinderSettingFlags", EnumValue = 3 },
|
||||
{ Name = "RP", Type = "ClubFinderSettingFlags", EnumValue = 4 },
|
||||
{ Name = "Social", Type = "ClubFinderSettingFlags", EnumValue = 5 },
|
||||
{ Name = "Small", Type = "ClubFinderSettingFlags", EnumValue = 6 },
|
||||
{ Name = "Medium", Type = "ClubFinderSettingFlags", EnumValue = 7 },
|
||||
{ Name = "Large", Type = "ClubFinderSettingFlags", EnumValue = 8 },
|
||||
{ Name = "Tank", Type = "ClubFinderSettingFlags", EnumValue = 9 },
|
||||
{ Name = "Healer", Type = "ClubFinderSettingFlags", EnumValue = 10 },
|
||||
{ Name = "Damage", Type = "ClubFinderSettingFlags", EnumValue = 11 },
|
||||
{ Name = "EnableListing", Type = "ClubFinderSettingFlags", EnumValue = 12 },
|
||||
{ Name = "MaxLevelOnly", Type = "ClubFinderSettingFlags", EnumValue = 13 },
|
||||
{ Name = "AutoAccept", Type = "ClubFinderSettingFlags", EnumValue = 14 },
|
||||
{ Name = "FactionHorde", Type = "ClubFinderSettingFlags", EnumValue = 15 },
|
||||
{ Name = "FactionAlliance", Type = "ClubFinderSettingFlags", EnumValue = 16 },
|
||||
{ Name = "FactionNeutral", Type = "ClubFinderSettingFlags", EnumValue = 17 },
|
||||
{ Name = "SortRelevance", Type = "ClubFinderSettingFlags", EnumValue = 18 },
|
||||
{ Name = "SortMemberCount", Type = "ClubFinderSettingFlags", EnumValue = 19 },
|
||||
{ Name = "SortNewest", Type = "ClubFinderSettingFlags", EnumValue = 20 },
|
||||
{ Name = "LanguageReserved1", Type = "ClubFinderSettingFlags", EnumValue = 21 },
|
||||
{ Name = "LanguageReserved2", Type = "ClubFinderSettingFlags", EnumValue = 22 },
|
||||
{ Name = "LanguageReserved3", Type = "ClubFinderSettingFlags", EnumValue = 23 },
|
||||
{ Name = "LanguageReserved4", Type = "ClubFinderSettingFlags", EnumValue = 24 },
|
||||
{ Name = "LanguageReserved5", Type = "ClubFinderSettingFlags", EnumValue = 25 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayerClubRequestStatus",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 0,
|
||||
MaxValue = 7,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "PlayerClubRequestStatus", EnumValue = 0 },
|
||||
{ Name = "Pending", Type = "PlayerClubRequestStatus", EnumValue = 1 },
|
||||
{ Name = "AutoApproved", Type = "PlayerClubRequestStatus", EnumValue = 2 },
|
||||
{ Name = "Declined", Type = "PlayerClubRequestStatus", EnumValue = 3 },
|
||||
{ Name = "Approved", Type = "PlayerClubRequestStatus", EnumValue = 4 },
|
||||
{ Name = "Joined", Type = "PlayerClubRequestStatus", EnumValue = 5 },
|
||||
{ Name = "JoinedAnother", Type = "PlayerClubRequestStatus", EnumValue = 6 },
|
||||
{ Name = "Canceled", Type = "PlayerClubRequestStatus", EnumValue = 7 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubFinderApplicantInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "playerGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "closed", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "message", Type = "string", Nilable = false },
|
||||
{ Name = "level", Type = "number", Nilable = false },
|
||||
{ Name = "classID", Type = "number", Nilable = false },
|
||||
{ Name = "ilvl", Type = "number", Nilable = false },
|
||||
{ Name = "specIds", Type = "table", InnerType = "number", Nilable = false },
|
||||
{ Name = "requestStatus", Type = "PlayerClubRequestStatus", Nilable = false },
|
||||
{ Name = "lookupSuccess", Type = "bool", Nilable = false },
|
||||
{ Name = "lastUpdatedTime", Type = "BigInteger", Nilable = false },
|
||||
{ Name = "faction", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClubSettingsInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "playStyleDungeon", Type = "bool", Nilable = false },
|
||||
{ Name = "playStyleRaids", Type = "bool", Nilable = false },
|
||||
{ Name = "playStylePvp", Type = "bool", Nilable = false },
|
||||
{ Name = "playStyleRP", Type = "bool", Nilable = false },
|
||||
{ Name = "playStyleSocial", Type = "bool", Nilable = false },
|
||||
{ Name = "roleTank", Type = "bool", Nilable = false },
|
||||
{ Name = "roleHealer", Type = "bool", Nilable = false },
|
||||
{ Name = "roleDps", Type = "bool", Nilable = false },
|
||||
{ Name = "sizeSmall", Type = "bool", Nilable = false },
|
||||
{ Name = "sizeMedium", Type = "bool", Nilable = false },
|
||||
{ Name = "sizeLarge", Type = "bool", Nilable = false },
|
||||
{ Name = "maxLevelOnly", Type = "bool", Nilable = false },
|
||||
{ Name = "enableListing", Type = "bool", Nilable = false },
|
||||
{ Name = "sortRelevance", Type = "bool", Nilable = false },
|
||||
{ Name = "sortMembers", Type = "bool", Nilable = false },
|
||||
{ Name = "sortNewest", Type = "bool", Nilable = false },
|
||||
{ Name = "autoAccept", Type = "bool", Nilable = false },
|
||||
{ Name = "crossFaction", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RecruitingClubInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "clubFinderGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "numActiveMembers", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "comment", Type = "string", Nilable = false },
|
||||
{ Name = "guildLeader", Type = "string", Nilable = false },
|
||||
{ Name = "isGuild", Type = "bool", Nilable = false },
|
||||
{ Name = "emblemInfo", Type = "number", Nilable = false },
|
||||
{ Name = "tabardInfo", Type = "GuildTabardInfo", Nilable = true },
|
||||
{ Name = "recruitingSpecIds", Type = "table", InnerType = "number", Nilable = false },
|
||||
{ Name = "recruitmentFlags", Type = "number", Nilable = false },
|
||||
{ Name = "localeSet", Type = "bool", Nilable = false },
|
||||
{ Name = "recruitmentLocale", Type = "number", Nilable = false },
|
||||
{ Name = "minILvl", Type = "number", Nilable = false },
|
||||
{ Name = "cached", Type = "number", Nilable = false },
|
||||
{ Name = "cacheRequested", Type = "number", Nilable = false },
|
||||
{ Name = "lastPosterGUID", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "clubId", Type = "ClubId", Nilable = false },
|
||||
{ Name = "lastUpdatedTime", Type = "BigInteger", Nilable = false },
|
||||
{ Name = "isCrossFaction", Type = "bool", Nilable = false },
|
||||
{ Name = "realmName", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ClubFinder);
|
||||
@@ -0,0 +1,26 @@
|
||||
local ClubShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ClubRoleIdentifier",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 1,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Owner", Type = "ClubRoleIdentifier", EnumValue = 1 },
|
||||
{ Name = "Leader", Type = "ClubRoleIdentifier", EnumValue = 2 },
|
||||
{ Name = "Moderator", Type = "ClubRoleIdentifier", EnumValue = 3 },
|
||||
{ Name = "Member", Type = "ClubRoleIdentifier", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ClubShared);
|
||||
@@ -0,0 +1,12 @@
|
||||
local Color =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Color);
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
local ColorOverrideConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ColorOverride",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 0,
|
||||
MaxValue = 7,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ItemQualityPoor", Type = "ColorOverride", EnumValue = 0 },
|
||||
{ Name = "ItemQualityCommon", Type = "ColorOverride", EnumValue = 1 },
|
||||
{ Name = "ItemQualityUncommon", Type = "ColorOverride", EnumValue = 2 },
|
||||
{ Name = "ItemQualityRare", Type = "ColorOverride", EnumValue = 3 },
|
||||
{ Name = "ItemQualityEpic", Type = "ColorOverride", EnumValue = 4 },
|
||||
{ Name = "ItemQualityLegendary", Type = "ColorOverride", EnumValue = 5 },
|
||||
{ Name = "ItemQualityArtifact", Type = "ColorOverride", EnumValue = 6 },
|
||||
{ Name = "ItemQualityAccount", Type = "ColorOverride", EnumValue = 7 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ColorOverrideConstants);
|
||||
@@ -0,0 +1,121 @@
|
||||
local ColorOverrides =
|
||||
{
|
||||
Name = "ColorOverrides",
|
||||
Type = "System",
|
||||
Namespace = "C_ColorOverrides",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ClearColorOverrides",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "GetColorForQuality",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "quality", Type = "ItemQuality", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "color", Type = "colorRGBA", Mixin = "ColorMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetColorOverrideInfo",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "overrideType", Type = "ColorOverride", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "overrideInfo", Type = "ColorOverrideInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDefaultColorForQuality",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "quality", Type = "ItemQuality", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "color", Type = "colorRGBA", Mixin = "ColorMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RemoveColorOverride",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "overrideType", Type = "ColorOverride", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetColorOverride",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "overrideType", Type = "ColorOverride", Nilable = false },
|
||||
{ Name = "color", Type = "colorRGBA", Mixin = "ColorMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "ColorOverrideUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "COLOR_OVERRIDE_UPDATED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "overrideType", Type = "ColorOverride", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ColorOverridesReset",
|
||||
Type = "Event",
|
||||
LiteralName = "COLOR_OVERRIDES_RESET",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ColorOverrideInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "overrideType", Type = "ColorOverride", Nilable = false },
|
||||
{ Name = "overrideColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = false },
|
||||
{ Name = "overrideColorString", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ColorOverrides);
|
||||
@@ -0,0 +1,155 @@
|
||||
local ColorUtil =
|
||||
{
|
||||
Name = "ColorUtil",
|
||||
Type = "System",
|
||||
Namespace = "C_ColorUtil",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ConvertHSLToHSV",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Converts an unpacked HSL color to HSV." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "hslH", Type = "number", Nilable = false },
|
||||
{ Name = "hslS", Type = "number", Nilable = false },
|
||||
{ Name = "hslL", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hsvH", Type = "number", Nilable = false },
|
||||
{ Name = "hsvS", Type = "number", Nilable = false },
|
||||
{ Name = "hsvV", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConvertHSVToHSL",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Converts an unpacked HSV color to HSL." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "hsvH", Type = "number", Nilable = false },
|
||||
{ Name = "hsvS", Type = "number", Nilable = false },
|
||||
{ Name = "hsvV", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hslH", Type = "number", Nilable = false },
|
||||
{ Name = "hslS", Type = "number", Nilable = false },
|
||||
{ Name = "hslL", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConvertHSVToRGB",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Converts an unpacked HSV color to RGB." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "hsvH", Type = "number", Nilable = false },
|
||||
{ Name = "hsvS", Type = "number", Nilable = false },
|
||||
{ Name = "hsvV", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "rgbR", Type = "number", Nilable = false },
|
||||
{ Name = "rgbG", Type = "number", Nilable = false },
|
||||
{ Name = "rgbB", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConvertRGBToHSV",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
Documentation = { "Converts an unpacked RGB color to HSV. For achromatic inputs, the returned hue will be -1." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "rgbR", Type = "number", Nilable = false },
|
||||
{ Name = "rgbG", Type = "number", Nilable = false },
|
||||
{ Name = "rgbB", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hsvH", Type = "number", Nilable = false },
|
||||
{ Name = "hsvS", Type = "number", Nilable = false },
|
||||
{ Name = "hsvV", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GenerateTextColorCode",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenTainted",
|
||||
Documentation = { "Generates a hex color code suitable for use in text color code markup." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "color", Type = "colorRGB", Mixin = "ColorMixin", Nilable = false, Documentation = { "Color to generate a hex color code from." } },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "textColorCode", Type = "string", Nilable = false, Documentation = { "Hex representation of the color formatted as an 8-byte ARGB string, with alpha forced to 255." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "WrapTextInColor",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenTainted",
|
||||
Documentation = { "Wraps a given string with color code markup." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "text", Type = "cstring", Nilable = false, Documentation = { "Text to be wrapped in color markup." } },
|
||||
{ Name = "color", Type = "colorRGB", Mixin = "ColorMixin", Nilable = false, Documentation = { "Color to apply to the text." } },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "coloredText", Type = "string", Nilable = false, Documentation = { "The input text wrapped in '|c' and '|r' quoted code sequences for the supplied color." } },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "WrapTextInColorCode",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenTainted",
|
||||
Documentation = { "Wraps a given string with color code markup." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "text", Type = "cstring", Nilable = false, Documentation = { "Text to be wrapped in color markup." } },
|
||||
{ Name = "textColorCode", Type = "cstring", Nilable = false, Documentation = { "Color to apply to the text, formatted as an 8-byte ARGB string as returned by GenerateTextColorCode." } },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "coloredText", Type = "string", Nilable = false, Documentation = { "The input text wrapped in '|c' and '|r' quoted code sequences for the supplied color." } },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ColorUtil);
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
local CombatAudioAlertConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CAAConstants",
|
||||
Type = "Constants",
|
||||
Values =
|
||||
{
|
||||
{ Name = "CAAEnabledDefault", Type = "bool", Value = false },
|
||||
{ Name = "CAAVoiceDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAASayCombatStartDefault", Type = "bool", Value = true },
|
||||
{ Name = "CAASayCombatEndDefault", Type = "bool", Value = true },
|
||||
{ Name = "CAAPlayerHealthPercentDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAAPlayerHealthFormatDefault", Type = "number", Value = 1 },
|
||||
{ Name = "CAAPulsePlayerHealthPercentDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAATargetNameDefault", Type = "bool", Value = true },
|
||||
{ Name = "CAATargetHealthPercentDefault", Type = "number", Value = 2 },
|
||||
{ Name = "CAATargetHealthFormatDefault", Type = "number", Value = 3 },
|
||||
{ Name = "CAATargetDeathBehaviorDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAASayIfTargetedDefault", Type = "number", Value = 1 },
|
||||
{ Name = "CAAPartyHealthPercentDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAAPlayerCastModeDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAAPlayerCastFormatDefault", Type = "number", Value = 4 },
|
||||
{ Name = "CAATargetCastModeDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAATargetCastFormatDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAAInterruptCastDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAAInterruptCastSuccessDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAASayYourDebuffsDefault", Type = "bool", Value = true },
|
||||
{ Name = "CAASayYourDebuffsFormatDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAASayYourDebuffsMinDurationDefault", Type = "number", Value = 1.5 },
|
||||
{ Name = "CAASayYourDebuffsMinDurationMin", Type = "number", Value = 0 },
|
||||
{ Name = "CAASayYourDebuffsMinDurationMax", Type = "number", Value = 5 },
|
||||
{ Name = "CAASayYourDebuffsMinDurationStep", Type = "number", Value = 0.5 },
|
||||
{ Name = "CAADebuffSelfAlertDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAAPlayerResourcePercentDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAAPlayerResourceFormatDefault", Type = "number", Value = 1 },
|
||||
{ Name = "CAAMinCastTimeMin", Type = "number", Value = 0 },
|
||||
{ Name = "CAAMinCastTimeMax", Type = "number", Value = 5 },
|
||||
{ Name = "CAAMinCastTimeDefault", Type = "number", Value = 1.5 },
|
||||
{ Name = "CAAMinCastTimeStep", Type = "number", Value = 0.5 },
|
||||
{ Name = "CAAThrottleMin", Type = "number", Value = 0 },
|
||||
{ Name = "CAAThrottleMax", Type = "number", Value = 5 },
|
||||
{ Name = "CAAThrottleDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAAThrottleStep", Type = "number", Value = 0.5 },
|
||||
{ Name = "CAAFrequencyMin", Type = "number", Value = -10 },
|
||||
{ Name = "CAAFrequencyMax", Type = "number", Value = 10 },
|
||||
{ Name = "CAAFrequencyDefault", Type = "number", Value = 0 },
|
||||
{ Name = "CAASampleTextThrottleTime", Type = "number", Value = 1 },
|
||||
{ Name = "CAASamePercentThrottleTime", Type = "number", Value = 10 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CombatAudioAlertConstants);
|
||||
+265
@@ -0,0 +1,265 @@
|
||||
local CombatAudioAlert =
|
||||
{
|
||||
Name = "CombatAudioAlert",
|
||||
Type = "System",
|
||||
Namespace = "C_CombatAudioAlert",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AddToKnownTargetingList",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "unit", Type = "UnitToken", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "added", Type = "bool", Nilable = false, SecretValue = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCategoryVoice",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "category", Type = "CombatAudioAlertCategory", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "voice", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCategoryVolume",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "category", Type = "CombatAudioAlertCategory", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "volume", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFormatSetting",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "unit", Type = "CombatAudioAlertUnit", Nilable = false },
|
||||
{ Name = "alertType", Type = "CombatAudioAlertType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "formatVal", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSpeakerSpeed",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "speed", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSpecSetting",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "setting", Type = "CombatAudioAlertSpecSetting", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "value", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetThrottle",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "throttleType", Type = "CombatAudioAlertThrottle", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "throttle", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsEnabled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RemoveFromKnownTargetingList",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "unit", Type = "UnitToken", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "removed", Type = "bool", Nilable = false, SecretValue = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCategoryVoice",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "category", Type = "CombatAudioAlertCategory", Nilable = false },
|
||||
{ Name = "newVal", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCategoryVolume",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "category", Type = "CombatAudioAlertCategory", Nilable = false },
|
||||
{ Name = "newVal", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFormatSetting",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "unit", Type = "CombatAudioAlertUnit", Nilable = false },
|
||||
{ Name = "alertType", Type = "CombatAudioAlertType", Nilable = false },
|
||||
{ Name = "newVal", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSpeakerSpeed",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "newVal", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSpecSetting",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "setting", Type = "CombatAudioAlertSpecSetting", Nilable = false },
|
||||
{ Name = "newVal", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetThrottle",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "throttleType", Type = "CombatAudioAlertThrottle", Nilable = false },
|
||||
{ Name = "newVal", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SpeakText",
|
||||
Type = "Function",
|
||||
MayReturnNothing = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "text", Type = "string", Nilable = false },
|
||||
{ Name = "category", Type = "CombatAudioAlertCategory", Nilable = false },
|
||||
{ Name = "allowOverlap", Type = "bool", Nilable = false, Default = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "utteranceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CombatAudioAlert);
|
||||
+299
@@ -0,0 +1,299 @@
|
||||
local CombatAudioAlertShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CombatAudioAlertCastState",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Off", Type = "CombatAudioAlertCastState", EnumValue = 0 },
|
||||
{ Name = "OnCastStart", Type = "CombatAudioAlertCastState", EnumValue = 1 },
|
||||
{ Name = "OnCastEnd", Type = "CombatAudioAlertCastState", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertCategory",
|
||||
Type = "Enumeration",
|
||||
NumValues = 10,
|
||||
MinValue = 0,
|
||||
MaxValue = 9,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "General", Type = "CombatAudioAlertCategory", EnumValue = 0 },
|
||||
{ Name = "PlayerHealth", Type = "CombatAudioAlertCategory", EnumValue = 1 },
|
||||
{ Name = "TargetHealth", Type = "CombatAudioAlertCategory", EnumValue = 2 },
|
||||
{ Name = "PlayerCast", Type = "CombatAudioAlertCategory", EnumValue = 3 },
|
||||
{ Name = "TargetCast", Type = "CombatAudioAlertCategory", EnumValue = 4 },
|
||||
{ Name = "PlayerResource1", Type = "CombatAudioAlertCategory", EnumValue = 5 },
|
||||
{ Name = "PlayerResource2", Type = "CombatAudioAlertCategory", EnumValue = 6 },
|
||||
{ Name = "PartyHealth", Type = "CombatAudioAlertCategory", EnumValue = 7 },
|
||||
{ Name = "PlayerDebuffs", Type = "CombatAudioAlertCategory", EnumValue = 8 },
|
||||
{ Name = "PlayerHealthPulse", Type = "CombatAudioAlertCategory", EnumValue = 9 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertDebuffSelfAlertValues",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Off", Type = "CombatAudioAlertDebuffSelfAlertValues", EnumValue = 0 },
|
||||
{ Name = "DispelType", Type = "CombatAudioAlertDebuffSelfAlertValues", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertPartyPercentValues",
|
||||
Type = "Enumeration",
|
||||
NumValues = 11,
|
||||
MinValue = 0,
|
||||
MaxValue = 10,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Off", Type = "CombatAudioAlertPartyPercentValues", EnumValue = 0 },
|
||||
{ Name = "Under100Percent", Type = "CombatAudioAlertPartyPercentValues", EnumValue = 1 },
|
||||
{ Name = "Under90Percent", Type = "CombatAudioAlertPartyPercentValues", EnumValue = 2 },
|
||||
{ Name = "Under80Percent", Type = "CombatAudioAlertPartyPercentValues", EnumValue = 3 },
|
||||
{ Name = "Under70Percent", Type = "CombatAudioAlertPartyPercentValues", EnumValue = 4 },
|
||||
{ Name = "Under60Percent", Type = "CombatAudioAlertPartyPercentValues", EnumValue = 5 },
|
||||
{ Name = "Under50Percent", Type = "CombatAudioAlertPartyPercentValues", EnumValue = 6 },
|
||||
{ Name = "Under40Percent", Type = "CombatAudioAlertPartyPercentValues", EnumValue = 7 },
|
||||
{ Name = "Under30Percent", Type = "CombatAudioAlertPartyPercentValues", EnumValue = 8 },
|
||||
{ Name = "Under20Percent", Type = "CombatAudioAlertPartyPercentValues", EnumValue = 9 },
|
||||
{ Name = "Under10Percent", Type = "CombatAudioAlertPartyPercentValues", EnumValue = 10 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertPercentValues",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 0,
|
||||
MaxValue = 5,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Off", Type = "CombatAudioAlertPercentValues", EnumValue = 0 },
|
||||
{ Name = "Every10Percent", Type = "CombatAudioAlertPercentValues", EnumValue = 1 },
|
||||
{ Name = "Every20Percent", Type = "CombatAudioAlertPercentValues", EnumValue = 2 },
|
||||
{ Name = "Every30Percent", Type = "CombatAudioAlertPercentValues", EnumValue = 3 },
|
||||
{ Name = "Every40Percent", Type = "CombatAudioAlertPercentValues", EnumValue = 4 },
|
||||
{ Name = "Every50Percent", Type = "CombatAudioAlertPercentValues", EnumValue = 5 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertPlayerCastFormatValues",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "CastingSpellname", Type = "CombatAudioAlertPlayerCastFormatValues", EnumValue = 0 },
|
||||
{ Name = "CastSpellname", Type = "CombatAudioAlertPlayerCastFormatValues", EnumValue = 1 },
|
||||
{ Name = "Casting", Type = "CombatAudioAlertPlayerCastFormatValues", EnumValue = 2 },
|
||||
{ Name = "Cast", Type = "CombatAudioAlertPlayerCastFormatValues", EnumValue = 3 },
|
||||
{ Name = "Spellname", Type = "CombatAudioAlertPlayerCastFormatValues", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertPlayerDebuffFormatValues",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Full", Type = "CombatAudioAlertPlayerDebuffFormatValues", EnumValue = 0 },
|
||||
{ Name = "NoSpellname", Type = "CombatAudioAlertPlayerDebuffFormatValues", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertPlayerHealthFormatValues",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 0,
|
||||
MaxValue = 5,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "HealthFull", Type = "CombatAudioAlertPlayerHealthFormatValues", EnumValue = 0 },
|
||||
{ Name = "HealthNoPercent", Type = "CombatAudioAlertPlayerHealthFormatValues", EnumValue = 1 },
|
||||
{ Name = "HealthNoPercentDiv10", Type = "CombatAudioAlertPlayerHealthFormatValues", EnumValue = 2 },
|
||||
{ Name = "NoHealthFull", Type = "CombatAudioAlertPlayerHealthFormatValues", EnumValue = 3 },
|
||||
{ Name = "NoHealthNoPercent", Type = "CombatAudioAlertPlayerHealthFormatValues", EnumValue = 4 },
|
||||
{ Name = "NoHealthNoPercentDiv10", Type = "CombatAudioAlertPlayerHealthFormatValues", EnumValue = 5 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertPlayerResourceFormatValues",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 0,
|
||||
MaxValue = 5,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ResourceFull", Type = "CombatAudioAlertPlayerResourceFormatValues", EnumValue = 0 },
|
||||
{ Name = "ResourceNoPercent", Type = "CombatAudioAlertPlayerResourceFormatValues", EnumValue = 1 },
|
||||
{ Name = "ResourceNoPercentDiv10", Type = "CombatAudioAlertPlayerResourceFormatValues", EnumValue = 2 },
|
||||
{ Name = "NoResourceFull", Type = "CombatAudioAlertPlayerResourceFormatValues", EnumValue = 3 },
|
||||
{ Name = "NoResourceNoPercent", Type = "CombatAudioAlertPlayerResourceFormatValues", EnumValue = 4 },
|
||||
{ Name = "NoResourceNoPercentDiv10", Type = "CombatAudioAlertPlayerResourceFormatValues", EnumValue = 5 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertPulsePercentValues",
|
||||
Type = "Enumeration",
|
||||
NumValues = 10,
|
||||
MinValue = 0,
|
||||
MaxValue = 9,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Off", Type = "CombatAudioAlertPulsePercentValues", EnumValue = 0 },
|
||||
{ Name = "Under90Percent", Type = "CombatAudioAlertPulsePercentValues", EnumValue = 1 },
|
||||
{ Name = "Under80Percent", Type = "CombatAudioAlertPulsePercentValues", EnumValue = 2 },
|
||||
{ Name = "Under70Percent", Type = "CombatAudioAlertPulsePercentValues", EnumValue = 3 },
|
||||
{ Name = "Under60Percent", Type = "CombatAudioAlertPulsePercentValues", EnumValue = 4 },
|
||||
{ Name = "Under50Percent", Type = "CombatAudioAlertPulsePercentValues", EnumValue = 5 },
|
||||
{ Name = "Under40Percent", Type = "CombatAudioAlertPulsePercentValues", EnumValue = 6 },
|
||||
{ Name = "Under30Percent", Type = "CombatAudioAlertPulsePercentValues", EnumValue = 7 },
|
||||
{ Name = "Under20Percent", Type = "CombatAudioAlertPulsePercentValues", EnumValue = 8 },
|
||||
{ Name = "Under10Percent", Type = "CombatAudioAlertPulsePercentValues", EnumValue = 9 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertSayIfTargetedType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "CombatAudioAlertSayIfTargetedType", EnumValue = 0 },
|
||||
{ Name = "Aggro", Type = "CombatAudioAlertSayIfTargetedType", EnumValue = 1 },
|
||||
{ Name = "Targeted", Type = "CombatAudioAlertSayIfTargetedType", EnumValue = 2 },
|
||||
{ Name = "TargetedBy", Type = "CombatAudioAlertSayIfTargetedType", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertSpecSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 9,
|
||||
MinValue = 0,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Resource1Percent", Type = "CombatAudioAlertSpecSetting", EnumValue = 0 },
|
||||
{ Name = "Resource1Format", Type = "CombatAudioAlertSpecSetting", EnumValue = 1 },
|
||||
{ Name = "Resource1Voice", Type = "CombatAudioAlertSpecSetting", EnumValue = 2 },
|
||||
{ Name = "Resource1Volume", Type = "CombatAudioAlertSpecSetting", EnumValue = 3 },
|
||||
{ Name = "Resource2Percent", Type = "CombatAudioAlertSpecSetting", EnumValue = 4 },
|
||||
{ Name = "Resource2Format", Type = "CombatAudioAlertSpecSetting", EnumValue = 5 },
|
||||
{ Name = "Resource2Voice", Type = "CombatAudioAlertSpecSetting", EnumValue = 6 },
|
||||
{ Name = "Resource2Volume", Type = "CombatAudioAlertSpecSetting", EnumValue = 7 },
|
||||
{ Name = "SayIfTargeted", Type = "CombatAudioAlertSpecSetting", EnumValue = 8 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertTargetCastFormatValues",
|
||||
Type = "Enumeration",
|
||||
NumValues = 7,
|
||||
MinValue = 0,
|
||||
MaxValue = 6,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "TargetCastingSpellname", Type = "CombatAudioAlertTargetCastFormatValues", EnumValue = 0 },
|
||||
{ Name = "TargetCastSpellname", Type = "CombatAudioAlertTargetCastFormatValues", EnumValue = 1 },
|
||||
{ Name = "CastingSpellname", Type = "CombatAudioAlertTargetCastFormatValues", EnumValue = 2 },
|
||||
{ Name = "CastSpellname", Type = "CombatAudioAlertTargetCastFormatValues", EnumValue = 3 },
|
||||
{ Name = "Casting", Type = "CombatAudioAlertTargetCastFormatValues", EnumValue = 4 },
|
||||
{ Name = "Cast", Type = "CombatAudioAlertTargetCastFormatValues", EnumValue = 5 },
|
||||
{ Name = "Spellname", Type = "CombatAudioAlertTargetCastFormatValues", EnumValue = 6 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertTargetDeathBehavior",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Default", Type = "CombatAudioAlertTargetDeathBehavior", EnumValue = 0 },
|
||||
{ Name = "SayTargetDead", Type = "CombatAudioAlertTargetDeathBehavior", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertTargetHealthFormatValues",
|
||||
Type = "Enumeration",
|
||||
NumValues = 9,
|
||||
MinValue = 0,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "NoHealthFull", Type = "CombatAudioAlertTargetHealthFormatValues", EnumValue = 0 },
|
||||
{ Name = "NoHealthNoPercent", Type = "CombatAudioAlertTargetHealthFormatValues", EnumValue = 1 },
|
||||
{ Name = "NoHealthNoPercentDiv10", Type = "CombatAudioAlertTargetHealthFormatValues", EnumValue = 2 },
|
||||
{ Name = "HealthFull", Type = "CombatAudioAlertTargetHealthFormatValues", EnumValue = 3 },
|
||||
{ Name = "HealthNoPercent", Type = "CombatAudioAlertTargetHealthFormatValues", EnumValue = 4 },
|
||||
{ Name = "HealthNoPercentDiv10", Type = "CombatAudioAlertTargetHealthFormatValues", EnumValue = 5 },
|
||||
{ Name = "TargetFull", Type = "CombatAudioAlertTargetHealthFormatValues", EnumValue = 6 },
|
||||
{ Name = "TargetNoPercent", Type = "CombatAudioAlertTargetHealthFormatValues", EnumValue = 7 },
|
||||
{ Name = "TargetNoPercentDiv10", Type = "CombatAudioAlertTargetHealthFormatValues", EnumValue = 8 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertThrottle",
|
||||
Type = "Enumeration",
|
||||
NumValues = 11,
|
||||
MinValue = 0,
|
||||
MaxValue = 10,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Sample", Type = "CombatAudioAlertThrottle", EnumValue = 0 },
|
||||
{ Name = "PlayerHealth", Type = "CombatAudioAlertThrottle", EnumValue = 1 },
|
||||
{ Name = "TargetHealth", Type = "CombatAudioAlertThrottle", EnumValue = 2 },
|
||||
{ Name = "PlayerCast", Type = "CombatAudioAlertThrottle", EnumValue = 3 },
|
||||
{ Name = "TargetCast", Type = "CombatAudioAlertThrottle", EnumValue = 4 },
|
||||
{ Name = "PlayerResource1", Type = "CombatAudioAlertThrottle", EnumValue = 5 },
|
||||
{ Name = "PlayerResource2", Type = "CombatAudioAlertThrottle", EnumValue = 6 },
|
||||
{ Name = "PlayerHealthSamePercent", Type = "CombatAudioAlertThrottle", EnumValue = 7 },
|
||||
{ Name = "TargetHealthSamePercent", Type = "CombatAudioAlertThrottle", EnumValue = 8 },
|
||||
{ Name = "PlayerResource1SamePercent", Type = "CombatAudioAlertThrottle", EnumValue = 9 },
|
||||
{ Name = "PlayerResource2SamePercent", Type = "CombatAudioAlertThrottle", EnumValue = 10 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Health", Type = "CombatAudioAlertType", EnumValue = 0 },
|
||||
{ Name = "Cast", Type = "CombatAudioAlertType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatAudioAlertUnit",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Player", Type = "CombatAudioAlertUnit", EnumValue = 0 },
|
||||
{ Name = "Target", Type = "CombatAudioAlertUnit", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CombatAudioAlertShared);
|
||||
+91
@@ -0,0 +1,91 @@
|
||||
local CombatLogConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CombatLogObject",
|
||||
Type = "Enumeration",
|
||||
NumValues = 20,
|
||||
MinValue = 0,
|
||||
MaxValue = 2147483648,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Empty", Type = "CombatLogObject", EnumValue = 0 },
|
||||
{ Name = "AffiliationMine", Type = "CombatLogObject", EnumValue = 1 },
|
||||
{ Name = "AffiliationParty", Type = "CombatLogObject", EnumValue = 2 },
|
||||
{ Name = "AffiliationRaid", Type = "CombatLogObject", EnumValue = 4 },
|
||||
{ Name = "AffiliationOutsider", Type = "CombatLogObject", EnumValue = 8 },
|
||||
{ Name = "ReactionFriendly", Type = "CombatLogObject", EnumValue = 16 },
|
||||
{ Name = "ReactionNeutral", Type = "CombatLogObject", EnumValue = 32 },
|
||||
{ Name = "ReactionHostile", Type = "CombatLogObject", EnumValue = 64 },
|
||||
{ Name = "ControlPlayer", Type = "CombatLogObject", EnumValue = 256 },
|
||||
{ Name = "ControlNpc", Type = "CombatLogObject", EnumValue = 512 },
|
||||
{ Name = "TypePlayer", Type = "CombatLogObject", EnumValue = 1024 },
|
||||
{ Name = "TypeNpc", Type = "CombatLogObject", EnumValue = 2048 },
|
||||
{ Name = "TypePet", Type = "CombatLogObject", EnumValue = 4096 },
|
||||
{ Name = "TypeGuardian", Type = "CombatLogObject", EnumValue = 8192 },
|
||||
{ Name = "TypeObject", Type = "CombatLogObject", EnumValue = 16384 },
|
||||
{ Name = "Target", Type = "CombatLogObject", EnumValue = 65536 },
|
||||
{ Name = "Focus", Type = "CombatLogObject", EnumValue = 131072 },
|
||||
{ Name = "Maintank", Type = "CombatLogObject", EnumValue = 262144 },
|
||||
{ Name = "Mainassist", Type = "CombatLogObject", EnumValue = 524288 },
|
||||
{ Name = "None", Type = "CombatLogObject", EnumValue = 2147483648 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatLogObjectTarget",
|
||||
Type = "Enumeration",
|
||||
NumValues = 9,
|
||||
MinValue = 1,
|
||||
MaxValue = 2147483648,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Raidtarget1", Type = "CombatLogObjectTarget", EnumValue = 1 },
|
||||
{ Name = "Raidtarget2", Type = "CombatLogObjectTarget", EnumValue = 2 },
|
||||
{ Name = "Raidtarget3", Type = "CombatLogObjectTarget", EnumValue = 4 },
|
||||
{ Name = "Raidtarget4", Type = "CombatLogObjectTarget", EnumValue = 8 },
|
||||
{ Name = "Raidtarget5", Type = "CombatLogObjectTarget", EnumValue = 16 },
|
||||
{ Name = "Raidtarget6", Type = "CombatLogObjectTarget", EnumValue = 32 },
|
||||
{ Name = "Raidtarget7", Type = "CombatLogObjectTarget", EnumValue = 64 },
|
||||
{ Name = "Raidtarget8", Type = "CombatLogObjectTarget", EnumValue = 128 },
|
||||
{ Name = "RaidNone", Type = "CombatLogObjectTarget", EnumValue = 2147483648 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatLogMessageLimits",
|
||||
Type = "Constants",
|
||||
Values =
|
||||
{
|
||||
{ Name = "CombatLogDefaultMessageLimit", Type = "number", Value = 300 },
|
||||
{ Name = "CombatLogMaximumMessageLimit", Type = "number", Value = 1000 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatLogObjectMasks",
|
||||
Type = "Constants",
|
||||
Values =
|
||||
{
|
||||
{ Name = "COMBATLOG_OBJECT_AFFILIATION_MASK", Type = "CombatLogObject", Value = 15 },
|
||||
{ Name = "COMBATLOG_OBJECT_REACTION_MASK", Type = "CombatLogObject", Value = 240 },
|
||||
{ Name = "COMBATLOG_OBJECT_CONTROL_MASK", Type = "CombatLogObject", Value = 768 },
|
||||
{ Name = "COMBATLOG_OBJECT_TYPE_MASK", Type = "CombatLogObject", Value = 64512 },
|
||||
{ Name = "COMBATLOG_OBJECT_SPECIAL_MASK", Type = "CombatLogObject", Value = 4294901760 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatLogObjectTargetMasks",
|
||||
Type = "Constants",
|
||||
Values =
|
||||
{
|
||||
{ Name = "COMBATLOG_OBJECT_RAID_TARGET_MASK", Type = "CombatLogObjectTarget", Value = 255 },
|
||||
{ Name = "COMBATLOG_OBJECT_RAID_MASK", Type = "CombatLogObjectTarget", Value = 4294967295 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CombatLogConstants);
|
||||
@@ -0,0 +1,158 @@
|
||||
local CombatLog =
|
||||
{
|
||||
Name = "CombatLog",
|
||||
Type = "System",
|
||||
Namespace = "C_CombatLog",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ApplyFilterSettings",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "filterSettings", Type = "LuaValueVariant", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AreFilteredEventsEnabled",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "enabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClearEntries",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "DoesObjectMatchFilter",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "mask", Type = "CombatLogObject", Nilable = false },
|
||||
{ Name = "flags", Type = "CombatLogObject", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "matches", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEntryRetentionTime",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "retentionTime", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMessageLimit",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "messageLimit", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsCombatLogRestricted",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "restricted", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RefilterEntries",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "SetEntryRetentionTime",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "retentionTime", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFilteredEventsEnabled",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "enabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetMessageLimit",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "messageLimit", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "CombatLogEntriesCleared",
|
||||
Type = "Event",
|
||||
LiteralName = "COMBAT_LOG_ENTRIES_CLEARED",
|
||||
SynchronousEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "CombatLogEvent",
|
||||
Type = "Event",
|
||||
LiteralName = "COMBAT_LOG_EVENT",
|
||||
HasRestrictions = true,
|
||||
SynchronousEvent = true,
|
||||
CallbackEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "CombatLogEventUnfiltered",
|
||||
Type = "Event",
|
||||
LiteralName = "COMBAT_LOG_EVENT_UNFILTERED",
|
||||
HasRestrictions = true,
|
||||
SynchronousEvent = true,
|
||||
CallbackEvent = true,
|
||||
},
|
||||
{
|
||||
Name = "CombatLogMessageLimitChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "COMBAT_LOG_MESSAGE_LIMIT_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "messageLimit", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CombatLog);
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
local CombatLogInternal =
|
||||
{
|
||||
Name = "CombatLogInternal",
|
||||
Type = "System",
|
||||
Namespace = "C_CombatLogInternal",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetCurrentEventInfo",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "CombatLogEventInternalUnfiltered",
|
||||
Type = "Event",
|
||||
LiteralName = "COMBAT_LOG_EVENT_INTERNAL_UNFILTERED",
|
||||
SynchronousEvent = true,
|
||||
CallbackEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CombatLogInternal);
|
||||
+158
@@ -0,0 +1,158 @@
|
||||
local CombatLogSecure =
|
||||
{
|
||||
Name = "CombatLogSecure",
|
||||
Type = "System",
|
||||
Namespace = "C_CombatLogSecure",
|
||||
Environment = "SecureOnly",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AddEventFilter",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
},
|
||||
{
|
||||
Name = "ClearEventFilters",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
},
|
||||
{
|
||||
Name = "CreateCombatLogMessage",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "message", Type = "string", Nilable = false },
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
{ Name = "order", Type = "CombatLogMessageOrder", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentEntryInfo",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentEventInfo",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEntryCount",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "ignoreFilter", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "count", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SeekToNewestEntry",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "ignoreFilter", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isValidEntry", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SeekToPreviousEntry",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "ignoreFilter", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isValidEntry", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ShouldShowCurrentEntry",
|
||||
Type = "Function",
|
||||
HasRestrictions = true,
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "shouldShow", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "CombatLogApplyFilterSettings",
|
||||
Type = "Event",
|
||||
LiteralName = "COMBAT_LOG_APPLY_FILTER_SETTINGS",
|
||||
HasRestrictions = true,
|
||||
CallbackEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "filterSettings", Type = "LuaValueVariant", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatLogMessage",
|
||||
Type = "Event",
|
||||
LiteralName = "COMBAT_LOG_MESSAGE",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "message", Type = "string", Nilable = false, Documentation = { "A preformatted combat log message protected by a |K string wrapper." } },
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
{ Name = "order", Type = "CombatLogMessageOrder", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CombatLogRefilterEntries",
|
||||
Type = "Event",
|
||||
LiteralName = "COMBAT_LOG_REFILTER_ENTRIES",
|
||||
HasRestrictions = true,
|
||||
CallbackEvent = true,
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CombatLogSecure);
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user