Skip to content

Commit

Permalink
9.1.5 (40871)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gethe committed Nov 2, 2021
1 parent 71875ad commit 4b8a0a9
Show file tree
Hide file tree
Showing 298 changed files with 11,196 additions and 9,997 deletions.
@@ -0,0 +1,110 @@
local ArtifactConstants =
{
Tables =
{
{
Name = "ArtifactAppearanceFlags",
Type = "Enumeration",
NumValues = 5,
MinValue = 1,
MaxValue = 16,
Fields =
{
{ Name = "Default", Type = "ArtifactAppearanceFlags", EnumValue = 1 },
{ Name = "HideIfNotLearned", Type = "ArtifactAppearanceFlags", EnumValue = 2 },
{ Name = "Unused", Type = "ArtifactAppearanceFlags", EnumValue = 4 },
{ Name = "NoLongerObtainable", Type = "ArtifactAppearanceFlags", EnumValue = 8 },
{ Name = "EnabledByFirst", Type = "ArtifactAppearanceFlags", EnumValue = 16 },
},
},
{
Name = "ArtifactAppearanceSetFlags",
Type = "Enumeration",
NumValues = 1,
MinValue = 1,
MaxValue = 1,
Fields =
{
{ Name = "HiddenIfNoAppearancesLearned", Type = "ArtifactAppearanceSetFlags", EnumValue = 1 },
},
},
{
Name = "ArtifactFlags",
Type = "Enumeration",
NumValues = 2,
MinValue = 1,
MaxValue = 2,
Fields =
{
{ Name = "DisplayOffhandInFront", Type = "ArtifactFlags", EnumValue = 1 },
{ Name = "HideOffhandAtForge", Type = "ArtifactFlags", EnumValue = 2 },
},
},
{
Name = "ArtifactPowerLabel",
Type = "Enumeration",
NumValues = 14,
MinValue = 0,
MaxValue = 13,
Fields =
{
{ Name = "None", Type = "ArtifactPowerLabel", EnumValue = 0 },
{ Name = "Gold_1", Type = "ArtifactPowerLabel", EnumValue = 1 },
{ Name = "Gold_2", Type = "ArtifactPowerLabel", EnumValue = 2 },
{ Name = "Gold_3", Type = "ArtifactPowerLabel", EnumValue = 3 },
{ Name = "Bronze_01", Type = "ArtifactPowerLabel", EnumValue = 4 },
{ Name = "Bronze_02", Type = "ArtifactPowerLabel", EnumValue = 5 },
{ Name = "Bronze_03", Type = "ArtifactPowerLabel", EnumValue = 6 },
{ Name = "Bronze_04", Type = "ArtifactPowerLabel", EnumValue = 7 },
{ Name = "Bronze_05", Type = "ArtifactPowerLabel", EnumValue = 8 },
{ Name = "Bronze_06", Type = "ArtifactPowerLabel", EnumValue = 9 },
{ Name = "Bronze_07", Type = "ArtifactPowerLabel", EnumValue = 10 },
{ Name = "Bronze_08", Type = "ArtifactPowerLabel", EnumValue = 11 },
{ Name = "Bronze_09", Type = "ArtifactPowerLabel", EnumValue = 12 },
{ Name = "Bronze_10", Type = "ArtifactPowerLabel", EnumValue = 13 },
},
},
{
Name = "ArtifactPowerPickerFlags",
Type = "Enumeration",
NumValues = 1,
MinValue = 1,
MaxValue = 1,
Fields =
{
{ Name = "MustBeUnique", Type = "ArtifactPowerPickerFlags", EnumValue = 1 },
},
},
{
Name = "ArtifactPowerStaticFlags",
Type = "Enumeration",
NumValues = 7,
MinValue = 1,
MaxValue = 64,
Fields =
{
{ Name = "IsGoldMedal", Type = "ArtifactPowerStaticFlags", EnumValue = 1 },
{ Name = "IsStartPower", Type = "ArtifactPowerStaticFlags", EnumValue = 2 },
{ Name = "IsEndgamePower", Type = "ArtifactPowerStaticFlags", EnumValue = 4 },
{ Name = "IsMetaPower", Type = "ArtifactPowerStaticFlags", EnumValue = 8 },
{ Name = "OneFreeRank", Type = "ArtifactPowerStaticFlags", EnumValue = 16 },
{ Name = "MaxRanksVariable", Type = "ArtifactPowerStaticFlags", EnumValue = 32 },
{ Name = "TooltipSingleRank", Type = "ArtifactPowerStaticFlags", EnumValue = 64 },
},
},
{
Name = "ArtifactTiers",
Type = "Enumeration",
NumValues = 2,
MinValue = 0,
MaxValue = 1,
Fields =
{
{ Name = "One", Type = "ArtifactTiers", EnumValue = 0 },
{ Name = "Two", Type = "ArtifactTiers", EnumValue = 1 },
},
},
},
};

