Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
298 changed files
with
11,196 additions
and
9,997 deletions.
There are no files selected for viewing
110 changes: 110 additions & 0 deletions
110
Interface/AddOns/Blizzard_APIDocumentation/ArtifactConstantsDocumentation.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); |
22 changes: 22 additions & 0 deletions
22
Interface/AddOns/Blizzard_APIDocumentation/AzeriteConstantsDocumentation.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
Interface/AddOns/Blizzard_APIDocumentation/BehavioralMessagingDocumentation.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.