APIDocumentation:AddDocumentationTable(ArtifactConstants);
@@ -0,0 +1,22 @@
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 },
},
},
},
};

APIDocumentation:AddDocumentationTable(AzeriteConstants);
Expand Up @@ -233,7 +233,7 @@ local AzeriteEssence =
LiteralName = "AZERITE_ESSENCE_ACTIVATED",
Payload =
{
{ Name = "slot", Type = "AzeriteEssence", Nilable = false },
{ Name = "slot", Type = "AzeriteEssenceSlot", Nilable = false },
{ Name = "essenceID", Type = "number", Nilable = false },
},
},
Expand All @@ -243,7 +243,7 @@ local AzeriteEssence =
LiteralName = "AZERITE_ESSENCE_ACTIVATION_FAILED",
Payload =
{
{ Name = "slot", Type = "AzeriteEssence", Nilable = false },
{ Name = "slot", Type = "AzeriteEssenceSlot", Nilable = false },
{ Name = "essenceID", Type = "number", Nilable = false },
},
},
Expand Down Expand Up @@ -294,20 +294,6 @@ local AzeriteEssence =

Tables =
{
{
Name = "AzeriteEssence",
Type = "Enumeration",
NumValues = 4,
MinValue = 0,
MaxValue = 3,
Fields =
{
{ Name = "MainSlot", Type = "AzeriteEssence", EnumValue = 0 },
{ Name = "PassiveOneSlot", Type = "AzeriteEssence", EnumValue = 1 },
{ Name = "PassiveTwoSlot", Type = "AzeriteEssence", EnumValue = 2 },
{ Name = "PassiveThreeSlot", Type = "AzeriteEssence", EnumValue = 3 },
},
},
{
Name = "AzeriteEssenceInfo",
Type = "Structure",
Expand All @@ -331,7 +317,7 @@ local AzeriteEssence =
{ Name = "canUnlock", Type = "bool", Nilable = false },
{ Name = "unlocked", Type = "bool", Nilable = false },
{ Name = "rank", Type = "number", Nilable = true },
{ Name = "slot", Type = "AzeriteEssence", Nilable = true },
{ Name = "slot", Type = "AzeriteEssenceSlot", Nilable = true },
},
},
},
Expand Down
Expand Up @@ -82,6 +82,24 @@ local BarberShop =
{ Name = "isViewingAlteredForm", Type = "bool", Nilable = false },
},
},
{
Name = "MarkCustomizationChoiceAsSeen",
Type = "Function",

Arguments =
{
{ Name = "choiceID", Type = "number", Nilable = false },
},
},
{
Name = "MarkCustomizationOptionAsSeen",
Type = "Function",

Arguments =
{
{ Name = "optionID", Type = "number", Nilable = false },
},
},
{
Name = "PreviewCustomizationChoice",
Type = "Function",
Expand Down Expand Up @@ -113,6 +131,10 @@ local BarberShop =
{ Name = "diffDegrees", Type = "number", Nilable = false },
},
},
{
Name = "SaveSeenChoices",
Type = "Function",
},
{
Name = "SetCameraDistanceOffset",
Type = "Function",
Expand Down
@@ -0,0 +1,41 @@
local BehavioralMessaging =
{
Name = "BehavioralMessaging",
Type = "System",
Namespace = "C_BehavioralMessaging",

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

Arguments =
{
{ Name = "dbId", Type = "string", Nilable = false },
{ Name = "openTimeSeconds", Type = "number", Nilable = false },
{ Name = "readTimeSeconds", Type = "number", Nilable = false },
},
},
},

Events =
{
{
Name = "BehavioralNotification",
Type = "Event",
LiteralName = "BEHAVIORAL_NOTIFICATION",
Payload =
{
{ Name = "notificationType", Type = "string", Nilable = false },
{ Name = "dbId", Type = "string", Nilable = false },
},
},
},

Tables =
{
},
};

APIDocumentation:AddDocumentationTable(BehavioralMessaging);
Expand Up @@ -58,6 +58,7 @@ ItemUpgradeDocumentation.lua
KeyBindingsDocumentation.lua
KnowledgeBaseDocumentation.lua
LFGInfoDocumentation.lua
LFGListInfoDocumentation.lua
LoadingScreenDocumentation.lua
LootDocumentation.lua
LossOfControlDocumentation.lua
Expand Down Expand Up @@ -85,7 +86,6 @@ SecureTransferDocumentation.lua
SkillInfoDocumentation.lua
SocialInfoDocumentation.lua
SocialQueueDocumentation.lua
SocialRestrictionsDocumentation.lua
SoundDocumentation.lua
SpecializationInfoDocumentation.lua
SpellDocumentation.lua
Expand Down Expand Up @@ -124,6 +124,7 @@ AzeriteEssenceDocumentation.lua
AzeriteItemDocumentation.lua
BarberShopDocumentation.lua
BattleNetDocumentation.lua
BehavioralMessagingDocumentation.lua
CVarDocumentation.lua
ChallengeModeInfoDocumentation.lua
ChromieTimeUIDocumentation.lua
Expand All @@ -145,8 +146,6 @@ InvasionInfoDocumentation.lua
IslandsInfoDocumentation.lua
IslandsQueueUIDocumentation.lua
ItemInteractionUIDocumentation.lua
LFGListInfoDocumentation.lua
LFGuildInfoDocumentation.lua
LegendaryCraftingDocumentation.lua
LevelLinkDocumentation.lua
LevelSquishDocumentation.lua
Expand All @@ -165,10 +164,12 @@ ResearchInfoDocumentation.lua
ScenarioInfoDocumentation.lua
ScrappingMachineUIDocumentation.lua
ScriptedAnimationsDocumentation.lua
SocialRestrictionsDocumentation.lua
SoulbindsDocumentation.lua
SplashScreenDocumentation.lua
SuperTrackManagerDocumentation.lua
SystemDocumentation.lua
TTSSettingsDocumentation.lua
TalkingHeadDocumentation.lua
TransmogDocumentation.lua
TransmogItemsDocumentation.lua
Expand All @@ -182,6 +183,7 @@ ZoneAbilityDocumentation.lua
ActionDocumentation.lua
AppearanceSourceDocumentation.lua
AuctionHouseEnumsDocumentation.lua
AzeriteConstantsDocumentation.lua
BaseDocumentation.lua
BattlePetConstantsDocumentation.lua
BountySharedDocumentation.lua
Expand Down Expand Up @@ -223,6 +225,7 @@ CurrencyConstants_MainlineDocumentation.lua
GarrisonSharedDocumentation.lua
ItemConstants_MainlineDocumentation.lua
LegendaryCraftingTypesDocumentation.lua
MythicPlusInfoSharedDocumentation.lua
PlayerMentorshipConstantsDocumentation.lua
QuestConstants_MainlineDocumentation.lua
RecruitAFriendSharedDocumentation.lua
Expand Down
Expand Up @@ -81,6 +81,7 @@ local ChallengeModeInfo =
{ Name = "IsMapRecord", Type = "bool", Nilable = false },
{ Name = "IsAffixRecord", Type = "bool", Nilable = false },
{ Name = "PrimaryAffix", Type = "number", Nilable = false },
{ Name = "isEligibleForScore", Type = "bool", Nilable = false },
{ Name = "members", Type = "table", InnerType = "ChallengeModeCompletionMemberInfo", Nilable = false },
},
},
Expand Down Expand Up @@ -133,6 +134,15 @@ local ChallengeModeInfo =
{ Name = "levelScore", Type = "table", Mixin = "ColorMixin", Nilable = false },
},
},
{
Name = "GetMapScoreInfo",
Type = "Function",

Returns =
{
{ Name = "displayScores", Type = "table", InnerType = "MythicPlusRatingLinkInfo", Nilable = false },
},
},
{
Name = "GetMapTable",
Type = "Function",
Expand Down
Expand Up @@ -47,6 +47,7 @@ local CharacterCustomizationShared =
{ Name = "id", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "ineligibleChoice", Type = "bool", Nilable = false },
{ Name = "isNew", Type = "bool", Nilable = false },
{ Name = "swatchColor1", Type = "table", Mixin = "ColorMixin", Nilable = true },
{ Name = "swatchColor2", Type = "table", Mixin = "ColorMixin", Nilable = true },
},
Expand All @@ -62,6 +63,7 @@ local CharacterCustomizationShared =
{ Name = "optionType", Type = "ChrCustomizationOptionType", Nilable = false },
{ Name = "choices", Type = "table", InnerType = "CharCustomizationChoice", Nilable = false },
{ Name = "currentChoiceIndex", Type = "number", Nilable = false },
{ Name = "hasNewChoices", Type = "bool", Nilable = false },
},
},
},
Expand Down
Expand Up @@ -44,6 +44,33 @@ local ChatConstants =
{ Name = "Custom", Type = "PermanentChatChannelType", EnumValue = 3 },
},
},
{
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 },
},
},
},
};

Expand Down

0 comments on commit 4b8a0a9

Please sign in to comment.