Include Blizzard_APIDocumentation and Search API Button to Code Editor with Wrath Classic Data (#57)
This commit is contained in:
+3
-1
@@ -19570,5 +19570,7 @@ globals = {
|
||||
"SecondsFormatterConstants", "ConvertSecondsToUnits", "SecondsToClock",
|
||||
"MinutesToTime", "FormatShortDate", "NUMBER_ABBREVIATION_DATA", "WeakAurasProfilingReportTitleText",
|
||||
"WeakAurasRealTimeProfiling", "WeakAurasRealTimeProfilingTitleText", "seconds", "NUM_CHAT_WINDOWS",
|
||||
"GetNumGlyphSockets", "GetGlyphLink", "GetGlyphSocketInfo"
|
||||
"GetNumGlyphSockets", "GetGlyphLink", "GetGlyphSocketInfo", "APIDocumentationMixin", "BaseAPIMixin",
|
||||
"EventsAPIMixin", "FieldsAPIMixin", "FunctionsAPIMixin", "SystemsAPIMixin", "TablesAPIMixin",
|
||||
"CopyToClipboard", "ChatFrame_OpenChat", "ChatTypeInfo"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,335 @@
|
||||
## Interface: 30300
|
||||
## Title: APIDocumentation
|
||||
## Author: Blizzard Entertainment
|
||||
## LoadOnDemand: 1
|
||||
## DefaultState: Enabled
|
||||
## Version: 1.0.0
|
||||
## Notes: A comprehensive documentation of the Blizzard API, including constants, functions, and events.
|
||||
## Notes-deDE: Eine umfassende Dokumentation der Blizzard-API, einschließlich Konstanten, Funktionen und Ereignissen.
|
||||
## Notes-frFR: Une documentation complète de l'API Blizzard, y compris les constantes, les fonctions et les événements.
|
||||
## Notes-esES: Una documentación completa de la API de Blizzard, incluidos constantes, funciones y eventos.
|
||||
## Notes-esMX: Una documentación completa de la API de Blizzard, incluidos constantes, funciones y eventos.
|
||||
## Notes-ruRU: Полная документация API Blizzard, включая константы, функции и события.
|
||||
## Notes-zhTW: 一個全面的暴雪 API 文檔,包括常量、函數和事件。
|
||||
## Notes-zhCN: 一份全面的暴雪 API 文档,包括常量、函数和事件。
|
||||
## X-Flavor: 3.3.5
|
||||
## X-Category: Documentation
|
||||
|
||||
## AddOn files
|
||||
BaseAPIMixin.lua
|
||||
FieldsAPIMixin.lua
|
||||
FunctionsAPIMixin.lua
|
||||
SystemsAPIMixin.lua
|
||||
TablesAPIMixin.lua
|
||||
EventsAPIMixin.lua
|
||||
Blizzard_APIDocumentation.lua
|
||||
|
||||
## Documentation files
|
||||
Documentation\AccountConstantsDocumentation.lua
|
||||
Documentation\AccountInfoDocumentation.lua
|
||||
Documentation\AchievementInfoDocumentation.lua
|
||||
Documentation\ActionBarFrameDocumentation.lua
|
||||
Documentation\ActionDocumentation.lua
|
||||
Documentation\AddOnsDocumentation.lua
|
||||
Documentation\AdventureJournalDocumentation.lua
|
||||
Documentation\AdventureMapDocumentation.lua
|
||||
Documentation\AppearanceSourceDocumentation.lua
|
||||
Documentation\AreaPoiInfoDocumentation.lua
|
||||
Documentation\AuctionHouseConstants_ClassicDocumentation.lua
|
||||
Documentation\AuctionHouseDocumentation.lua
|
||||
Documentation\AuctionHouseEnumsDocumentation.lua
|
||||
Documentation\AzeriteConstantsDocumentation.lua
|
||||
Documentation\AzeriteEmpoweredItemDocumentation.lua
|
||||
Documentation\AzeriteEssenceDocumentation.lua
|
||||
Documentation\AzeriteItemDocumentation.lua
|
||||
Documentation\BagConstantsDocumentation.lua
|
||||
Documentation\BagIndexConstantsDocumentation.lua
|
||||
Documentation\BankDocumentation.lua
|
||||
Documentation\BarberShopDocumentation.lua
|
||||
Documentation\BaseDocumentation.lua
|
||||
Documentation\BattleNetDocumentation.lua
|
||||
Documentation\BattlePetConstantsDocumentation.lua
|
||||
Documentation\BattlePetDocumentation.lua
|
||||
Documentation\BehavioralMessagingDocumentation.lua
|
||||
Documentation\BlackMarketInfoDocumentation.lua
|
||||
Documentation\Blizzard_APIDocumentationGenerated.toc
|
||||
Documentation\BountySharedDocumentation.lua
|
||||
Documentation\BrowserDocumentation.lua
|
||||
Documentation\BuildDocumentation.lua
|
||||
Documentation\ButtonConstantsDocumentation.lua
|
||||
Documentation\CalendarConstantsDocumentation.lua
|
||||
Documentation\CalendarDocumentation.lua
|
||||
Documentation\CameraDocumentation.lua
|
||||
Documentation\CharacterCustomizationSharedDocumentation.lua
|
||||
Documentation\ChatBubblesDocumentation.lua
|
||||
Documentation\ChatConstantsDocumentation.lua
|
||||
Documentation\ChatInfoDocumentation.lua
|
||||
Documentation\CinematicDocumentation.lua
|
||||
Documentation\ClassTrialDocumentation.lua
|
||||
Documentation\ClientDocumentation.lua
|
||||
Documentation\ClientSceneDocumentation.lua
|
||||
Documentation\ClubDocumentation.lua
|
||||
Documentation\ClubSharedDocumentation.lua
|
||||
Documentation\ColorDocumentation.lua
|
||||
Documentation\CombatLogDocumentation.lua
|
||||
Documentation\CommentatorFrameDocumentation.lua
|
||||
Documentation\CommentatorSharedDocumentation.lua
|
||||
Documentation\CompactUnitFramesDocumentation.lua
|
||||
Documentation\ConfigurationWarningsDocumentation.lua
|
||||
Documentation\ConsoleDocumentation.lua
|
||||
Documentation\ConsoleScriptCollectionDocumentation.lua
|
||||
Documentation\ContainerDocumentation.lua
|
||||
Documentation\ContentTrackingTypesDocumentation.lua
|
||||
Documentation\ContributionCollectorDocumentation.lua
|
||||
Documentation\CooldownFrameAPIDocumentation.lua
|
||||
Documentation\CraftInfoDocumentation.lua
|
||||
Documentation\CreatureInfoDocumentation.lua
|
||||
Documentation\CurrencyConstantsDocumentation.lua
|
||||
Documentation\CurrencyConstants_ClassicDocumentation.lua
|
||||
Documentation\CurrencyInfoDocumentation.lua
|
||||
Documentation\CursorConstDocumentation.lua
|
||||
Documentation\CursorDocumentation.lua
|
||||
Documentation\CVarDocumentation.lua
|
||||
Documentation\DamageConstantsDocumentation.lua
|
||||
Documentation\DateAndTimeDocumentation.lua
|
||||
Documentation\DeathInfoDocumentation.lua
|
||||
Documentation\DuelInfoDocumentation.lua
|
||||
Documentation\EditModeManagerDocumentation.lua
|
||||
Documentation\EditModeManagerSharedDocumentation.lua
|
||||
Documentation\EncounterInfoDocumentation.lua
|
||||
Documentation\EncounterJournalConstantsDocumentation.lua
|
||||
Documentation\EquipmentManagerDocumentation.lua
|
||||
Documentation\EventUtilsDocumentation.lua
|
||||
Documentation\ExpansionDocumentation.lua
|
||||
Documentation\ExpansionLandingPageConstantsDocumentation.lua
|
||||
Documentation\FogOfWarDocumentation.lua
|
||||
Documentation\FontDocumentation.lua
|
||||
Documentation\FrameAPICharacterModelBaseDocumentation.lua
|
||||
Documentation\FrameAPICinematicModelDocumentation.lua
|
||||
Documentation\FrameAPICooldownDocumentation.lua
|
||||
Documentation\FrameAPIDressUpModelDocumentation.lua
|
||||
Documentation\FrameAPIFogOfWarFrameDocumentation.lua
|
||||
Documentation\FrameAPIModelSceneFrameDocumentation.lua
|
||||
Documentation\FrameAPIModelSceneFrameSharedDocumentation.lua
|
||||
Documentation\FrameAPISimpleCheckoutDocumentation.lua
|
||||
Documentation\FrameAPITabardModelBaseDocumentation.lua
|
||||
Documentation\FrameAPITabardModelDocumentation.lua
|
||||
Documentation\FrameAPIUnitPositionFrameDocumentation.lua
|
||||
Documentation\FrameScriptDocumentation.lua
|
||||
Documentation\FriendListDocumentation.lua
|
||||
Documentation\GamePadConstDocumentation.lua
|
||||
Documentation\GamePadDocumentation.lua
|
||||
Documentation\GameRulesDocumentation.lua
|
||||
Documentation\GarrisonConstantsDocumentation.lua
|
||||
Documentation\GARRISON_FOLLOWER_TYPEConstantsDocumentation.lua
|
||||
Documentation\GARRISON_TYPEConstantsDocumentation.lua
|
||||
Documentation\GlueDocumentation.lua
|
||||
Documentation\GlyphInfoDocumentation.lua
|
||||
Documentation\GMTicketInfoDocumentation.lua
|
||||
Documentation\GossipConstantsDocumentation.lua
|
||||
Documentation\GossipInfoDocumentation.lua
|
||||
Documentation\GuildBankDocumentation.lua
|
||||
Documentation\GuildInfoDocumentation.lua
|
||||
Documentation\GuildInfoSharedDocumentation.lua
|
||||
Documentation\HeirloomInfoDocumentation.lua
|
||||
Documentation\InputConstantsDocumentation.lua
|
||||
Documentation\InputDocumentation.lua
|
||||
Documentation\InstanceEncounterDocumentation.lua
|
||||
Documentation\ItemConstantsDocumentation.lua
|
||||
Documentation\ItemConstants_ClassicDocumentation.lua
|
||||
Documentation\ItemDocumentation.lua
|
||||
Documentation\ItemLocationSharedDocumentation.lua
|
||||
Documentation\ItemSharedDocumentation.lua
|
||||
Documentation\ItemSocketInfoDocumentation.lua
|
||||
Documentation\ItemTextDocumentation.lua
|
||||
Documentation\ItemUpgradeDocumentation.lua
|
||||
Documentation\KeyBindingsDocumentation.lua
|
||||
Documentation\KnowledgeBaseDocumentation.lua
|
||||
Documentation\LevelConstantsDocumentation.lua
|
||||
Documentation\LFGConstantsDocumentation.lua
|
||||
Documentation\LFGInfoDocumentation.lua
|
||||
Documentation\LFGListInfoDocumentation.lua
|
||||
Documentation\LoadingScreenDocumentation.lua
|
||||
Documentation\LocaleDocumentation.lua
|
||||
Documentation\LocalizationDocumentation.lua
|
||||
Documentation\LootConstantsDocumentation.lua
|
||||
Documentation\LootDocumentation.lua
|
||||
Documentation\LossOfControlDocumentation.lua
|
||||
Documentation\MailInfoDocumentation.lua
|
||||
Documentation\MapConstantsDocumentation.lua
|
||||
Documentation\MapDocumentation.lua
|
||||
Documentation\MapExplorationDocumentation.lua
|
||||
Documentation\MerchantFrameDocumentation.lua
|
||||
Documentation\MinimapConstantsDocumentation.lua
|
||||
Documentation\MinimapDocumentation.lua
|
||||
Documentation\MinimapFrameAPIDocumentation.lua
|
||||
Documentation\ModelSceneDocumentation.lua
|
||||
Documentation\MovieDocumentation.lua
|
||||
Documentation\NamePlateDocumentation.lua
|
||||
Documentation\NamePlateManagerDocumentation.lua
|
||||
Documentation\NewItemsDocumentation.lua
|
||||
Documentation\OsDocumentation.lua
|
||||
Documentation\PaperDollInfoDocumentation.lua
|
||||
Documentation\ParentalControlsDocumentation.lua
|
||||
Documentation\PartyInfoDocumentation.lua
|
||||
Documentation\PartyPoseUIDocumentation.lua
|
||||
Documentation\PerksVendorConstantsDocumentation.lua
|
||||
Documentation\PetBattleConstantsDocumentation.lua
|
||||
Documentation\PetInfoDocumentation.lua
|
||||
Documentation\PetJournalInfoDocumentation.lua
|
||||
Documentation\PetScalingConstantsDocumentation.lua
|
||||
Documentation\PingConstantsDocumentation.lua
|
||||
Documentation\PlatformDocumentation.lua
|
||||
Documentation\PlayerDocumentation.lua
|
||||
Documentation\PlayerInfoDocumentation.lua
|
||||
Documentation\PlayerInfoSharedDocumentation.lua
|
||||
Documentation\PlayerInteractionManagerConstantsDocumentation.lua
|
||||
Documentation\PlayerInteractionManagerDocumentation.lua
|
||||
Documentation\PlayerLocationDocumentation.lua
|
||||
Documentation\PlayerMentorshipConstantsDocumentation.lua
|
||||
Documentation\PortraitDocumentation.lua
|
||||
Documentation\ProfessionConstantsDocumentation.lua
|
||||
Documentation\PvPFactionConstantsDocumentation.lua
|
||||
Documentation\PvpInfoConstantsDocumentation.lua
|
||||
Documentation\PvpInfoDocumentation.lua
|
||||
Documentation\PVPMgrConstantsDocumentation.lua
|
||||
Documentation\QuestConstantsDocumentation.lua
|
||||
Documentation\QuestConstants_ClassicDocumentation.lua
|
||||
Documentation\QuestInfoSystemDocumentation.lua
|
||||
Documentation\QuestLineInfoDocumentation.lua
|
||||
Documentation\QuestLogDocumentation.lua
|
||||
Documentation\QuestOfferDocumentation.lua
|
||||
Documentation\QuestRewardsDocumentation.lua
|
||||
Documentation\QuestSessionConstantsDocumentation.lua
|
||||
Documentation\QuestSessionDocumentation.lua
|
||||
Documentation\QuestTaskInfoDocumentation.lua
|
||||
Documentation\QueueSpecificDocumentation.lua
|
||||
Documentation\RaidLocksDocumentation.lua
|
||||
Documentation\RecruitAFriendSharedDocumentation.lua
|
||||
Documentation\ReportSystemConstantsDocumentation.lua
|
||||
Documentation\ReportSystemDocumentation.lua
|
||||
Documentation\ReputationInfoDocumentation.lua
|
||||
Documentation\RestrictedActionsDocumentation.lua
|
||||
Documentation\ScreenDocumentation.lua
|
||||
Documentation\ScriptedAnimationsDocumentation.lua
|
||||
Documentation\ScriptRegionSharedDocumentation.lua
|
||||
Documentation\ScriptWarningsDocumentation.lua
|
||||
Documentation\SeasonsConstantsDocumentation.lua
|
||||
Documentation\SeasonsDocumentation.lua
|
||||
Documentation\SecureTransferDocumentation.lua
|
||||
Documentation\SharedScriptObjectModelLightDocumentation.lua
|
||||
Documentation\SharedScriptObjectUnitPositionFrameDocumentation.lua
|
||||
Documentation\SharedTraitsDocumentation.lua
|
||||
Documentation\SharedTraitsEnumsDocumentation.lua
|
||||
Documentation\SimpleAnimAlphaAPIDocumentation.lua
|
||||
Documentation\SimpleAnimAPIDocumentation.lua
|
||||
Documentation\SimpleAnimatableObjectAPIDocumentation.lua
|
||||
Documentation\SimpleAnimFlipBookAPIDocumentation.lua
|
||||
Documentation\SimpleAnimGroupAPIDocumentation.lua
|
||||
Documentation\SimpleAnimPathAPIDocumentation.lua
|
||||
Documentation\SimpleAnimRotationAPIDocumentation.lua
|
||||
Documentation\SimpleAnimScaleAPIDocumentation.lua
|
||||
Documentation\SimpleAnimScaleLineAPIDocumentation.lua
|
||||
Documentation\SimpleAnimTextureCoordTranslationAPIDocumentation.lua
|
||||
Documentation\SimpleAnimTranslationAPIDocumentation.lua
|
||||
Documentation\SimpleAnimTranslationLineAPIDocumentation.lua
|
||||
Documentation\SimpleBrowserAPIDocumentation.lua
|
||||
Documentation\SimpleButtonAPIDocumentation.lua
|
||||
Documentation\SimpleCheckboxAPIDocumentation.lua
|
||||
Documentation\SimpleColorSelectAPIDocumentation.lua
|
||||
Documentation\SimpleControlPointAPIDocumentation.lua
|
||||
Documentation\SimpleEditBoxAPIDocumentation.lua
|
||||
Documentation\SimpleFontAPIDocumentation.lua
|
||||
Documentation\SimpleFontStringAPIDocumentation.lua
|
||||
Documentation\SimpleFrameAPIDocumentation.lua
|
||||
Documentation\SimpleFrameScriptObjectAPIDocumentation.lua
|
||||
Documentation\SimpleHTMLAPIDocumentation.lua
|
||||
Documentation\SimpleHTMLSharedDocumentation.lua
|
||||
Documentation\SimpleLineAPIDocumentation.lua
|
||||
Documentation\SimpleMaskTextureAPIDocumentation.lua
|
||||
Documentation\SimpleMessageFrameAPIDocumentation.lua
|
||||
Documentation\SimpleModelAPIDocumentation.lua
|
||||
Documentation\SimpleModelFFXAPIDocumentation.lua
|
||||
Documentation\SimpleMovieAPIDocumentation.lua
|
||||
Documentation\SimpleObjectAPIDocumentation.lua
|
||||
Documentation\SimpleOffScreenFrameAPIDocumentation.lua
|
||||
Documentation\SimpleRegionAPIDocumentation.lua
|
||||
Documentation\SimpleScriptRegionAPIDocumentation.lua
|
||||
Documentation\SimpleScriptRegionResizingAPIDocumentation.lua
|
||||
Documentation\SimpleScrollFrameAPIDocumentation.lua
|
||||
Documentation\SimpleSliderAPIDocumentation.lua
|
||||
Documentation\SimpleStatusBarAPIDocumentation.lua
|
||||
Documentation\SimpleTextureAPIDocumentation.lua
|
||||
Documentation\SimpleTextureBaseAPIDocumentation.lua
|
||||
Documentation\SkillInfoDocumentation.lua
|
||||
Documentation\SocialInfoDocumentation.lua
|
||||
Documentation\SocialQueueDocumentation.lua
|
||||
Documentation\SocialRestrictionsDocumentation.lua
|
||||
Documentation\SoftTargetConstantsDocumentation.lua
|
||||
Documentation\SoundDocumentation.lua
|
||||
Documentation\SpecializationInfoDocumentation.lua
|
||||
Documentation\SpecializationSharedDocumentation.lua
|
||||
Documentation\SpellActivationOverlayDocumentation.lua
|
||||
Documentation\SpellBookDocumentation.lua
|
||||
Documentation\SpellDocumentation.lua
|
||||
Documentation\StableInfoDocumentation.lua
|
||||
Documentation\StorePublicUIDocumentation.lua
|
||||
Documentation\StringUtilDocumentation.lua
|
||||
Documentation\SummonInfoDocumentation.lua
|
||||
Documentation\SystemDocumentation.lua
|
||||
Documentation\SystemTimeDocumentation.lua
|
||||
Documentation\TaxiMapDocumentation.lua
|
||||
Documentation\TextureSharedDocumentation.lua
|
||||
Documentation\TextureUtilsDocumentation.lua
|
||||
Documentation\TimeDocumentation.lua
|
||||
Documentation\TooltipComparisonDocumentation.lua
|
||||
Documentation\TooltipConstantsDocumentation.lua
|
||||
Documentation\TooltipInfoDocumentation.lua
|
||||
Documentation\TooltipInfoSharedDocumentation.lua
|
||||
Documentation\ToyBoxInfoDocumentation.lua
|
||||
Documentation\TradeInfoDocumentation.lua
|
||||
Documentation\TradeSkillUIDocumentation.lua
|
||||
Documentation\TradeSkillUITypesDocumentation.lua
|
||||
Documentation\TrainerDocumentation.lua
|
||||
Documentation\TraitConfigDocumentation.lua
|
||||
Documentation\TraitConstantsDocumentation.lua
|
||||
Documentation\TransmogSharedDocumentation.lua
|
||||
Documentation\TTSSettingsDocumentation.lua
|
||||
Documentation\TutorialDocumentation.lua
|
||||
Documentation\UIColorDocumentation.lua
|
||||
Documentation\UIFileAssetSharedDocumentation.lua
|
||||
Documentation\UIGenericWidgetDisplayDocumentation.lua
|
||||
Documentation\UIMacrosDocumentation.lua
|
||||
Documentation\UIManagerDocumentation.lua
|
||||
Documentation\UIModelInfoDocumentation.lua
|
||||
Documentation\UIModelInfoSharedDocumentation.lua
|
||||
Documentation\UiModelSceneConstantsDocumentation.lua
|
||||
Documentation\UISharedDocumentation.lua
|
||||
Documentation\UISystemVisibilityManagerDocumentation.lua
|
||||
Documentation\UITextureAssetSharedDocumentation.lua
|
||||
Documentation\UITimerDocumentation.lua
|
||||
Documentation\UIWidgetManagerDocumentation.lua
|
||||
Documentation\UIWidgetManagerSharedDocumentation.lua
|
||||
Documentation\UnitAuraDocumentation.lua
|
||||
Documentation\UnitConstantsDocumentation.lua
|
||||
Documentation\UnitDocumentation.lua
|
||||
Documentation\UnitSexConstantsDocumentation.lua
|
||||
Documentation\UnitSharedDocumentation.lua
|
||||
Documentation\URLDocumentation.lua
|
||||
Documentation\UserFeedbackDocumentation.lua
|
||||
Documentation\ValidateNameConstantsDocumentation.lua
|
||||
Documentation\VectorSharedDocumentation.lua
|
||||
Documentation\VehicleConstantsDocumentation.lua
|
||||
Documentation\VehicleDocumentation.lua
|
||||
Documentation\VideoDocumentation.lua
|
||||
Documentation\VignetteConstantsDocumentation.lua
|
||||
Documentation\VignetteInfoDocumentation.lua
|
||||
Documentation\VoiceChatDocumentation.lua
|
||||
Documentation\VoidStorageInfoDocumentation.lua
|
||||
Documentation\WeeklyRewardsSharedDocumentation.lua
|
||||
Documentation\WorldStateInfoDocumentation.lua
|
||||
Documentation\WowEntitlementInfoDocumentation.lua
|
||||
Documentation\WoWGuidDocumentation.lua
|
||||
Documentation\WowLabsConstantsDocumentation.lua
|
||||
Documentation\WowTokenUIDocumentation.lua
|
||||
Documentation\XMLUtilDocumentation.lua
|
||||
@@ -0,0 +1,124 @@
|
||||
local addonName, Private = ...
|
||||
|
||||
Private.Mixin = function(object, ...)
|
||||
for i = 1, select("#", ...) do
|
||||
local mixin = select(i, ...);
|
||||
for k, v in pairs(mixin) do
|
||||
object[k] = v;
|
||||
end
|
||||
end
|
||||
return object;
|
||||
end
|
||||
|
||||
Private.CreateFromMixins = function(...)
|
||||
return Private.Mixin({}, ...)
|
||||
end
|
||||
|
||||
BaseAPIMixin = {};
|
||||
|
||||
function BaseAPIMixin:GetType()
|
||||
return assert(false);
|
||||
end
|
||||
|
||||
function BaseAPIMixin:GetPrettyType()
|
||||
return self:GetType();
|
||||
end
|
||||
|
||||
function BaseAPIMixin:GetLinkHexColor()
|
||||
return "ffffff";
|
||||
end
|
||||
|
||||
function BaseAPIMixin:GetName()
|
||||
return self.Name;
|
||||
end
|
||||
|
||||
function BaseAPIMixin:GetFullName()
|
||||
return self:GetName();
|
||||
end
|
||||
|
||||
function BaseAPIMixin:GetParentName()
|
||||
return "";
|
||||
end
|
||||
|
||||
function BaseAPIMixin:GetLoweredParentName()
|
||||
if not self.loweredParentName then
|
||||
self.loweredParentName = self:GetParentName():lower();
|
||||
end
|
||||
return self.loweredParentName;
|
||||
end
|
||||
|
||||
function BaseAPIMixin:GetLoweredName()
|
||||
if not self.loweredName then
|
||||
self.loweredName = self:GetName():lower();
|
||||
end
|
||||
return self.loweredName;
|
||||
end
|
||||
|
||||
function BaseAPIMixin:GetClipboardString()
|
||||
return self:GetFullName();
|
||||
end
|
||||
|
||||
function BaseAPIMixin:GenerateAPILink()
|
||||
return ("|cff%s|Hapi:%s:%s:%s|h%s|h|r"):format(self:GetLinkHexColor(), self:GetType(), self:GetName(), self:GetParentName(), self:GetFullName());
|
||||
end
|
||||
|
||||
function BaseAPIMixin:GetSingleOutputLine()
|
||||
return ("%s %s"):format(self:GetPrettyType(), self:GenerateAPILink());
|
||||
end
|
||||
|
||||
function BaseAPIMixin:GetDetailedOutputLines()
|
||||
return { self:GetSingleOutputLine() };
|
||||
end
|
||||
|
||||
function BaseAPIMixin:MatchesSearchString(searchString)
|
||||
return false;
|
||||
end
|
||||
|
||||
function BaseAPIMixin:MatchesName(name, parentName)
|
||||
if name == self:GetName() then
|
||||
return not parentName or parentName == self:GetParentName();
|
||||
end
|
||||
return false;
|
||||
end
|
||||
|
||||
function BaseAPIMixin:MatchesNameCaseInsenstive(name, parentName)
|
||||
if name == self:GetLoweredName() then
|
||||
return not parentName or parentName == self:GetLoweredParentName();
|
||||
end
|
||||
return false;
|
||||
end
|
||||
|
||||
function BaseAPIMixin:MatchesAnyAPI(apiTable, searchString)
|
||||
if apiTable then
|
||||
for i, apiInfo in ipairs(apiTable) do
|
||||
if apiInfo:MatchesSearchString(searchString) then
|
||||
return true;
|
||||
end
|
||||
end
|
||||
end
|
||||
return false;
|
||||
end
|
||||
|
||||
function BaseAPIMixin:MatchesAnyDocumentation(searchString)
|
||||
if self.Documentation then
|
||||
for i, documentation in ipairs(self.Documentation) do
|
||||
if documentation:lower():match(searchString) then
|
||||
return true;
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function BaseAPIMixin:AddDocumentationTags(lines)
|
||||
if self.Documentation then
|
||||
for i, documentation in ipairs(self.Documentation) do
|
||||
table.insert(lines, APIDocumentation:GetIndentString() .. documentation);
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function BaseAPIMixin:AddSystemTag(lines)
|
||||
if self.System then
|
||||
table.insert(lines, APIDocumentation:GetIndentString() .. ("Part of the %s system"):format(self.System:GenerateAPILink()));
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,404 @@
|
||||
local addonName, Private = ...
|
||||
|
||||
APIDocumentationMixin = {};
|
||||
|
||||
-- "public"
|
||||
function APIDocumentationMixin:OnLoad()
|
||||
self.tables = {};
|
||||
self.functions = {};
|
||||
self.systems = {};
|
||||
self.fields = {};
|
||||
self.events = {};
|
||||
self.callbacks = {};
|
||||
|
||||
self.Commands = {
|
||||
Default = 1,
|
||||
CopyAPI = 2,
|
||||
OpenDump = 3,
|
||||
};
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:HandleSlashCommand(command)
|
||||
local commands = { (" "):split(command) };
|
||||
|
||||
if commands[1] == "?" or commands[1] == "help" or commands[1] == "" then
|
||||
self:OutputUsage();
|
||||
elseif commands[1] == "stats" then
|
||||
self:OutputStats();
|
||||
elseif commands[1] == "system" then
|
||||
if commands[2] == "list" then
|
||||
self:OutputAllSystems();
|
||||
else
|
||||
self:OutputUsage();
|
||||
end
|
||||
elseif commands[1] == "s" or commands[1] == "search" then
|
||||
self:OutputAllAPIMatches(unpack(commands, 2));
|
||||
elseif commands[1] then
|
||||
self:TryHandlingSystemSearchCommand(unpack(commands));
|
||||
else
|
||||
self:OutputUsage();
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:HandleAPILink(link, command)
|
||||
local _, type, name, parentName = (":"):split(link);
|
||||
local apiInfo = self:FindAPIByName(type, name, parentName);
|
||||
if apiInfo then
|
||||
if command == self.Commands.CopyAPI then
|
||||
self:HandleCopyAPI(apiInfo);
|
||||
elseif command == self.Commands.OpenDump then
|
||||
self:HandleOpenDump(apiInfo);
|
||||
else
|
||||
self:HandleDefaultCommand(apiInfo);
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:HandleDefaultCommand(apiInfo)
|
||||
self:WriteLine(" ");
|
||||
self:WriteAllLines(apiInfo:GetDetailedOutputLines());
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:HandleCopyAPI(apiInfo)
|
||||
local clipboardString = apiInfo:GetClipboardString();
|
||||
if CopyToClipboard then
|
||||
CopyToClipboard(clipboardString);
|
||||
end
|
||||
self:WriteLineF("Copied to clipboard: %s", clipboardString);
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:HandleOpenDump(apiInfo)
|
||||
if apiInfo.Type == "Function" then
|
||||
local dumpString;
|
||||
local systemNamespace = apiInfo.System and apiInfo.System:GetNamespaceName() or nil;
|
||||
if systemNamespace and systemNamespace ~= "" then
|
||||
dumpString = ("/dump %s.%s()"):format(systemNamespace, apiInfo.Name);
|
||||
else
|
||||
dumpString = ("/dump %s()"):format(apiInfo.Name);
|
||||
end
|
||||
|
||||
local desiredCursorPosition = #dumpString - 1;
|
||||
ChatFrame_OpenChat(dumpString, nil, desiredCursorPosition);
|
||||
else
|
||||
self:WriteLine("Can only /dump functions");
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:FindAPIByName(apiType, name, parentName)
|
||||
local apiTable = self:GetAPITableByTypeName(apiType);
|
||||
if apiTable then
|
||||
for i, apiInfo in ipairs(apiTable) do
|
||||
if apiInfo:MatchesName(name, parentName) then
|
||||
return apiInfo;
|
||||
end
|
||||
end
|
||||
end
|
||||
return nil;
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:GetAPITableByTypeName(apiType)
|
||||
if apiType == "function" then
|
||||
return self.functions;
|
||||
elseif apiType == "table" then
|
||||
return self.tables;
|
||||
elseif apiType == "system" then
|
||||
return self.systems;
|
||||
elseif apiType == "field" then
|
||||
return self.fields;
|
||||
elseif apiType == "event" then
|
||||
return self.events;
|
||||
elseif apiType == "callback" then
|
||||
return self.callbacks;
|
||||
end
|
||||
return nil;
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:OutputUsage()
|
||||
self:WriteLine("Usage:");
|
||||
|
||||
self:WriteLine("Search for API");
|
||||
self:WriteLine(self:GetIndentString() .. "/api search <api name>");
|
||||
self:WriteLine(self:GetIndentString() .. "or");
|
||||
self:WriteLine(self:GetIndentString() .. "/api s <api name>");
|
||||
self:WriteLine(self:GetIndentString() .. "Example: /api search item");
|
||||
self:WriteLine(" ");
|
||||
|
||||
self:WriteLine("List all systems");
|
||||
self:WriteLine(self:GetIndentString() .. "/api system list");
|
||||
self:WriteLine(" ");
|
||||
|
||||
self:WriteLine("Search system for API");
|
||||
self:WriteLine(self:GetIndentString() .. "/api <system name> search <api name>");
|
||||
self:WriteLine(self:GetIndentString() .. "or");
|
||||
self:WriteLine(self:GetIndentString() .. "/api <system name> s <api name>");
|
||||
self:WriteLine(self:GetIndentString() .. "Example: /api artifactui search relic");
|
||||
self:WriteLine(" ");
|
||||
|
||||
self:WriteLine("List all API in a system");
|
||||
self:WriteLine(self:GetIndentString() .. "/api <system name> list");
|
||||
self:WriteLine(self:GetIndentString() .. "Example: /api artifactui list");
|
||||
self:WriteLine(" ");
|
||||
self:WriteLine("All searches support Lua patterns.");
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:OutputStats()
|
||||
self:WriteLine("Stats:");
|
||||
self:WriteLineF("Total systems: %d", #self.systems);
|
||||
local totalFunctions = 0;
|
||||
local totalEvents = 0;
|
||||
local totalTables = 0;
|
||||
|
||||
for i, systemInfo in ipairs(self.systems) do
|
||||
totalFunctions = totalFunctions + systemInfo:GetNumFunctions();
|
||||
totalEvents = totalEvents + systemInfo:GetNumEvents();
|
||||
totalTables = totalTables + systemInfo:GetNumTables();
|
||||
end
|
||||
|
||||
self:WriteLineF("Total functions: %d", totalFunctions);
|
||||
self:WriteLineF("Total events: %d", totalEvents);
|
||||
self:WriteLineF("Total tables: %d", totalTables);
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:OutputAllSystems()
|
||||
self:WriteLineF("All systems (%d):", #self.systems);
|
||||
for i, systemInfo in ipairs(self.systems) do
|
||||
self:WriteLine(systemInfo:GetSingleOutputLine());
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:TryHandlingSystemSearchCommand(systemName, subCommand, apiToSearchFor)
|
||||
local system = self:FindSystemByName(systemName);
|
||||
if system then
|
||||
if subCommand == nil then
|
||||
self:WriteLine(system:GetSingleOutputLine());
|
||||
elseif subCommand == "s" or subCommand == "search" and apiToSearchFor then
|
||||
self:OutputAllSystemAPIMatches(system, apiToSearchFor);
|
||||
elseif subCommand == "list" then
|
||||
self:OutputAllSystemAPI(system);
|
||||
else
|
||||
self:OutputUsage();
|
||||
end
|
||||
else
|
||||
self:WriteLineF("No system found (%s)", tostring(systemName));
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:OutputAPIMatches(apiMatches, headerName)
|
||||
if apiMatches and #apiMatches > 0 then
|
||||
self:WriteLineF("Found %d %s", #apiMatches, headerName);
|
||||
for i, api in ipairs(apiMatches) do
|
||||
self:WriteLine(self:GetIndentString() .. api:GetSingleOutputLine());
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:OutputAllAPIMatches(apiToSearchFor)
|
||||
if not apiToSearchFor or apiToSearchFor == "" then
|
||||
self:OutputUsage();
|
||||
return;
|
||||
end
|
||||
self:WriteLine(" ");
|
||||
|
||||
local apiMatches = self:FindAllAPIMatches(apiToSearchFor);
|
||||
if apiMatches then
|
||||
local total = #apiMatches.tables + #apiMatches.functions + #apiMatches.events + #apiMatches.systems + #apiMatches.callbacks;
|
||||
assert(total > 0);
|
||||
self:WriteLineF("Found %d API that matches %q", total, apiToSearchFor);
|
||||
|
||||
self:OutputAPIMatches(apiMatches.systems, "system(s)");
|
||||
self:OutputAPIMatches(apiMatches.functions, "function(s)");
|
||||
self:OutputAPIMatches(apiMatches.events, "events(s)");
|
||||
self:OutputAPIMatches(apiMatches.tables, "table(s)");
|
||||
self:OutputAPIMatches(apiMatches.callbacks, "callback(s)");
|
||||
else
|
||||
self:WriteLineF("No API found that matches %q", apiToSearchFor);
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:OutputAllSystemAPIMatches(system, apiToSearchFor)
|
||||
local apiMatches = system:FindAllAPIMatches(apiToSearchFor);
|
||||
if apiMatches then
|
||||
local total = #apiMatches.tables + #apiMatches.functions + #apiMatches.events;
|
||||
assert(total > 0);
|
||||
self:WriteLineF("Found %d API that matches %q", total, apiToSearchFor);
|
||||
|
||||
self:OutputAPIMatches(apiMatches.functions, "function(s)");
|
||||
self:OutputAPIMatches(apiMatches.events, "events(s)");
|
||||
self:OutputAPIMatches(apiMatches.tables, "table(s)");
|
||||
else
|
||||
self:WriteLineF("No API found that matches %q in %s", apiToSearchFor, system:GenerateAPILink());
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:OutputAllSystemAPI(system)
|
||||
local apiMatches = system:ListAllAPI();
|
||||
if apiMatches then
|
||||
self:WriteLineF("All API in %s", system:GenerateAPILink());
|
||||
|
||||
self:OutputAPIMatches(apiMatches.functions, "function(s)");
|
||||
self:OutputAPIMatches(apiMatches.events, "events(s)");
|
||||
self:OutputAPIMatches(apiMatches.tables, "table(s)");
|
||||
else
|
||||
self:WriteLineF("No API found in %s", system:GenerateAPILink());
|
||||
end
|
||||
end
|
||||
|
||||
--[[static]] function APIDocumentationMixin:AddAllMatches(apiContainer, matchesContainer, apiToSearchFor)
|
||||
for i, apiInfo in ipairs(apiContainer) do
|
||||
if apiInfo:MatchesSearchString(apiToSearchFor) then
|
||||
table.insert(matchesContainer, apiInfo);
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:FindAllAPIMatches(apiToSearchFor)
|
||||
apiToSearchFor = apiToSearchFor:lower();
|
||||
|
||||
local matches = {
|
||||
tables = {},
|
||||
functions = {},
|
||||
events = {},
|
||||
systems = {},
|
||||
callbacks = {},
|
||||
};
|
||||
|
||||
self:AddAllMatches(self.tables, matches.tables, apiToSearchFor);
|
||||
self:AddAllMatches(self.functions, matches.functions, apiToSearchFor);
|
||||
self:AddAllMatches(self.systems, matches.systems, apiToSearchFor);
|
||||
self:AddAllMatches(self.events, matches.events, apiToSearchFor);
|
||||
self:AddAllMatches(self.callbacks, matches.callbacks, apiToSearchFor);
|
||||
|
||||
-- Only return something if we matched anything
|
||||
for name, subTable in pairs(matches) do
|
||||
if #subTable > 0 then
|
||||
return matches;
|
||||
end
|
||||
end
|
||||
|
||||
return nil;
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:FindSystemByName(systemName)
|
||||
systemName = systemName:lower();
|
||||
for i, systemInfo in ipairs(self.systems) do
|
||||
if systemInfo:MatchesNameCaseInsenstive(systemName) then
|
||||
return systemInfo;
|
||||
end
|
||||
end
|
||||
return nil;
|
||||
end
|
||||
|
||||
local j = 1
|
||||
function APIDocumentationMixin:AddDocumentationTable(documentationInfo)
|
||||
j = j + 1
|
||||
if documentationInfo.Name then
|
||||
self:AddSystem(documentationInfo);
|
||||
else
|
||||
for i, tableInfo in ipairs(documentationInfo.Tables) do
|
||||
self:AddTable(tableInfo);
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:WriteLine(message)
|
||||
if DEFAULT_CHAT_FRAME then
|
||||
local info = ChatTypeInfo["SYSTEM"];
|
||||
DEFAULT_CHAT_FRAME:AddMessage(message, info.r, info.g, info.b, info.id);
|
||||
else
|
||||
print(message);
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:WriteLineF(format, ...)
|
||||
self:WriteLine(format:format(...));
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:WriteAllLines(lines)
|
||||
for i, line in ipairs(lines) do
|
||||
self:WriteLine(line);
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:GetIndentString(numIndent)
|
||||
return (" "):rep(numIndent or 1);
|
||||
end
|
||||
|
||||
-- "private"
|
||||
function APIDocumentationMixin:AddTable(documentationInfo)
|
||||
Private.Mixin(documentationInfo, TablesAPIMixin);
|
||||
|
||||
table.insert(self.tables, documentationInfo);
|
||||
|
||||
if documentationInfo.Fields then
|
||||
for i, field in ipairs(documentationInfo.Fields) do
|
||||
field.Table = documentationInfo;
|
||||
self:AddField(field);
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:AddFunction(documentationInfo)
|
||||
Private.Mixin(documentationInfo, FunctionsAPIMixin);
|
||||
|
||||
table.insert(self.functions, documentationInfo);
|
||||
|
||||
if documentationInfo.Arguments then
|
||||
for i, field in ipairs(documentationInfo.Arguments) do
|
||||
field.Function = documentationInfo;
|
||||
self:AddField(field);
|
||||
end
|
||||
end
|
||||
|
||||
if documentationInfo.Returns then
|
||||
for i, field in ipairs(documentationInfo.Returns) do
|
||||
field.Function = documentationInfo;
|
||||
self:AddField(field);
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:AddEvent(documentationInfo)
|
||||
Private.Mixin(documentationInfo, EventsAPIMixin);
|
||||
|
||||
table.insert(self.events, documentationInfo);
|
||||
|
||||
if documentationInfo.Payload then
|
||||
for i, field in ipairs(documentationInfo.Payload) do
|
||||
field.Event = documentationInfo;
|
||||
self:AddField(field);
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:AddField(documentationInfo)
|
||||
Private.Mixin(documentationInfo, FieldsAPIMixin);
|
||||
|
||||
table.insert(self.fields, documentationInfo);
|
||||
end
|
||||
|
||||
function APIDocumentationMixin:AddSystem(documentationInfo)
|
||||
Private.Mixin(documentationInfo, SystemsAPIMixin);
|
||||
|
||||
table.insert(self.systems, documentationInfo);
|
||||
|
||||
for i, functionInfo in ipairs(documentationInfo.Functions) do
|
||||
functionInfo.System = documentationInfo;
|
||||
self:AddFunction(functionInfo);
|
||||
end
|
||||
|
||||
for i, eventInfo in ipairs(documentationInfo.Events) do
|
||||
eventInfo.System = documentationInfo;
|
||||
self:AddEvent(eventInfo);
|
||||
end
|
||||
|
||||
for i, tableInfo in ipairs(documentationInfo.Tables) do
|
||||
tableInfo.System = documentationInfo;
|
||||
self:AddTable(tableInfo);
|
||||
end
|
||||
end
|
||||
|
||||
APIDocumentation = Private.CreateFromMixins(APIDocumentationMixin);
|
||||
APIDocumentation:OnLoad();
|
||||
|
||||
SLASH_API1 = '/api'
|
||||
SlashCmdList["API"] = function(msg) APIDocumentation:HandleSlashCommand(msg) end
|
||||
@@ -0,0 +1,115 @@
|
||||
local AccountConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "AccountData",
|
||||
Type = "Enumeration",
|
||||
NumValues = 15,
|
||||
MinValue = 0,
|
||||
MaxValue = 14,
|
||||
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 = "AccountDataUpdateStatus",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "AccountDataUpdateSuccess", Type = "AccountDataUpdateStatus", EnumValue = 0 },
|
||||
{ Name = "AccountDataUpdateFailed", Type = "AccountDataUpdateStatus", EnumValue = 1 },
|
||||
{ Name = "AccountDataUpdateCorrupt", Type = "AccountDataUpdateStatus", EnumValue = 2 },
|
||||
{ Name = "AccountDataUpdateToobig", 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 = "AccountStateFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 34,
|
||||
MinValue = 0,
|
||||
MaxValue = 1073741824,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "AccountStateFlags", EnumValue = 0 },
|
||||
{ Name = "AchievementsLoaded", Type = "AccountStateFlags", EnumValue = 1 },
|
||||
{ Name = "CriteriaLoaded", Type = "AccountStateFlags", EnumValue = 2 },
|
||||
{ Name = "MountsLoaded", Type = "AccountStateFlags", EnumValue = 4 },
|
||||
{ Name = "PetjournalInitialized", Type = "AccountStateFlags", EnumValue = 8 },
|
||||
{ Name = "CurrencyCapsLoaded", Type = "AccountStateFlags", EnumValue = 16 },
|
||||
{ Name = "LoadFailed", Type = "AccountStateFlags", EnumValue = 32 },
|
||||
{ Name = "QuestLogLoaded", Type = "AccountStateFlags", EnumValue = 64 },
|
||||
{ Name = "InPetCombat", Type = "AccountStateFlags", EnumValue = 128 },
|
||||
{ Name = "CharactersLoaded", Type = "AccountStateFlags", EnumValue = 256 },
|
||||
{ Name = "PurchasesLoaded", Type = "AccountStateFlags", EnumValue = 512 },
|
||||
{ Name = "BpayDistributionObjectsLoaded", Type = "AccountStateFlags", EnumValue = 1024 },
|
||||
{ Name = "ArchivedPurchasesLoaded", Type = "AccountStateFlags", EnumValue = 2048 },
|
||||
{ Name = "SettingsLoaded", Type = "AccountStateFlags", EnumValue = 4096 },
|
||||
{ Name = "BpayAddLicenseObjectsLoaded", Type = "AccountStateFlags", EnumValue = 8192 },
|
||||
{ Name = "ItemCollectionsLoaded", Type = "AccountStateFlags", EnumValue = 16384 },
|
||||
{ Name = "AuctionableTokensLoaded", Type = "AccountStateFlags", EnumValue = 32768 },
|
||||
{ Name = "ConsumableTokensLoaded", Type = "AccountStateFlags", EnumValue = 65536 },
|
||||
{ Name = "PerkTablesLoaded", Type = "AccountStateFlags", EnumValue = 131072 },
|
||||
{ Name = "VasTransactionsLoaded", Type = "AccountStateFlags", EnumValue = 262144 },
|
||||
{ Name = "BpayProductitemObjectsLoaded", Type = "AccountStateFlags", EnumValue = 524288 },
|
||||
{ Name = "TrialBoostHistoryLoaded", Type = "AccountStateFlags", EnumValue = 1048576 },
|
||||
{ Name = "QuestCriteriaLoaded", Type = "AccountStateFlags", EnumValue = 2097152 },
|
||||
{ Name = "BattleNetAccountLoaded", Type = "AccountStateFlags", EnumValue = 4194304 },
|
||||
{ Name = "AccountCurrenciesLoaded", Type = "AccountStateFlags", EnumValue = 8388608 },
|
||||
{ Name = "RafBalanceLoaded", Type = "AccountStateFlags", EnumValue = 16777216 },
|
||||
{ Name = "RafRewardsLoaded", Type = "AccountStateFlags", EnumValue = 33554432 },
|
||||
{ Name = "DynamicCriteriaLoaded", Type = "AccountStateFlags", EnumValue = 67108864 },
|
||||
{ Name = "RafActivityLoaded", Type = "AccountStateFlags", EnumValue = 134217728 },
|
||||
{ Name = "RafFriendMonthsLoaded", Type = "AccountStateFlags", EnumValue = 268435456 },
|
||||
{ Name = "RevokedRafRewardsLoaded", Type = "AccountStateFlags", EnumValue = 536870912 },
|
||||
{ Name = "AccountNotificationsLoaded", Type = "AccountStateFlags", EnumValue = 1073741824 },
|
||||
{ Name = "AccountWowlabsLoaded", Type = "AccountStateFlags", EnumValue = 0 },
|
||||
{ Name = "AccountUpgradeComplete", Type = "AccountStateFlags", EnumValue = 0 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AccountConstants);
|
||||
@@ -0,0 +1,62 @@
|
||||
local AccountInfo =
|
||||
{
|
||||
Name = "AccountInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_AccountInfo",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetIDFromBattleNetAccountGUID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "battleNetAccountGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "battleNetAccountID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsGUIDBattleNetAccountType",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isBNet", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsGUIDRelatedToLocalAccount",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isLocalUser", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AccountInfo);
|
||||
@@ -0,0 +1,164 @@
|
||||
local AchievementInfo =
|
||||
{
|
||||
Name = "AchievementInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_AchievementInfo",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetRewardItemID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "rewardItemID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSupercedingAchievements",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "supercedingAchievements", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsValidAchievement",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "achievementId", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isValidAchievement", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetPortraitTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "textureObject", Type = "SimpleTexture", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AchievementEarned",
|
||||
Type = "Event",
|
||||
LiteralName = "ACHIEVEMENT_EARNED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
{ Name = "alreadyEarned", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AchievementPlayerName",
|
||||
Type = "Event",
|
||||
LiteralName = "ACHIEVEMENT_PLAYER_NAME",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AchievementSearchUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "ACHIEVEMENT_SEARCH_UPDATED",
|
||||
},
|
||||
{
|
||||
Name = "CriteriaComplete",
|
||||
Type = "Event",
|
||||
LiteralName = "CRITERIA_COMPLETE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "criteriaID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CriteriaEarned",
|
||||
Type = "Event",
|
||||
LiteralName = "CRITERIA_EARNED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
{ Name = "description", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CriteriaUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "CRITERIA_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "InspectAchievementReady",
|
||||
Type = "Event",
|
||||
LiteralName = "INSPECT_ACHIEVEMENT_READY",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ReceivedAchievementList",
|
||||
Type = "Event",
|
||||
LiteralName = "RECEIVED_ACHIEVEMENT_LIST",
|
||||
},
|
||||
{
|
||||
Name = "ReceivedAchievementMemberList",
|
||||
Type = "Event",
|
||||
LiteralName = "RECEIVED_ACHIEVEMENT_MEMBER_LIST",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "TrackedAchievementListChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "TRACKED_ACHIEVEMENT_LIST_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "achievementID", Type = "number", Nilable = true },
|
||||
{ Name = "added", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "TrackedAchievementUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "TRACKED_ACHIEVEMENT_UPDATE",
|
||||
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 =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AchievementInfo);
|
||||
@@ -0,0 +1,267 @@
|
||||
local ActionBarFrame =
|
||||
{
|
||||
Name = "ActionBar",
|
||||
Type = "System",
|
||||
Namespace = "C_ActionBar",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "FindPetActionButtons",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "petActionID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "slots", Type = "table", InnerType = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FindSpellActionButtons",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "spellID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "slots", Type = "table", InnerType = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPetActionPetBarIndices",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "petActionID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "slots", Type = "table", InnerType = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasPetActionButtons",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "petActionID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasPetActionButtons", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasPetActionPetBarIndices",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "petActionID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasPetActionPetBarIndices", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasSpellActionButtons",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "spellID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasSpellActionButtons", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAutoCastPetAction",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "slotID", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isAutoCastPetAction", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsEnabledAutoCastPetAction",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "slotID", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isEnabledAutoCastPetAction", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsHarmfulAction",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "actionID", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "useNeutral", Type = "bool", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isHarmful", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsHelpfulAction",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "actionID", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "useNeutral", Type = "bool", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isHelpful", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsOnBarOrSpecialBar",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "spellID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isOnBarOrSpecialBar", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ShouldOverrideBarShowHealthBar",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "showHealthBar", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ShouldOverrideBarShowManaBar",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "showManaBar", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ToggleAutoCastPetAction",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "slotID", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "ActionbarHidegrid",
|
||||
Type = "Event",
|
||||
LiteralName = "ACTIONBAR_HIDEGRID",
|
||||
},
|
||||
{
|
||||
Name = "ActionbarPageChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "ACTIONBAR_PAGE_CHANGED",
|
||||
},
|
||||
{
|
||||
Name = "ActionbarShowBottomleft",
|
||||
Type = "Event",
|
||||
LiteralName = "ACTIONBAR_SHOW_BOTTOMLEFT",
|
||||
},
|
||||
{
|
||||
Name = "ActionbarShowgrid",
|
||||
Type = "Event",
|
||||
LiteralName = "ACTIONBAR_SHOWGRID",
|
||||
},
|
||||
{
|
||||
Name = "ActionbarSlotChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "ACTIONBAR_SLOT_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ActionbarUpdateCooldown",
|
||||
Type = "Event",
|
||||
LiteralName = "ACTIONBAR_UPDATE_COOLDOWN",
|
||||
},
|
||||
{
|
||||
Name = "ActionbarUpdateState",
|
||||
Type = "Event",
|
||||
LiteralName = "ACTIONBAR_UPDATE_STATE",
|
||||
},
|
||||
{
|
||||
Name = "ActionbarUpdateUsable",
|
||||
Type = "Event",
|
||||
LiteralName = "ACTIONBAR_UPDATE_USABLE",
|
||||
},
|
||||
{
|
||||
Name = "PetBarUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BAR_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "UpdateBonusActionbar",
|
||||
Type = "Event",
|
||||
LiteralName = "UPDATE_BONUS_ACTIONBAR",
|
||||
},
|
||||
{
|
||||
Name = "UpdateMultiCastActionbar",
|
||||
Type = "Event",
|
||||
LiteralName = "UPDATE_MULTI_CAST_ACTIONBAR",
|
||||
},
|
||||
{
|
||||
Name = "UpdateOverrideActionbar",
|
||||
Type = "Event",
|
||||
LiteralName = "UPDATE_OVERRIDE_ACTIONBAR",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ActionBarFrame);
|
||||
@@ -0,0 +1,8 @@
|
||||
local Action =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Action);
|
||||
@@ -0,0 +1,63 @@
|
||||
local AddOns =
|
||||
{
|
||||
Name = "AddOns",
|
||||
Type = "System",
|
||||
Namespace = "C_AddOns",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetAddOnMetadata",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "uiAddon", Nilable = false },
|
||||
{ Name = "variable", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "value", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AddonLoaded",
|
||||
Type = "Event",
|
||||
LiteralName = "ADDON_LOADED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "addOnName", Type = "cstring", Nilable = false },
|
||||
{ Name = "containsBindings", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AddonsUnloading",
|
||||
Type = "Event",
|
||||
LiteralName = "ADDONS_UNLOADING",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "closingClient", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SavedVariablesTooLarge",
|
||||
Type = "Event",
|
||||
LiteralName = "SAVED_VARIABLES_TOO_LARGE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "addOnName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AddOns);
|
||||
@@ -0,0 +1,96 @@
|
||||
local AdventureJournal =
|
||||
{
|
||||
Name = "AdventureJournal",
|
||||
Type = "System",
|
||||
Namespace = "C_AdventureJournal",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AjDungeonAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_DUNGEON_ACTION",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "lfgDungeonID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AjOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_OPEN",
|
||||
},
|
||||
{
|
||||
Name = "AjPveLfgAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_PVE_LFG_ACTION",
|
||||
},
|
||||
{
|
||||
Name = "AjPvpAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_PVP_ACTION",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "battleMasterListID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AjPvpLfgAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_PVP_LFG_ACTION",
|
||||
},
|
||||
{
|
||||
Name = "AjPvpRbgAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_PVP_RBG_ACTION",
|
||||
},
|
||||
{
|
||||
Name = "AjPvpSkirmishAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_PVP_SKIRMISH_ACTION",
|
||||
},
|
||||
{
|
||||
Name = "AjQuestLogOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_QUEST_LOG_OPEN",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "questID", Type = "number", Nilable = false },
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AjRaidAction",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_RAID_ACTION",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "lfgDungeonID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AjRefreshDisplay",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_REFRESH_DISPLAY",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "newAdventureNotice", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AjRewardDataReceived",
|
||||
Type = "Event",
|
||||
LiteralName = "AJ_REWARD_DATA_RECEIVED",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AdventureJournal);
|
||||
@@ -0,0 +1,53 @@
|
||||
local AdventureMap =
|
||||
{
|
||||
Name = "AdventureMap",
|
||||
Type = "System",
|
||||
Namespace = "C_AdventureMap",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AdventureMapClose",
|
||||
Type = "Event",
|
||||
LiteralName = "ADVENTURE_MAP_CLOSE",
|
||||
},
|
||||
{
|
||||
Name = "AdventureMapOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "ADVENTURE_MAP_OPEN",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "followerTypeID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AdventureMapQuestUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "ADVENTURE_MAP_QUEST_UPDATE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "questID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AdventureMapUpdateInsets",
|
||||
Type = "Event",
|
||||
LiteralName = "ADVENTURE_MAP_UPDATE_INSETS",
|
||||
},
|
||||
{
|
||||
Name = "AdventureMapUpdatePois",
|
||||
Type = "Event",
|
||||
LiteralName = "ADVENTURE_MAP_UPDATE_POIS",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AdventureMap);
|
||||
@@ -0,0 +1,30 @@
|
||||
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 = "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 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AppearanceSource);
|
||||
@@ -0,0 +1,103 @@
|
||||
local AreaPoiInfo =
|
||||
{
|
||||
Name = "AreaPoiInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_AreaPoiInfo",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetAreaPOIForMap",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "areaPoiIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAreaPOIInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
{ Name = "areaPoiID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "poiInfo", Type = "AreaPOIInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAreaPOITimeLeft",
|
||||
Type = "Function",
|
||||
Documentation = { "Returns the number of minutes until the POI expires." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "areaPoiID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "minutesLeft", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAreaPOITimed",
|
||||
Type = "Function",
|
||||
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 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AreaPoisUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "AREA_POIS_UPDATED",
|
||||
},
|
||||
},
|
||||
|
||||
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 = "textureIndex", Type = "number", Nilable = true },
|
||||
{ Name = "widgetSetID", Type = "number", Nilable = true },
|
||||
{ Name = "atlasName", Type = "string", 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 = "addPaddingAboveWidgets", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AreaPoiInfo);
|
||||
@@ -0,0 +1,8 @@
|
||||
local AuctionHouseConstants_Classic =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AuctionHouseConstants_Classic);
|
||||
@@ -0,0 +1,105 @@
|
||||
local AuctionHouse =
|
||||
{
|
||||
Name = "AuctionHouse",
|
||||
Type = "System",
|
||||
Namespace = "C_AuctionHouse",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AuctionBidderListUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "AUCTION_BIDDER_LIST_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "AuctionHouseClosed",
|
||||
Type = "Event",
|
||||
LiteralName = "AUCTION_HOUSE_CLOSED",
|
||||
},
|
||||
{
|
||||
Name = "AuctionHouseDisabled",
|
||||
Type = "Event",
|
||||
LiteralName = "AUCTION_HOUSE_DISABLED",
|
||||
},
|
||||
{
|
||||
Name = "AuctionHousePostError",
|
||||
Type = "Event",
|
||||
LiteralName = "AUCTION_HOUSE_POST_ERROR",
|
||||
},
|
||||
{
|
||||
Name = "AuctionHousePostWarning",
|
||||
Type = "Event",
|
||||
LiteralName = "AUCTION_HOUSE_POST_WARNING",
|
||||
},
|
||||
{
|
||||
Name = "AuctionHouseScriptDeprecated",
|
||||
Type = "Event",
|
||||
LiteralName = "AUCTION_HOUSE_SCRIPT_DEPRECATED",
|
||||
},
|
||||
{
|
||||
Name = "AuctionHouseShow",
|
||||
Type = "Event",
|
||||
LiteralName = "AUCTION_HOUSE_SHOW",
|
||||
},
|
||||
{
|
||||
Name = "AuctionItemListUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "AUCTION_ITEM_LIST_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "AuctionMultisellFailure",
|
||||
Type = "Event",
|
||||
LiteralName = "AUCTION_MULTISELL_FAILURE",
|
||||
},
|
||||
{
|
||||
Name = "AuctionMultisellStart",
|
||||
Type = "Event",
|
||||
LiteralName = "AUCTION_MULTISELL_START",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "numRepetitions", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuctionMultisellUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "AUCTION_MULTISELL_UPDATE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "createdCount", Type = "number", Nilable = false },
|
||||
{ Name = "totalToCreate", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuctionOwnedListUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "AUCTION_OWNED_LIST_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "NewAuctionUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "NEW_AUCTION_UPDATE",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ItemKey",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
{ Name = "itemLevel", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "itemSuffix", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "battlePetSpeciesID", Type = "number", Nilable = false, Default = 0 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AuctionHouse);
|
||||
@@ -0,0 +1,137 @@
|
||||
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 = 26,
|
||||
MinValue = 0,
|
||||
MaxValue = 25,
|
||||
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 = "AuctionHouseFilter",
|
||||
Type = "Enumeration",
|
||||
NumValues = 13,
|
||||
MinValue = 0,
|
||||
MaxValue = 12,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "AuctionHouseFilter", EnumValue = 0 },
|
||||
{ Name = "UncollectedOnly", Type = "AuctionHouseFilter", EnumValue = 1 },
|
||||
{ Name = "UsableOnly", Type = "AuctionHouseFilter", EnumValue = 2 },
|
||||
{ Name = "UpgradesOnly", Type = "AuctionHouseFilter", EnumValue = 3 },
|
||||
{ Name = "ExactMatch", Type = "AuctionHouseFilter", EnumValue = 4 },
|
||||
{ Name = "PoorQuality", Type = "AuctionHouseFilter", EnumValue = 5 },
|
||||
{ Name = "CommonQuality", Type = "AuctionHouseFilter", EnumValue = 6 },
|
||||
{ Name = "UncommonQuality", Type = "AuctionHouseFilter", EnumValue = 7 },
|
||||
{ Name = "RareQuality", Type = "AuctionHouseFilter", EnumValue = 8 },
|
||||
{ Name = "EpicQuality", Type = "AuctionHouseFilter", EnumValue = 9 },
|
||||
{ Name = "LegendaryQuality", Type = "AuctionHouseFilter", EnumValue = 10 },
|
||||
{ Name = "ArtifactQuality", Type = "AuctionHouseFilter", EnumValue = 11 },
|
||||
{ Name = "LegendaryCraftedItemOnly", Type = "AuctionHouseFilter", EnumValue = 12 },
|
||||
},
|
||||
},
|
||||
{
|
||||
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 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AuctionHouseEnums);
|
||||
@@ -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);
|
||||
@@ -0,0 +1,327 @@
|
||||
local AzeriteEmpoweredItem =
|
||||
{
|
||||
Name = "AzeriteEmpoweredItem",
|
||||
Type = "System",
|
||||
Namespace = "C_AzeriteEmpoweredItem",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CanSelectPower",
|
||||
Type = "Function",
|
||||
|
||||
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",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAllTierInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "tierInfo", Type = "table", InnerType = "AzeriteEmpoweredItemTierInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAllTierInfoByItemID",
|
||||
Type = "Function",
|
||||
|
||||
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",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "powerID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "powerInfo", Type = "AzeriteEmpoweredItemPowerInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPowerText",
|
||||
Type = "Function",
|
||||
|
||||
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",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "powerID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "specInfo", Type = "table", InnerType = "AzeriteSpecInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasAnyUnselectedPowers",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasAnyUnselectedPowers", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasBeenViewed",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasBeenViewed", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAzeriteEmpoweredItem",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemLocation", Type = "ItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isAzeriteEmpoweredItem", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAzeriteEmpoweredItemByID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemInfo", Type = "ItemInfo", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isAzeriteEmpoweredItem", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAzeritePreviewSourceDisplayable",
|
||||
Type = "Function",
|
||||
|
||||
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",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "powerID", Type = "number", Nilable = false },
|
||||
{ Name = "specID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isPowerAvailableForSpec", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsPowerSelected",
|
||||
Type = "Function",
|
||||
|
||||
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",
|
||||
|
||||
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",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteEmpoweredItemLocation", Type = "AzeriteEmpoweredItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AzeriteEmpoweredItemEquippedStatusChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_EMPOWERED_ITEM_EQUIPPED_STATUS_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "isHeartEquipped", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEmpoweredItemSelectionUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_EMPOWERED_ITEM_SELECTION_UPDATED",
|
||||
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 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AzeriteEmpoweredItem);
|
||||
@@ -0,0 +1,326 @@
|
||||
local AzeriteEssence =
|
||||
{
|
||||
Name = "AzeriteEssence",
|
||||
Type = "System",
|
||||
Namespace = "C_AzeriteEssence",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ActivateEssence",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanActivateEssence",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canActivate", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanDeactivateEssence",
|
||||
Type = "Function",
|
||||
|
||||
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",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
{ Name = "rank", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "link", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEssenceInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "AzeriteEssenceInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEssences",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "essences", Type = "table", InnerType = "AzeriteEssenceInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMilestoneEssence",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMilestoneInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "AzeriteMilestoneInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMilestoneSpell",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "spellID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMilestones",
|
||||
Type = "Function",
|
||||
|
||||
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",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UnlockMilestone",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AzeriteEssenceActivated",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_ACTIVATED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "AzeriteEssenceSlot", Nilable = false },
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEssenceActivationFailed",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_ACTIVATION_FAILED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "AzeriteEssenceSlot", Nilable = false },
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEssenceChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "essenceID", Type = "number", Nilable = false },
|
||||
{ Name = "newRank", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEssenceForgeClose",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_FORGE_CLOSE",
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEssenceForgeOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_FORGE_OPEN",
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEssenceMilestoneUnlocked",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_MILESTONE_UNLOCKED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "milestoneID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteEssenceUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ESSENCE_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "PendingAzeriteEssenceChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PENDING_AZERITE_ESSENCE_CHANGED",
|
||||
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 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AzeriteEssence);
|
||||
@@ -0,0 +1,183 @@
|
||||
local AzeriteItem =
|
||||
{
|
||||
Name = "AzeriteItem",
|
||||
Type = "System",
|
||||
Namespace = "C_AzeriteItem",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "FindActiveAzeriteItem",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "activeAzeriteItemLocation", Type = "AzeriteItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAzeriteItemXPInfo",
|
||||
Type = "Function",
|
||||
|
||||
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",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "azeriteItemLocation", Type = "AzeriteItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "powerLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetUnlimitedPowerLevel",
|
||||
Type = "Function",
|
||||
|
||||
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",
|
||||
|
||||
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",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemInfo", Type = "ItemInfo", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isAzeriteItem", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsAzeriteItemEnabled",
|
||||
Type = "Function",
|
||||
|
||||
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",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "enabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AzeriteItemExperienceChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "AZERITE_ITEM_EXPERIENCE_CHANGED",
|
||||
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",
|
||||
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 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(AzeriteItem);
|
||||
@@ -0,0 +1,26 @@
|
||||
local BagConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "BagSlotFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 1,
|
||||
MaxValue = 63,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "DisableAutoSort", Type = "BagSlotFlags", EnumValue = 1 },
|
||||
{ Name = "PriorityEquipment", Type = "BagSlotFlags", EnumValue = 2 },
|
||||
{ Name = "PriorityConsumables", Type = "BagSlotFlags", EnumValue = 4 },
|
||||
{ Name = "PriorityTradeGoods", Type = "BagSlotFlags", EnumValue = 8 },
|
||||
{ Name = "PriorityJunk", Type = "BagSlotFlags", EnumValue = 16 },
|
||||
{ Name = "PriorityQuestItems", Type = "BagSlotFlags", EnumValue = 32 },
|
||||
{ Name = "BagSlotValidFlagsAll", Type = "BagSlotFlags", EnumValue = 63 },
|
||||
{ Name = "BagSlotPriorityFlagsAll", Type = "BagSlotFlags", EnumValue = 62 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BagConstants);
|
||||
@@ -0,0 +1,46 @@
|
||||
local BagIndexConstants =
|
||||
{
|
||||
Name = "BagIndexConstants",
|
||||
Type = "System",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "BagIndex",
|
||||
Type = "Enumeration",
|
||||
NumValues = 17,
|
||||
MinValue = -4,
|
||||
MaxValue = 12,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Bankbag", Type = "BagIndex", EnumValue = -4 },
|
||||
{ Name = "Reagentbank", Type = "BagIndex", EnumValue = -3 },
|
||||
{ Name = "Keyring", Type = "BagIndex", EnumValue = -2 },
|
||||
{ Name = "Bank", 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 = "BankBag_1", Type = "BagIndex", EnumValue = 6 },
|
||||
{ Name = "BankBag_2", Type = "BagIndex", EnumValue = 7 },
|
||||
{ Name = "BankBag_3", Type = "BagIndex", EnumValue = 8 },
|
||||
{ Name = "BankBag_4", Type = "BagIndex", EnumValue = 9 },
|
||||
{ Name = "BankBag_5", Type = "BagIndex", EnumValue = 10 },
|
||||
{ Name = "BankBag_6", Type = "BagIndex", EnumValue = 11 },
|
||||
{ Name = "BankBag_7", Type = "BagIndex", EnumValue = 12 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BagIndexConstants);
|
||||
@@ -0,0 +1,53 @@
|
||||
local Bank =
|
||||
{
|
||||
Name = "Bank",
|
||||
Type = "System",
|
||||
Namespace = "C_Bank",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BankBagSlotFlagsUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "BANK_BAG_SLOT_FLAGS_UPDATED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BankframeClosed",
|
||||
Type = "Event",
|
||||
LiteralName = "BANKFRAME_CLOSED",
|
||||
},
|
||||
{
|
||||
Name = "BankframeOpened",
|
||||
Type = "Event",
|
||||
LiteralName = "BANKFRAME_OPENED",
|
||||
},
|
||||
{
|
||||
Name = "PlayerbankbagslotsChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYERBANKBAGSLOTS_CHANGED",
|
||||
},
|
||||
{
|
||||
Name = "PlayerbankslotsChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYERBANKSLOTS_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Bank);
|
||||
@@ -0,0 +1,339 @@
|
||||
local BarberShop =
|
||||
{
|
||||
Name = "BarberShop",
|
||||
Type = "System",
|
||||
Namespace = "C_BarberShop",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ApplyCustomizationChoices",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Cancel",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "ClearPreviewChoices",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "clearSavedChoices", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CycleCharCustomization",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "type", Type = "CharCustomizationType", Nilable = false },
|
||||
{ Name = "forward", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAvailableCustomizations",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "categories", Type = "table", InnerType = "CharCustomizationCategory", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetBarbersChoiceCost",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "cost", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentCameraZoom",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "zoomLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentCharacterData",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "characterData", Type = "PlayerInfoCharacterData", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentCost",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "cost", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCustomizationTypeInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "type", Type = "CharCustomizationType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "customizationName", Type = "cstring", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "isCurrent", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetViewingChrModel",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "chrModelID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasAnyChanges",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasChanges", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsValidCustomizationType",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "type", Type = "CharCustomizationType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isValid", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsViewingAlteredForm",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isViewingAlteredForm", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsViewingNativeSex",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isNativeSex", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsViewingVisibleSex",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "sex", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isVisibleSex", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PreviewCustomizationChoice",
|
||||
Type = "Function",
|
||||
|
||||
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",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "diffDegrees", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraDistanceOffset",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "offset", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraZoomLevel",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "zoomLevel", Type = "number", Nilable = false },
|
||||
{ Name = "keepCustomZoom", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCustomizationChoice",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "optionID", Type = "number", Nilable = false },
|
||||
{ Name = "choiceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetModelDressState",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "dressedState", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSelectedSex",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "sex", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetViewingAlteredForm",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "isViewingAlteredForm", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetViewingChrModel",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "chrModelID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetViewingShapeshiftForm",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "shapeshiftFormID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ZoomCamera",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "zoomAmount", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BarberShopAppearanceApplied",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_APPEARANCE_APPLIED",
|
||||
},
|
||||
{
|
||||
Name = "BarberShopCameraValuesUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_CAMERA_VALUES_UPDATED",
|
||||
},
|
||||
{
|
||||
Name = "BarberShopClose",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_CLOSE",
|
||||
},
|
||||
{
|
||||
Name = "BarberShopCostUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_COST_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "BarberShopForceCustomizationsUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_FORCE_CUSTOMIZATIONS_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "BarberShopOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_OPEN",
|
||||
},
|
||||
{
|
||||
Name = "BarberShopResult",
|
||||
Type = "Event",
|
||||
LiteralName = "BARBER_SHOP_RESULT",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConfirmBarbersChoice",
|
||||
Type = "Event",
|
||||
LiteralName = "CONFIRM_BARBERS_CHOICE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "cost", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BarberShop);
|
||||
@@ -0,0 +1,15 @@
|
||||
local Base =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ScriptObject",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Base);
|
||||
@@ -0,0 +1,172 @@
|
||||
local BattleNet =
|
||||
{
|
||||
Name = "BattleNet",
|
||||
Type = "System",
|
||||
Namespace = "C_BattleNet",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetAccountInfoByGUID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "accountInfo", Type = "BNetAccountInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAccountInfoByID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "wowAccountGUID", Type = "WOWGUID", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "accountInfo", Type = "BNetAccountInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFriendAccountInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "friendIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "wowAccountGUID", Type = "WOWGUID", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "accountInfo", Type = "BNetAccountInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFriendGameAccountInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "friendIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "accountIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "gameAccountInfo", Type = "BNetGameAccountInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFriendNumGameAccounts",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "friendIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numGameAccounts", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetGameAccountInfoByGUID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "gameAccountInfo", Type = "BNetGameAccountInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetGameAccountInfoByID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "gameAccountInfo", Type = "BNetGameAccountInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
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 = "lastOnlineTime", Type = "number", Nilable = false },
|
||||
{ Name = "isAFK", Type = "bool", Nilable = false },
|
||||
{ Name = "isDND", Type = "bool", Nilable = false },
|
||||
{ Name = "isFavorite", Type = "bool", 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 = "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 = "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 = "className", Type = "string", 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 = "isWowMobile", Type = "bool", Nilable = false },
|
||||
{ Name = "canSummon", Type = "bool", Nilable = false },
|
||||
{ Name = "hasFocus", Type = "bool", Nilable = false },
|
||||
{ Name = "regionID", Type = "number", Nilable = false },
|
||||
{ Name = "isInCurrentRegion", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BattleNet);
|
||||
@@ -0,0 +1,396 @@
|
||||
local BattlePetConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "BattlePetAbilityFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 1,
|
||||
MaxValue = 32,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "DisplayAsHostileDebuff", Type = "BattlePetAbilityFlag", EnumValue = 1 },
|
||||
{ Name = "HideStrongWeakHints", Type = "BattlePetAbilityFlag", EnumValue = 2 },
|
||||
{ Name = "Passive", Type = "BattlePetAbilityFlag", EnumValue = 4 },
|
||||
{ Name = "ServerOnlyAura", Type = "BattlePetAbilityFlag", EnumValue = 8 },
|
||||
{ Name = "ShowCast", Type = "BattlePetAbilityFlag", EnumValue = 16 },
|
||||
{ Name = "StartOnCooldown", Type = "BattlePetAbilityFlag", EnumValue = 32 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetAbilitySlot",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "A", Type = "BattlePetAbilitySlot", EnumValue = 0 },
|
||||
{ Name = "B", Type = "BattlePetAbilitySlot", EnumValue = 1 },
|
||||
{ Name = "C", Type = "BattlePetAbilitySlot", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetAbilityTargets",
|
||||
Type = "Enumeration",
|
||||
NumValues = 13,
|
||||
MinValue = 0,
|
||||
MaxValue = 12,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "EnemyFrontPet", Type = "BattlePetAbilityTargets", EnumValue = 0 },
|
||||
{ Name = "FriendlyFrontPet", Type = "BattlePetAbilityTargets", EnumValue = 1 },
|
||||
{ Name = "Weather", Type = "BattlePetAbilityTargets", EnumValue = 2 },
|
||||
{ Name = "EnemyPad", Type = "BattlePetAbilityTargets", EnumValue = 3 },
|
||||
{ Name = "FriendlyPad", Type = "BattlePetAbilityTargets", EnumValue = 4 },
|
||||
{ Name = "EnemyBackPet_1", Type = "BattlePetAbilityTargets", EnumValue = 5 },
|
||||
{ Name = "EnemyBackPet_2", Type = "BattlePetAbilityTargets", EnumValue = 6 },
|
||||
{ Name = "FriendlyBackPet_1", Type = "BattlePetAbilityTargets", EnumValue = 7 },
|
||||
{ Name = "FriendlyBackPet_2", Type = "BattlePetAbilityTargets", EnumValue = 8 },
|
||||
{ Name = "Caster", Type = "BattlePetAbilityTargets", EnumValue = 9 },
|
||||
{ Name = "Owner", Type = "BattlePetAbilityTargets", EnumValue = 10 },
|
||||
{ Name = "Specific", Type = "BattlePetAbilityTargets", EnumValue = 11 },
|
||||
{ Name = "ProcTarget", Type = "BattlePetAbilityTargets", EnumValue = 12 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetAbilityTurnFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 1,
|
||||
MaxValue = 32,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "CanProcFromProc", Type = "BattlePetAbilityTurnFlag", EnumValue = 1 },
|
||||
{ Name = "TriggerBySelf", Type = "BattlePetAbilityTurnFlag", EnumValue = 2 },
|
||||
{ Name = "TriggerByFriend", Type = "BattlePetAbilityTurnFlag", EnumValue = 4 },
|
||||
{ Name = "TriggerByEnemy", Type = "BattlePetAbilityTurnFlag", EnumValue = 8 },
|
||||
{ Name = "TriggerByWeather", Type = "BattlePetAbilityTurnFlag", EnumValue = 16 },
|
||||
{ Name = "TriggerByAuraCaster", Type = "BattlePetAbilityTurnFlag", EnumValue = 32 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetAbilityTurnType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Normal", Type = "BattlePetAbilityTurnType", EnumValue = 0 },
|
||||
{ Name = "TriggeredEffect", Type = "BattlePetAbilityTurnType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetAbilityType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Ability", Type = "BattlePetAbilityType", EnumValue = 0 },
|
||||
{ Name = "Aura", Type = "BattlePetAbilityType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
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 = "BattlePetEffectFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 1,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "EnableAbilityPicker", Type = "BattlePetEffectFlags", EnumValue = 1 },
|
||||
{ Name = "LuaNeedsAllPets", Type = "BattlePetEffectFlags", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetEffectParamType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Int", Type = "BattlePetEffectParamType", EnumValue = 0 },
|
||||
{ Name = "Ability", Type = "BattlePetEffectParamType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetEvent",
|
||||
Type = "Enumeration",
|
||||
NumValues = 13,
|
||||
MinValue = 0,
|
||||
MaxValue = 12,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "OnAuraApplied", Type = "BattlePetEvent", EnumValue = 0 },
|
||||
{ Name = "OnDamageTaken", Type = "BattlePetEvent", EnumValue = 1 },
|
||||
{ Name = "OnDamageDealt", Type = "BattlePetEvent", EnumValue = 2 },
|
||||
{ Name = "OnHealTaken", Type = "BattlePetEvent", EnumValue = 3 },
|
||||
{ Name = "OnHealDealt", Type = "BattlePetEvent", EnumValue = 4 },
|
||||
{ Name = "OnAuraRemoved", Type = "BattlePetEvent", EnumValue = 5 },
|
||||
{ Name = "OnRoundStart", Type = "BattlePetEvent", EnumValue = 6 },
|
||||
{ Name = "OnRoundEnd", Type = "BattlePetEvent", EnumValue = 7 },
|
||||
{ Name = "OnTurn", Type = "BattlePetEvent", EnumValue = 8 },
|
||||
{ Name = "OnAbility", Type = "BattlePetEvent", EnumValue = 9 },
|
||||
{ Name = "OnSwapIn", Type = "BattlePetEvent", EnumValue = 10 },
|
||||
{ Name = "OnSwapOut", Type = "BattlePetEvent", EnumValue = 11 },
|
||||
{ Name = "PostAuraTicks", Type = "BattlePetEvent", EnumValue = 12 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetNpcEmote",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 0,
|
||||
MaxValue = 7,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "BattleUnused", Type = "BattlePetNpcEmote", EnumValue = 0 },
|
||||
{ Name = "BattleStart", Type = "BattlePetNpcEmote", EnumValue = 1 },
|
||||
{ Name = "BattleWin", Type = "BattlePetNpcEmote", EnumValue = 2 },
|
||||
{ Name = "BattleLose", Type = "BattlePetNpcEmote", EnumValue = 3 },
|
||||
{ Name = "PetSwap", Type = "BattlePetNpcEmote", EnumValue = 4 },
|
||||
{ Name = "PetKill", Type = "BattlePetNpcEmote", EnumValue = 5 },
|
||||
{ Name = "PetDie", Type = "BattlePetNpcEmote", EnumValue = 6 },
|
||||
{ Name = "PetAbility", Type = "BattlePetNpcEmote", EnumValue = 7 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetNpcTeamFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 1,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "MatchPlayerHighPetLevel", Type = "BattlePetNpcTeamFlag", EnumValue = 1 },
|
||||
{ Name = "NoPlayerXP", Type = "BattlePetNpcTeamFlag", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
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 = 11,
|
||||
MinValue = 0,
|
||||
MaxValue = 10,
|
||||
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 = "BattlePetSpeciesFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 17,
|
||||
MinValue = 1,
|
||||
MaxValue = 65536,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "NoRename", Type = "BattlePetSpeciesFlags", EnumValue = 1 },
|
||||
{ Name = "WellKnown", Type = "BattlePetSpeciesFlags", EnumValue = 2 },
|
||||
{ Name = "NotAcccountwide", Type = "BattlePetSpeciesFlags", EnumValue = 4 },
|
||||
{ Name = "Capturable", Type = "BattlePetSpeciesFlags", EnumValue = 8 },
|
||||
{ Name = "NotTradable", Type = "BattlePetSpeciesFlags", EnumValue = 16 },
|
||||
{ Name = "HideFromJournal", Type = "BattlePetSpeciesFlags", EnumValue = 32 },
|
||||
{ Name = "LegacyAccountUnique", Type = "BattlePetSpeciesFlags", EnumValue = 64 },
|
||||
{ Name = "CantBattle", Type = "BattlePetSpeciesFlags", EnumValue = 128 },
|
||||
{ Name = "HordeOnly", Type = "BattlePetSpeciesFlags", EnumValue = 256 },
|
||||
{ Name = "AllianceOnly", Type = "BattlePetSpeciesFlags", EnumValue = 512 },
|
||||
{ Name = "Boss", Type = "BattlePetSpeciesFlags", EnumValue = 1024 },
|
||||
{ Name = "RandomDisplay", Type = "BattlePetSpeciesFlags", EnumValue = 2048 },
|
||||
{ Name = "NoLicenseRequired", Type = "BattlePetSpeciesFlags", EnumValue = 4096 },
|
||||
{ Name = "AddsAllowedWithBoss", Type = "BattlePetSpeciesFlags", EnumValue = 8192 },
|
||||
{ Name = "HideUntilLearned", Type = "BattlePetSpeciesFlags", EnumValue = 16384 },
|
||||
{ Name = "MatchPlayerHighPetLevel", Type = "BattlePetSpeciesFlags", EnumValue = 32768 },
|
||||
{ Name = "NoWildPetAddsAllowed", Type = "BattlePetSpeciesFlags", EnumValue = 65536 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetStateFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 13,
|
||||
MinValue = 0,
|
||||
MaxValue = 2048,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "BattlePetStateFlag", EnumValue = 0 },
|
||||
{ Name = "SwapOutLock", Type = "BattlePetStateFlag", EnumValue = 1 },
|
||||
{ Name = "TurnLock", Type = "BattlePetStateFlag", EnumValue = 2 },
|
||||
{ Name = "SpeedBonus", Type = "BattlePetStateFlag", EnumValue = 4 },
|
||||
{ Name = "Client", Type = "BattlePetStateFlag", EnumValue = 8 },
|
||||
{ Name = "MaxHealthBonus", Type = "BattlePetStateFlag", EnumValue = 16 },
|
||||
{ Name = "Stamina", Type = "BattlePetStateFlag", EnumValue = 32 },
|
||||
{ Name = "QualityDoesNotEffect", Type = "BattlePetStateFlag", EnumValue = 64 },
|
||||
{ Name = "DynamicScaling", Type = "BattlePetStateFlag", EnumValue = 128 },
|
||||
{ Name = "Power", Type = "BattlePetStateFlag", EnumValue = 256 },
|
||||
{ Name = "SpeedMult", Type = "BattlePetStateFlag", EnumValue = 512 },
|
||||
{ Name = "SwapInLock", Type = "BattlePetStateFlag", EnumValue = 1024 },
|
||||
{ Name = "ServerOnly", Type = "BattlePetStateFlag", EnumValue = 2048 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetTypes",
|
||||
Type = "Enumeration",
|
||||
NumValues = 10,
|
||||
MinValue = 0,
|
||||
MaxValue = 9,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Humanoid", Type = "BattlePetTypes", EnumValue = 0 },
|
||||
{ Name = "Dragonkin", Type = "BattlePetTypes", EnumValue = 1 },
|
||||
{ Name = "Flying", Type = "BattlePetTypes", EnumValue = 2 },
|
||||
{ Name = "Undead", Type = "BattlePetTypes", EnumValue = 3 },
|
||||
{ Name = "Critter", Type = "BattlePetTypes", EnumValue = 4 },
|
||||
{ Name = "Magic", Type = "BattlePetTypes", EnumValue = 5 },
|
||||
{ Name = "Elemental", Type = "BattlePetTypes", EnumValue = 6 },
|
||||
{ Name = "Beast", Type = "BattlePetTypes", EnumValue = 7 },
|
||||
{ Name = "Aquatic", Type = "BattlePetTypes", EnumValue = 8 },
|
||||
{ Name = "Mechanical", Type = "BattlePetTypes", EnumValue = 9 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetVisualFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 1,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Test1", Type = "BattlePetVisualFlag", EnumValue = 1 },
|
||||
{ Name = "Test2", Type = "BattlePetVisualFlag", EnumValue = 2 },
|
||||
{ Name = "Test3", Type = "BattlePetVisualFlag", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlePetVisualRange",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 0,
|
||||
MaxValue = 5,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Melee", Type = "BattlePetVisualRange", EnumValue = 0 },
|
||||
{ Name = "Ranged", Type = "BattlePetVisualRange", EnumValue = 1 },
|
||||
{ Name = "InPlace", Type = "BattlePetVisualRange", EnumValue = 2 },
|
||||
{ Name = "PointBlank", Type = "BattlePetVisualRange", EnumValue = 3 },
|
||||
{ Name = "BehindMelee", Type = "BattlePetVisualRange", EnumValue = 4 },
|
||||
{ Name = "BehindRanged", Type = "BattlePetVisualRange", EnumValue = 5 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlepetDbFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 13,
|
||||
MinValue = 0,
|
||||
MaxValue = 1024,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "BattlepetDbFlags", EnumValue = 0 },
|
||||
{ Name = "Favorite", Type = "BattlepetDbFlags", EnumValue = 1 },
|
||||
{ Name = "Converted", Type = "BattlepetDbFlags", EnumValue = 2 },
|
||||
{ Name = "Revoked", Type = "BattlepetDbFlags", EnumValue = 4 },
|
||||
{ Name = "LockedForConvert", Type = "BattlepetDbFlags", EnumValue = 8 },
|
||||
{ Name = "Ability0Selection", Type = "BattlepetDbFlags", EnumValue = 16 },
|
||||
{ Name = "Ability1Selection", Type = "BattlepetDbFlags", EnumValue = 32 },
|
||||
{ Name = "Ability2Selection", Type = "BattlepetDbFlags", EnumValue = 64 },
|
||||
{ Name = "FanfareNeeded", Type = "BattlepetDbFlags", EnumValue = 128 },
|
||||
{ Name = "DisplayOverridden", Type = "BattlepetDbFlags", EnumValue = 256 },
|
||||
{ Name = "AcquiredViaLicense", Type = "BattlepetDbFlags", EnumValue = 512 },
|
||||
{ Name = "TradingPost", Type = "BattlepetDbFlags", EnumValue = 1024 },
|
||||
{ Name = "LockMask", Type = "BattlepetDbFlags", EnumValue = 12 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlepetDeletedReason",
|
||||
Type = "Enumeration",
|
||||
NumValues = 7,
|
||||
MinValue = 0,
|
||||
MaxValue = 6,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Unknown", Type = "BattlepetDeletedReason", EnumValue = 0 },
|
||||
{ Name = "PlayerReleased", Type = "BattlepetDeletedReason", EnumValue = 1 },
|
||||
{ Name = "PlayerCaged", Type = "BattlepetDeletedReason", EnumValue = 2 },
|
||||
{ Name = "Gm", Type = "BattlepetDeletedReason", EnumValue = 3 },
|
||||
{ Name = "CageError", Type = "BattlepetDeletedReason", EnumValue = 4 },
|
||||
{ Name = "DelJournal", Type = "BattlepetDeletedReason", EnumValue = 5 },
|
||||
{ Name = "TradingPost", Type = "BattlepetDeletedReason", EnumValue = 6 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BattlepetSlotLockCheat",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = -3,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Cheat_2_Locked", Type = "BattlepetSlotLockCheat", EnumValue = -3 },
|
||||
{ Name = "Cheat_1_Locked", Type = "BattlepetSlotLockCheat", EnumValue = -2 },
|
||||
{ Name = "Cheat_0_Locked", Type = "BattlepetSlotLockCheat", EnumValue = -1 },
|
||||
{ Name = "CheatOff", Type = "BattlepetSlotLockCheat", EnumValue = 0 },
|
||||
{ Name = "UnlockAll", Type = "BattlepetSlotLockCheat", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BattlePetConstants);
|
||||
@@ -0,0 +1,233 @@
|
||||
local BattlePet =
|
||||
{
|
||||
Name = "BattlePet",
|
||||
Type = "System",
|
||||
Namespace = "C_BattlePet",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "PetBattleAbilityChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_ABILITY_CHANGED",
|
||||
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",
|
||||
},
|
||||
{
|
||||
Name = "PetBattleAuraApplied",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_AURA_APPLIED",
|
||||
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",
|
||||
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",
|
||||
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",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
{ Name = "petIndex", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleClose",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_CLOSE",
|
||||
},
|
||||
{
|
||||
Name = "PetBattleFinalRound",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_FINAL_ROUND",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleHealthChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_HEALTH_CHANGED",
|
||||
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",
|
||||
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",
|
||||
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",
|
||||
},
|
||||
{
|
||||
Name = "PetBattleOpeningStart",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_OPENING_START",
|
||||
},
|
||||
{
|
||||
Name = "PetBattleOver",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_OVER",
|
||||
},
|
||||
{
|
||||
Name = "PetBattleOverrideAbility",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_OVERRIDE_ABILITY",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "abilityIndex", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattlePetChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_PET_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattlePetRoundPlaybackComplete",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_PET_ROUND_PLAYBACK_COMPLETE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "roundNumber", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattlePetRoundResults",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_PET_ROUND_RESULTS",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "roundNumber", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattlePetTypeChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_PET_TYPE_CHANGED",
|
||||
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",
|
||||
},
|
||||
{
|
||||
Name = "PetBattlePvpDuelRequested",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_PVP_DUEL_REQUESTED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "fullName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PetBattleQueueProposalAccepted",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_QUEUE_PROPOSAL_ACCEPTED",
|
||||
},
|
||||
{
|
||||
Name = "PetBattleQueueProposalDeclined",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_QUEUE_PROPOSAL_DECLINED",
|
||||
},
|
||||
{
|
||||
Name = "PetBattleQueueProposeMatch",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_QUEUE_PROPOSE_MATCH",
|
||||
},
|
||||
{
|
||||
Name = "PetBattleQueueStatus",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_QUEUE_STATUS",
|
||||
},
|
||||
{
|
||||
Name = "PetBattleXpChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "PET_BATTLE_XP_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "owner", Type = "number", Nilable = false },
|
||||
{ Name = "petIndex", Type = "number", Nilable = false },
|
||||
{ Name = "xpChange", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BattlePet);
|
||||
@@ -0,0 +1,41 @@
|
||||
local BehavioralMessaging =
|
||||
{
|
||||
Name = "BehavioralMessaging",
|
||||
Type = "System",
|
||||
Namespace = "C_BehavioralMessaging",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "SendNotificationReceipt",
|
||||
Type = "Function",
|
||||
|
||||
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",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "notificationType", Type = "string", Nilable = false },
|
||||
{ Name = "dbId", Type = "NotificationDbId", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BehavioralMessaging);
|
||||
@@ -0,0 +1,70 @@
|
||||
local BlackMarketInfo =
|
||||
{
|
||||
Name = "BlackMarketInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_BlackMarketInfo",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BlackMarketBidResult",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_BID_RESULT",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "marketID", Type = "number", Nilable = false },
|
||||
{ Name = "resultCode", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BlackMarketClose",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_CLOSE",
|
||||
},
|
||||
{
|
||||
Name = "BlackMarketItemUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_ITEM_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "BlackMarketOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_OPEN",
|
||||
},
|
||||
{
|
||||
Name = "BlackMarketOutbid",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_OUTBID",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "marketID", Type = "number", Nilable = false },
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BlackMarketUnavailable",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_UNAVAILABLE",
|
||||
},
|
||||
{
|
||||
Name = "BlackMarketWon",
|
||||
Type = "Event",
|
||||
LiteralName = "BLACK_MARKET_WON",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "marketID", Type = "number", Nilable = false },
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BlackMarketInfo);
|
||||
@@ -0,0 +1,278 @@
|
||||
## Title: Blizzard API Documentation Generated
|
||||
## Author: Blizzard Entertainment
|
||||
## LoadOnDemand: 1
|
||||
## AllowLoad: Both
|
||||
## Dependencies: Blizzard_APIDocumentation
|
||||
|
||||
# Start documentation files here
|
||||
AccountInfoDocumentation.lua
|
||||
AchievementInfoDocumentation.lua
|
||||
ActionBarFrameDocumentation.lua
|
||||
AddOnsDocumentation.lua
|
||||
AdventureJournalDocumentation.lua
|
||||
AdventureMapDocumentation.lua
|
||||
AreaPoiInfoDocumentation.lua
|
||||
AuctionHouseDocumentation.lua
|
||||
AzeriteEmpoweredItemDocumentation.lua
|
||||
AzeriteEssenceDocumentation.lua
|
||||
AzeriteItemDocumentation.lua
|
||||
BagIndexConstantsDocumentation.lua
|
||||
BankDocumentation.lua
|
||||
BarberShopDocumentation.lua
|
||||
BattleNetDocumentation.lua
|
||||
BattlePetDocumentation.lua
|
||||
BehavioralMessagingDocumentation.lua
|
||||
BlackMarketInfoDocumentation.lua
|
||||
BrowserDocumentation.lua
|
||||
CalendarDocumentation.lua
|
||||
CameraDocumentation.lua
|
||||
ChatBubblesDocumentation.lua
|
||||
ChatInfoDocumentation.lua
|
||||
CinematicDocumentation.lua
|
||||
ClassTrialDocumentation.lua
|
||||
ClientSceneDocumentation.lua
|
||||
CombatLogDocumentation.lua
|
||||
CompactUnitFramesDocumentation.lua
|
||||
ConfigurationWarningsDocumentation.lua
|
||||
ConsoleDocumentation.lua
|
||||
ConsoleScriptCollectionDocumentation.lua
|
||||
ContainerDocumentation.lua
|
||||
ContributionCollectorDocumentation.lua
|
||||
CreatureInfoDocumentation.lua
|
||||
CurrencyInfoDocumentation.lua
|
||||
CursorDocumentation.lua
|
||||
DeathInfoDocumentation.lua
|
||||
DuelInfoDocumentation.lua
|
||||
EditModeManagerDocumentation.lua
|
||||
EncounterInfoDocumentation.lua
|
||||
EquipmentManagerDocumentation.lua
|
||||
EventUtilsDocumentation.lua
|
||||
ExpansionDocumentation.lua
|
||||
FogOfWarDocumentation.lua
|
||||
FrameAPICooldownDocumentation.lua
|
||||
FrameAPIFogOfWarFrameDocumentation.lua
|
||||
GMTicketInfoDocumentation.lua
|
||||
GamePadDocumentation.lua
|
||||
GameRulesDocumentation.lua
|
||||
GlyphInfoDocumentation.lua
|
||||
GossipInfoDocumentation.lua
|
||||
GuildBankDocumentation.lua
|
||||
GuildInfoDocumentation.lua
|
||||
HeirloomInfoDocumentation.lua
|
||||
InstanceEncounterDocumentation.lua
|
||||
ItemDocumentation.lua
|
||||
ItemSocketInfoDocumentation.lua
|
||||
ItemTextDocumentation.lua
|
||||
ItemUpgradeDocumentation.lua
|
||||
KeyBindingsDocumentation.lua
|
||||
KnowledgeBaseDocumentation.lua
|
||||
LFGInfoDocumentation.lua
|
||||
LFGListInfoDocumentation.lua
|
||||
LoadingScreenDocumentation.lua
|
||||
LootDocumentation.lua
|
||||
LossOfControlDocumentation.lua
|
||||
MapExplorationDocumentation.lua
|
||||
MerchantFrameDocumentation.lua
|
||||
MinimapDocumentation.lua
|
||||
MinimapFrameAPIDocumentation.lua
|
||||
NamePlateManagerDocumentation.lua
|
||||
NewItemsDocumentation.lua
|
||||
PaperDollInfoDocumentation.lua
|
||||
PartyInfoDocumentation.lua
|
||||
PartyPoseUIDocumentation.lua
|
||||
PetInfoDocumentation.lua
|
||||
PetJournalInfoDocumentation.lua
|
||||
PlatformDocumentation.lua
|
||||
PlayerInfoDocumentation.lua
|
||||
PlayerInteractionManagerDocumentation.lua
|
||||
PlayerLocationDocumentation.lua
|
||||
PvpInfoDocumentation.lua
|
||||
QuestInfoSystemDocumentation.lua
|
||||
QuestLineInfoDocumentation.lua
|
||||
QuestLogDocumentation.lua
|
||||
QuestOfferDocumentation.lua
|
||||
QuestSessionDocumentation.lua
|
||||
QuestTaskInfoDocumentation.lua
|
||||
RaidLocksDocumentation.lua
|
||||
ReportSystemDocumentation.lua
|
||||
ReputationInfoDocumentation.lua
|
||||
RestrictedActionsDocumentation.lua
|
||||
ScriptWarningsDocumentation.lua
|
||||
SecureTransferDocumentation.lua
|
||||
SharedTraitsDocumentation.lua
|
||||
SimpleAnimAPIDocumentation.lua
|
||||
SimpleAnimAlphaAPIDocumentation.lua
|
||||
SimpleAnimFlipBookAPIDocumentation.lua
|
||||
SimpleAnimGroupAPIDocumentation.lua
|
||||
SimpleAnimPathAPIDocumentation.lua
|
||||
SimpleAnimRotationAPIDocumentation.lua
|
||||
SimpleAnimScaleAPIDocumentation.lua
|
||||
SimpleAnimScaleLineAPIDocumentation.lua
|
||||
SimpleAnimTextureCoordTranslationAPIDocumentation.lua
|
||||
SimpleAnimTranslationAPIDocumentation.lua
|
||||
SimpleAnimTranslationLineAPIDocumentation.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
|
||||
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
|
||||
SkillInfoDocumentation.lua
|
||||
SocialQueueDocumentation.lua
|
||||
SoundDocumentation.lua
|
||||
SpecializationInfoDocumentation.lua
|
||||
SpellDocumentation.lua
|
||||
SpellActivationOverlayDocumentation.lua
|
||||
SpellBookDocumentation.lua
|
||||
StableInfoDocumentation.lua
|
||||
StorePublicUIDocumentation.lua
|
||||
StringUtilDocumentation.lua
|
||||
SummonInfoDocumentation.lua
|
||||
TTSSettingsDocumentation.lua
|
||||
TaxiMapDocumentation.lua
|
||||
TextureUtilsDocumentation.lua
|
||||
TooltipComparisonDocumentation.lua
|
||||
TooltipInfoDocumentation.lua
|
||||
ToyBoxInfoDocumentation.lua
|
||||
TradeInfoDocumentation.lua
|
||||
TrainerDocumentation.lua
|
||||
TraitConfigDocumentation.lua
|
||||
TutorialDocumentation.lua
|
||||
UIColorDocumentation.lua
|
||||
UIGenericWidgetDisplayDocumentation.lua
|
||||
UIMacrosDocumentation.lua
|
||||
UIManagerDocumentation.lua
|
||||
UIModelInfoDocumentation.lua
|
||||
UISystemVisibilityManagerDocumentation.lua
|
||||
UITimerDocumentation.lua
|
||||
UIWidgetManagerDocumentation.lua
|
||||
UnitDocumentation.lua
|
||||
UserFeedbackDocumentation.lua
|
||||
VehicleDocumentation.lua
|
||||
VideoDocumentation.lua
|
||||
VignetteInfoDocumentation.lua
|
||||
VoiceChatDocumentation.lua
|
||||
VoidStorageInfoDocumentation.lua
|
||||
WorldStateInfoDocumentation.lua
|
||||
WowEntitlementInfoDocumentation.lua
|
||||
WowTokenUIDocumentation.lua
|
||||
XMLUtilDocumentation.lua
|
||||
CVarDocumentation.lua
|
||||
ClubDocumentation.lua
|
||||
CommentatorFrameDocumentation.lua
|
||||
CraftInfoDocumentation.lua
|
||||
DateAndTimeDocumentation.lua
|
||||
FriendListDocumentation.lua
|
||||
MailInfoDocumentation.lua
|
||||
MapDocumentation.lua
|
||||
ScriptedAnimationsDocumentation.lua
|
||||
SeasonsDocumentation.lua
|
||||
SocialRestrictionsDocumentation.lua
|
||||
SystemDocumentation.lua
|
||||
TradeSkillUIDocumentation.lua
|
||||
UnitAuraDocumentation.lua
|
||||
AccountConstantsDocumentation.lua
|
||||
ActionDocumentation.lua
|
||||
AppearanceSourceDocumentation.lua
|
||||
AuctionHouseEnumsDocumentation.lua
|
||||
AzeriteConstantsDocumentation.lua
|
||||
BagConstantsDocumentation.lua
|
||||
BaseDocumentation.lua
|
||||
BattlePetConstantsDocumentation.lua
|
||||
BountySharedDocumentation.lua
|
||||
ButtonConstantsDocumentation.lua
|
||||
CalendarConstantsDocumentation.lua
|
||||
CharacterCustomizationSharedDocumentation.lua
|
||||
ChatConstantsDocumentation.lua
|
||||
ClubSharedDocumentation.lua
|
||||
ColorDocumentation.lua
|
||||
CurrencyConstantsDocumentation.lua
|
||||
CursorConstDocumentation.lua
|
||||
DamageConstantsDocumentation.lua
|
||||
EditModeManagerSharedDocumentation.lua
|
||||
ExpansionLandingPageConstantsDocumentation.lua
|
||||
GARRISON_FOLLOWER_TYPEConstantsDocumentation.lua
|
||||
GARRISON_TYPEConstantsDocumentation.lua
|
||||
GamePadConstDocumentation.lua
|
||||
GarrisonConstantsDocumentation.lua
|
||||
GossipConstantsDocumentation.lua
|
||||
GuildInfoSharedDocumentation.lua
|
||||
InputConstantsDocumentation.lua
|
||||
ItemConstantsDocumentation.lua
|
||||
ItemSharedDocumentation.lua
|
||||
LFGConstantsDocumentation.lua
|
||||
LevelConstantsDocumentation.lua
|
||||
LootConstantsDocumentation.lua
|
||||
MapConstantsDocumentation.lua
|
||||
MinimapConstantsDocumentation.lua
|
||||
ModelSceneDocumentation.lua
|
||||
NamePlateDocumentation.lua
|
||||
PVPMgrConstantsDocumentation.lua
|
||||
PerksVendorConstantsDocumentation.lua
|
||||
PetBattleConstantsDocumentation.lua
|
||||
PetScalingConstantsDocumentation.lua
|
||||
PlayerDocumentation.lua
|
||||
PlayerInfoSharedDocumentation.lua
|
||||
PlayerInteractionManagerConstantsDocumentation.lua
|
||||
PlayerMentorshipConstantsDocumentation.lua
|
||||
ProfessionConstantsDocumentation.lua
|
||||
PvPFactionConstantsDocumentation.lua
|
||||
PvpInfoConstantsDocumentation.lua
|
||||
QuestConstantsDocumentation.lua
|
||||
QuestRewardsDocumentation.lua
|
||||
QuestSessionConstantsDocumentation.lua
|
||||
QueueSpecificDocumentation.lua
|
||||
RecruitAFriendSharedDocumentation.lua
|
||||
ReportSystemConstantsDocumentation.lua
|
||||
ScriptRegionSharedDocumentation.lua
|
||||
SharedScriptObjectModelLightDocumentation.lua
|
||||
SharedTraitsEnumsDocumentation.lua
|
||||
SimpleHTMLSharedDocumentation.lua
|
||||
SoftTargetConstantsDocumentation.lua
|
||||
TextureSharedDocumentation.lua
|
||||
TimeDocumentation.lua
|
||||
TooltipConstantsDocumentation.lua
|
||||
TooltipInfoSharedDocumentation.lua
|
||||
TradeSkillUITypesDocumentation.lua
|
||||
TraitConstantsDocumentation.lua
|
||||
TransmogSharedDocumentation.lua
|
||||
UIFileAssetSharedDocumentation.lua
|
||||
UISharedDocumentation.lua
|
||||
UITextureAssetSharedDocumentation.lua
|
||||
UIWidgetManagerSharedDocumentation.lua
|
||||
UiModelSceneConstantsDocumentation.lua
|
||||
UnitSexConstantsDocumentation.lua
|
||||
UnitSharedDocumentation.lua
|
||||
ValidateNameConstantsDocumentation.lua
|
||||
VectorSharedDocumentation.lua
|
||||
VignetteConstantsDocumentation.lua
|
||||
WeeklyRewardsSharedDocumentation.lua
|
||||
WowLabsConstantsDocumentation.lua
|
||||
AuctionHouseConstants_ClassicDocumentation.lua
|
||||
CurrencyConstants_ClassicDocumentation.lua
|
||||
ItemConstants_ClassicDocumentation.lua
|
||||
QuestConstants_ClassicDocumentation.lua
|
||||
SeasonsConstantsDocumentation.lua
|
||||
# End documentation files here
|
||||
@@ -0,0 +1,20 @@
|
||||
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 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(BountyShared);
|
||||
@@ -0,0 +1,39 @@
|
||||
local Browser =
|
||||
{
|
||||
Name = "Browser",
|
||||
Type = "System",
|
||||
Namespace = "C_Browser",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "SimpleBrowserWebError",
|
||||
Type = "Event",
|
||||
LiteralName = "SIMPLE_BROWSER_WEB_ERROR",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "errorCode", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SimpleBrowserWebProxyFailed",
|
||||
Type = "Event",
|
||||
LiteralName = "SIMPLE_BROWSER_WEB_PROXY_FAILED",
|
||||
},
|
||||
{
|
||||
Name = "SimpleCheckoutClosed",
|
||||
Type = "Event",
|
||||
LiteralName = "SIMPLE_CHECKOUT_CLOSED",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Browser);
|
||||
@@ -0,0 +1,19 @@
|
||||
local Build =
|
||||
{
|
||||
Name = "Build",
|
||||
Type = "System",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Build);
|
||||
@@ -0,0 +1,8 @@
|
||||
local ButtonConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ButtonConstants);
|
||||
@@ -0,0 +1,124 @@
|
||||
local CVar =
|
||||
{
|
||||
Name = "CVarScripts",
|
||||
Type = "System",
|
||||
Namespace = "C_CVar",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetCVar",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "value", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCVarBitfield",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "value", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCVarBool",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "value", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCVarDefault",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "defaultValue", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RegisterCVar",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "value", Type = "cstring", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ResetTestCVars",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "SetCVar",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "value", Type = "cstring", Nilable = true },
|
||||
{ Name = "scriptCVar", Type = "cstring", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCVarBitfield",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "value", Type = "bool", Nilable = false },
|
||||
{ Name = "scriptCVar", Type = "cstring", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CVar);
|
||||
@@ -0,0 +1,337 @@
|
||||
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 = "RaidReset", 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 = 4,
|
||||
MinValue = 1,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ 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 = "RaidReset", 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 = 7,
|
||||
MinValue = 1,
|
||||
MaxValue = 64,
|
||||
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 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CalendarConstants);
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,31 @@
|
||||
local Camera =
|
||||
{
|
||||
Name = "Camera",
|
||||
Type = "System",
|
||||
Namespace = "C_CameraDefaults",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetCameraFOVDefaults",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "fieldOfViewDegreesDefault", Type = "number", Nilable = false },
|
||||
{ Name = "fieldOfViewDegreesPlayerMin", Type = "number", Nilable = false },
|
||||
{ Name = "fieldOfViewDegreesPlayerMax", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Camera);
|
||||
@@ -0,0 +1,116 @@
|
||||
local CharacterCustomizationShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CharCustomizationType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 12,
|
||||
MinValue = 0,
|
||||
MaxValue = 11,
|
||||
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 = "Outfit", Type = "CharCustomizationType", EnumValue = 9 },
|
||||
{ Name = "Facepaint", Type = "CharCustomizationType", EnumValue = 10 },
|
||||
{ Name = "FacepaintColor", Type = "CharCustomizationType", EnumValue = 11 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChrCustomizationCategoryFlag",
|
||||
Type = "Enumeration",
|
||||
NumValues = 1,
|
||||
MinValue = 1,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "UndressModel", Type = "ChrCustomizationCategoryFlag", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ChrCustomizationOptionType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "SelectionPopout", Type = "ChrCustomizationOptionType", EnumValue = 0 },
|
||||
{ Name = "Checkbox", Type = "ChrCustomizationOptionType", EnumValue = 1 },
|
||||
{ Name = "Slider", Type = "ChrCustomizationOptionType", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CustomizationScope",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Player", Type = "CustomizationScope", EnumValue = 0 },
|
||||
{ Name = "DragonCompanion", Type = "CustomizationScope", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CharCustomizationCategory",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "orderIndex", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "icon", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "selectedIcon", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "undressModel", 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 = "CharCustomizationChoice",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ 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 = "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 = "CharCustomizationOption",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "string", 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 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CharacterCustomizationShared);
|
||||
@@ -0,0 +1,34 @@
|
||||
local ChatBubbles =
|
||||
{
|
||||
Name = "ChatBubbles",
|
||||
Type = "System",
|
||||
Namespace = "C_ChatBubbles",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetAllChatBubbles",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "includeForbidden", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "chatBubbles", Type = "table", InnerType = "ChatBubbleFrame", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ChatBubbles);
|
||||
@@ -0,0 +1,156 @@
|
||||
local ChatConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
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 = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "CanWhisper", Type = "ChatWhisperTargetStatus", EnumValue = 0 },
|
||||
{ Name = "Offline", Type = "ChatWhisperTargetStatus", EnumValue = 1 },
|
||||
{ Name = "WrongFaction", Type = "ChatWhisperTargetStatus", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
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 = "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 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ChatConstants);
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,53 @@
|
||||
local Cinematic =
|
||||
{
|
||||
Name = "Cinematic",
|
||||
Type = "System",
|
||||
Namespace = "C_Cinematic",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "CinematicStart",
|
||||
Type = "Event",
|
||||
LiteralName = "CINEMATIC_START",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "canBeCancelled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CinematicStop",
|
||||
Type = "Event",
|
||||
LiteralName = "CINEMATIC_STOP",
|
||||
},
|
||||
{
|
||||
Name = "HideSubtitle",
|
||||
Type = "Event",
|
||||
LiteralName = "HIDE_SUBTITLE",
|
||||
},
|
||||
{
|
||||
Name = "PlayMovie",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAY_MOVIE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "movieID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "StopMovie",
|
||||
Type = "Event",
|
||||
LiteralName = "STOP_MOVIE",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Cinematic);
|
||||
@@ -0,0 +1,30 @@
|
||||
local ClassTrial =
|
||||
{
|
||||
Name = "ClassTrial",
|
||||
Type = "System",
|
||||
Namespace = "C_ClassTrial",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "ClassTrialTimerStart",
|
||||
Type = "Event",
|
||||
LiteralName = "CLASS_TRIAL_TIMER_START",
|
||||
},
|
||||
{
|
||||
Name = "ClassTrialUpgradeComplete",
|
||||
Type = "Event",
|
||||
LiteralName = "CLASS_TRIAL_UPGRADE_COMPLETE",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ClassTrial);
|
||||
@@ -0,0 +1,19 @@
|
||||
local Client =
|
||||
{
|
||||
Name = "Client",
|
||||
Type = "System",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Client);
|
||||
@@ -0,0 +1,46 @@
|
||||
local ClientScene =
|
||||
{
|
||||
Name = "ClientScene",
|
||||
Type = "System",
|
||||
Namespace = "C_ClientScene",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "ClientSceneClosed",
|
||||
Type = "Event",
|
||||
LiteralName = "CLIENT_SCENE_CLOSED",
|
||||
},
|
||||
{
|
||||
Name = "ClientSceneOpened",
|
||||
Type = "Event",
|
||||
LiteralName = "CLIENT_SCENE_OPENED",
|
||||
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 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ClientScene);
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
local ClubShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ClubShared);
|
||||
@@ -0,0 +1,8 @@
|
||||
local Color =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Color);
|
||||
@@ -0,0 +1,39 @@
|
||||
local CombatLog =
|
||||
{
|
||||
Name = "CombatLog",
|
||||
Type = "System",
|
||||
Namespace = "C_CombatLog",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "CombatLogEvent",
|
||||
Type = "Event",
|
||||
LiteralName = "COMBAT_LOG_EVENT",
|
||||
},
|
||||
{
|
||||
Name = "CombatLogEventUnfiltered",
|
||||
Type = "Event",
|
||||
LiteralName = "COMBAT_LOG_EVENT_UNFILTERED",
|
||||
},
|
||||
{
|
||||
Name = "CombatTextUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "COMBAT_TEXT_UPDATE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "combatTextType", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CombatLog);
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,23 @@
|
||||
local CommentatorShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "TrackedSpellCategory",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 0,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "TrackedSpellCategory", EnumValue = 0 },
|
||||
{ Name = "Offensive", Type = "TrackedSpellCategory", EnumValue = 1 },
|
||||
{ Name = "Defensive", Type = "TrackedSpellCategory", EnumValue = 2 },
|
||||
{ Name = "Debuff", Type = "TrackedSpellCategory", EnumValue = 3 },
|
||||
{ Name = "RacialAbility", Type = "TrackedSpellCategory", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CommentatorShared);
|
||||
@@ -0,0 +1,25 @@
|
||||
local CompactUnitFrames =
|
||||
{
|
||||
Name = "CompactUnitFrames",
|
||||
Type = "System",
|
||||
Namespace = "C_CompactUnitFrames",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "CompactUnitFrameProfilesLoaded",
|
||||
Type = "Event",
|
||||
LiteralName = "COMPACT_UNIT_FRAME_PROFILES_LOADED",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CompactUnitFrames);
|
||||
@@ -0,0 +1,89 @@
|
||||
local ConfigurationWarnings =
|
||||
{
|
||||
Name = "ConfigurationWarnings",
|
||||
Type = "System",
|
||||
Namespace = "C_ConfigurationWarnings",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetConfigurationWarningSeen",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "configurationWarning", Type = "ConfigurationWarning", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasSeenConfigurationWarning", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetConfigurationWarningString",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "configurationWarning", Type = "ConfigurationWarning", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "configurationWarningString", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetConfigurationWarnings",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "includeSeenWarnings", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "configurationWarnings", Type = "table", InnerType = "ConfigurationWarning", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetConfigurationWarningSeen",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "configurationWarning", Type = "ConfigurationWarning", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ConfigurationWarning",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 0,
|
||||
MaxValue = 7,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ShaderModelWillBeOutdated", Type = "ConfigurationWarning", EnumValue = 0 },
|
||||
{ Name = "ShaderModelIsOutdated", Type = "ConfigurationWarning", EnumValue = 1 },
|
||||
{ Name = "ConsoleDeviceSseOutdated", Type = "ConfigurationWarning", EnumValue = 2 },
|
||||
{ Name = "DriverBlocklisted", Type = "ConfigurationWarning", EnumValue = 3 },
|
||||
{ Name = "DriverOutOfDate", Type = "ConfigurationWarning", EnumValue = 4 },
|
||||
{ Name = "DeviceBlocklisted", Type = "ConfigurationWarning", EnumValue = 5 },
|
||||
{ Name = "GraphicsApiWillBeOutdated", Type = "ConfigurationWarning", EnumValue = 6 },
|
||||
{ Name = "OsBitsWillBeOutdated", Type = "ConfigurationWarning", EnumValue = 7 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ConfigurationWarnings);
|
||||
@@ -0,0 +1,202 @@
|
||||
local Console =
|
||||
{
|
||||
Name = "Console",
|
||||
Type = "System",
|
||||
Namespace = "C_Console",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetAllCommands",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "commands", Type = "table", InnerType = "ConsoleCommandInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetColorFromType",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "colorType", Type = "ConsoleColorType", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "color", Type = "colorRGB", Mixin = "ColorMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFontHeight",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "fontHeightInPixels", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PrintAllMatchingCommands",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "partialCommandText", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFontHeight",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "fontHeightInPixels", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "ConsoleClear",
|
||||
Type = "Event",
|
||||
LiteralName = "CONSOLE_CLEAR",
|
||||
},
|
||||
{
|
||||
Name = "ConsoleColorsChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "CONSOLE_COLORS_CHANGED",
|
||||
},
|
||||
{
|
||||
Name = "ConsoleFontSizeChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "CONSOLE_FONT_SIZE_CHANGED",
|
||||
},
|
||||
{
|
||||
Name = "ConsoleLog",
|
||||
Type = "Event",
|
||||
LiteralName = "CONSOLE_LOG",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "message", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConsoleMessage",
|
||||
Type = "Event",
|
||||
LiteralName = "CONSOLE_MESSAGE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "message", Type = "cstring", Nilable = false },
|
||||
{ Name = "colorType", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CvarUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "CVAR_UPDATE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "eventName", Type = "cstring", Nilable = false },
|
||||
{ Name = "value", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GlueConsoleLog",
|
||||
Type = "Event",
|
||||
LiteralName = "GLUE_CONSOLE_LOG",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "message", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ToggleConsole",
|
||||
Type = "Event",
|
||||
LiteralName = "TOGGLE_CONSOLE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "showConsole", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ConsoleCategory",
|
||||
Type = "Enumeration",
|
||||
NumValues = 11,
|
||||
MinValue = 0,
|
||||
MaxValue = 10,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Debug", Type = "ConsoleCategory", EnumValue = 0 },
|
||||
{ Name = "Graphics", Type = "ConsoleCategory", EnumValue = 1 },
|
||||
{ Name = "Console", Type = "ConsoleCategory", EnumValue = 2 },
|
||||
{ Name = "Combat", Type = "ConsoleCategory", EnumValue = 3 },
|
||||
{ Name = "Game", Type = "ConsoleCategory", EnumValue = 4 },
|
||||
{ Name = "Default", Type = "ConsoleCategory", EnumValue = 5 },
|
||||
{ Name = "Net", Type = "ConsoleCategory", EnumValue = 6 },
|
||||
{ Name = "Sound", Type = "ConsoleCategory", EnumValue = 7 },
|
||||
{ Name = "Gm", Type = "ConsoleCategory", EnumValue = 8 },
|
||||
{ Name = "Reveal", Type = "ConsoleCategory", EnumValue = 9 },
|
||||
{ Name = "None", Type = "ConsoleCategory", EnumValue = 10 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConsoleColorType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 12,
|
||||
MinValue = 0,
|
||||
MaxValue = 11,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "DefaultColor", Type = "ConsoleColorType", EnumValue = 0 },
|
||||
{ Name = "InputColor", Type = "ConsoleColorType", EnumValue = 1 },
|
||||
{ Name = "EchoColor", Type = "ConsoleColorType", EnumValue = 2 },
|
||||
{ Name = "ErrorColor", Type = "ConsoleColorType", EnumValue = 3 },
|
||||
{ Name = "WarningColor", Type = "ConsoleColorType", EnumValue = 4 },
|
||||
{ Name = "GlobalColor", Type = "ConsoleColorType", EnumValue = 5 },
|
||||
{ Name = "AdminColor", Type = "ConsoleColorType", EnumValue = 6 },
|
||||
{ Name = "HighlightColor", Type = "ConsoleColorType", EnumValue = 7 },
|
||||
{ Name = "BackgroundColor", Type = "ConsoleColorType", EnumValue = 8 },
|
||||
{ Name = "ClickbufferColor", Type = "ConsoleColorType", EnumValue = 9 },
|
||||
{ Name = "PrivateColor", Type = "ConsoleColorType", EnumValue = 10 },
|
||||
{ Name = "DefaultGreen", Type = "ConsoleColorType", EnumValue = 11 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConsoleCommandType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Cvar", Type = "ConsoleCommandType", EnumValue = 0 },
|
||||
{ Name = "Command", Type = "ConsoleCommandType", EnumValue = 1 },
|
||||
{ Name = "Macro", Type = "ConsoleCommandType", EnumValue = 2 },
|
||||
{ Name = "Script", Type = "ConsoleCommandType", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConsoleCommandInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "command", Type = "cstring", Nilable = false },
|
||||
{ Name = "help", Type = "cstring", Nilable = false },
|
||||
{ Name = "category", Type = "ConsoleCategory", Nilable = false },
|
||||
{ Name = "commandType", Type = "ConsoleCommandType", Nilable = false },
|
||||
{ Name = "scriptContents", Type = "cstring", Nilable = false },
|
||||
{ Name = "scriptParameters", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Console);
|
||||
@@ -0,0 +1,116 @@
|
||||
local ConsoleScriptCollection =
|
||||
{
|
||||
Name = "ConsoleScriptCollection",
|
||||
Type = "System",
|
||||
Namespace = "C_ConsoleScriptCollection",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetCollectionDataByID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "collectionID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "data", Type = "ConsoleScriptCollectionData", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCollectionDataByTag",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "collectionTag", Type = "string", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "data", Type = "ConsoleScriptCollectionData", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetElements",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "collectionID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "elementIDs", Type = "table", InnerType = "ConsoleScriptCollectionElementData", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetScriptData",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "consoleScriptID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "data", Type = "ConsoleScriptData", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ConsoleScriptCollectionData",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ID", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConsoleScriptCollectionElementData",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "collectionID", Type = "number", Nilable = true },
|
||||
{ Name = "consoleScriptID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConsoleScriptData",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ID", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "help", Type = "cstring", Nilable = false },
|
||||
{ Name = "script", Type = "cstring", Nilable = false },
|
||||
{ Name = "params", Type = "cstring", Nilable = false },
|
||||
{ Name = "isLuaScript", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConsoleScriptParameter",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "description", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ConsoleScriptCollection);
|
||||
@@ -0,0 +1,618 @@
|
||||
local Container =
|
||||
{
|
||||
Name = "Container",
|
||||
Type = "System",
|
||||
Namespace = "C_Container",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ContainerIDToInventoryID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerID", Type = "BagIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "inventoryID", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ContainerRefundItemPurchase",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "isEquipped", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetBagName",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bagIndex", Type = "BagIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetBagSlotFlag",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bagIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "flag", Type = "BagSlotFlags", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isSet", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerFreeSlots",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "freeSlots", Type = "table", InnerType = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerItemCooldown",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "startTime", Type = "number", Nilable = false },
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
{ Name = "enable", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerItemDurability",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "durability", Type = "number", Nilable = false },
|
||||
{ Name = "maxDurability", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerItemGems",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numGems", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerItemID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "containerID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerItemInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "containerInfo", Type = "ContainerItemInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerItemLink",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "itemLink", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerItemPurchaseCurrency",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "itemIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "isEquipped", Type = "bool", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "currencyInfo", Type = "ItemPurchaseCurrency", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerItemPurchaseInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "isEquipped", Type = "bool", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "ItemPurchaseInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerItemPurchaseItem",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "itemIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "isEquipped", Type = "bool", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "itemInfo", Type = "ItemPurchaseItem", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerItemQuestInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "questInfo", Type = "ItemQuestInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerNumFreeSlots",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bagIndex", Type = "BagIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numFreeSlots", Type = "number", Nilable = false },
|
||||
{ Name = "bagFamily", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetContainerNumSlots",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numSlots", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetInsertItemsLeftToRight",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isEnabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetItemCooldown",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "startTime", Type = "number", Nilable = false },
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
{ Name = "enable", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsBagSlotFlagEnabledOnOtherBankBags",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bagIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "flagIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isSet", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsContainerFiltered",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isFiltered", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PickupContainerItem",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetBagPortraitTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "texture", Type = "SimpleTexture", Nilable = false },
|
||||
{ Name = "bagIndex", Type = "BagIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetBagSlotFlag",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "bagIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "flag", Type = "BagSlotFlags", Nilable = false },
|
||||
{ Name = "isSet", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetInsertItemsLeftToRight",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "enable", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetItemSearch",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "searchString", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ShowContainerSellCursor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SocketContainerItem",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SplitContainerItem",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "amount", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UseContainerItem",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "containerIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "unitToken", Type = "UnitToken", Nilable = true },
|
||||
{ Name = "reagentBankOpen", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BagClosed",
|
||||
Type = "Event",
|
||||
LiteralName = "BAG_CLOSED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "bagID", Type = "BagIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BagContainerUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "BAG_CONTAINER_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "BagNewItemsUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "BAG_NEW_ITEMS_UPDATED",
|
||||
},
|
||||
{
|
||||
Name = "BagOpen",
|
||||
Type = "Event",
|
||||
LiteralName = "BAG_OPEN",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "bagID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BagOverflowWithFullInventory",
|
||||
Type = "Event",
|
||||
LiteralName = "BAG_OVERFLOW_WITH_FULL_INVENTORY",
|
||||
},
|
||||
{
|
||||
Name = "BagSlotFlagsUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "BAG_SLOT_FLAGS_UPDATED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BagUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "BAG_UPDATE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "bagID", Type = "BagIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BagUpdateCooldown",
|
||||
Type = "Event",
|
||||
LiteralName = "BAG_UPDATE_COOLDOWN",
|
||||
},
|
||||
{
|
||||
Name = "BagUpdateDelayed",
|
||||
Type = "Event",
|
||||
LiteralName = "BAG_UPDATE_DELAYED",
|
||||
},
|
||||
{
|
||||
Name = "EquipBindRefundableConfirm",
|
||||
Type = "Event",
|
||||
LiteralName = "EQUIP_BIND_REFUNDABLE_CONFIRM",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EquipBindTradeableConfirm",
|
||||
Type = "Event",
|
||||
LiteralName = "EQUIP_BIND_TRADEABLE_CONFIRM",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "slot", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ExpandBagBarChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "EXPAND_BAG_BAR_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "expandBagBar", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "InventorySearchUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "INVENTORY_SEARCH_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "ItemLockChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "ITEM_LOCK_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "bagOrSlotIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ItemLocked",
|
||||
Type = "Event",
|
||||
LiteralName = "ITEM_LOCKED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "bagOrSlotIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ItemUnlocked",
|
||||
Type = "Event",
|
||||
LiteralName = "ITEM_UNLOCKED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "bagOrSlotIndex", Type = "BagIndex", Nilable = false },
|
||||
{ Name = "slotIndex", Type = "luaIndex", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UseCombinedBagsChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "USE_COMBINED_BAGS_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "useCombinedBags", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ContainerItemInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "iconFileID", Type = "fileID", Nilable = false },
|
||||
{ Name = "stackCount", Type = "number", Nilable = false },
|
||||
{ Name = "isLocked", Type = "bool", Nilable = false },
|
||||
{ Name = "quality", Type = "ItemQuality", Nilable = true },
|
||||
{ Name = "isReadable", Type = "bool", Nilable = false },
|
||||
{ Name = "hasLoot", Type = "bool", Nilable = false },
|
||||
{ Name = "hyperlink", Type = "string", Nilable = false },
|
||||
{ Name = "isFiltered", Type = "bool", Nilable = false },
|
||||
{ Name = "hasNoValue", Type = "bool", Nilable = false },
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
{ Name = "isBound", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ItemPurchaseCurrency",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "iconFileID", Type = "number", Nilable = true },
|
||||
{ Name = "currencyCount", Type = "number", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ItemPurchaseInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "money", Type = "WOWMONEY", Nilable = false },
|
||||
{ Name = "itemCount", Type = "number", Nilable = false },
|
||||
{ Name = "refundSeconds", Type = "time_t", Nilable = false },
|
||||
{ Name = "currencyCount", Type = "number", Nilable = false },
|
||||
{ Name = "hasEnchants", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ItemPurchaseItem",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "iconFileID", Type = "number", Nilable = true },
|
||||
{ Name = "itemCount", Type = "number", Nilable = false },
|
||||
{ Name = "hyperlink", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ItemQuestInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "isQuestItem", Type = "bool", Nilable = false },
|
||||
{ Name = "questID", Type = "number", Nilable = true },
|
||||
{ Name = "isActive", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Container);
|
||||
@@ -0,0 +1,110 @@
|
||||
local ContentTrackingTypes =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ContentTrackingError",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Untrackable", Type = "ContentTrackingError", EnumValue = 0 },
|
||||
{ Name = "MaxTracked", Type = "ContentTrackingError", EnumValue = 1 },
|
||||
{ Name = "AlreadyTracked", Type = "ContentTrackingError", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ContentTrackingResult",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Success", Type = "ContentTrackingResult", EnumValue = 0 },
|
||||
{ Name = "DataPending", Type = "ContentTrackingResult", EnumValue = 1 },
|
||||
{ Name = "Failure", Type = "ContentTrackingResult", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ContentTrackingTargetType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "JournalEncounter", Type = "ContentTrackingTargetType", EnumValue = 0 },
|
||||
{ Name = "Vendor", Type = "ContentTrackingTargetType", EnumValue = 1 },
|
||||
{ Name = "Achievement", Type = "ContentTrackingTargetType", EnumValue = 2 },
|
||||
{ Name = "Profession", Type = "ContentTrackingTargetType", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ContentTrackingType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Appearance", Type = "ContentTrackingType", EnumValue = 0 },
|
||||
{ Name = "Mount", Type = "ContentTrackingType", EnumValue = 1 },
|
||||
{ Name = "Achievement", Type = "ContentTrackingType", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ContentTrackingConsts",
|
||||
Type = "Constants",
|
||||
Values =
|
||||
{
|
||||
{ Name = "MaxTrackedCollectableSources", Type = "number", Value = 15 },
|
||||
{ Name = "MaxTrackedAchievements", Type = "number", Value = 10 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ContentTrackingMapInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "x", Type = "number", Nilable = false },
|
||||
{ Name = "y", Type = "number", Nilable = false },
|
||||
{ Name = "trackableType", Type = "ContentTrackingType", Nilable = false },
|
||||
{ Name = "trackableID", Type = "number", Nilable = false },
|
||||
{ Name = "targetType", Type = "ContentTrackingTargetType", Nilable = false },
|
||||
{ Name = "targetID", Type = "number", Nilable = false },
|
||||
{ Name = "waypointText", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EncounterTrackingInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "encounterName", Type = "cstring", Nilable = false },
|
||||
{ Name = "journalEncounterID", Type = "number", Nilable = true },
|
||||
{ Name = "journalInstanceID", Type = "number", Nilable = true },
|
||||
{ Name = "instanceName", Type = "cstring", Nilable = false },
|
||||
{ Name = "subText", Type = "cstring", Nilable = true },
|
||||
{ Name = "difficultyID", Type = "number", Nilable = true },
|
||||
{ Name = "lfgDungeonID", Type = "number", Nilable = true },
|
||||
{ Name = "groupFinderActivityID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "VendorTrackingInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "creatureName", Type = "cstring", Nilable = false },
|
||||
{ Name = "zoneName", Type = "cstring", Nilable = true },
|
||||
{ Name = "currencyType", Type = "number", Nilable = true },
|
||||
{ Name = "cost", Type = "BigUInteger", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ContentTrackingTypes);
|
||||
@@ -0,0 +1,75 @@
|
||||
local ContributionCollector =
|
||||
{
|
||||
Name = "ContributionCollector",
|
||||
Type = "System",
|
||||
Namespace = "C_ContributionCollector",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ContributionAppearanceFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 1,
|
||||
MinValue = 0,
|
||||
MaxValue = 0,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "TooltipUseTimeRemaining", Type = "ContributionAppearanceFlags", EnumValue = 0 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ContributionResult",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 0,
|
||||
MaxValue = 7,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Success", Type = "ContributionResult", EnumValue = 0 },
|
||||
{ Name = "MustBeNearNpc", Type = "ContributionResult", EnumValue = 1 },
|
||||
{ Name = "IncorrectState", Type = "ContributionResult", EnumValue = 2 },
|
||||
{ Name = "InvalidID", Type = "ContributionResult", EnumValue = 3 },
|
||||
{ Name = "QuestDataMissing", Type = "ContributionResult", EnumValue = 4 },
|
||||
{ Name = "FailedConditionCheck", Type = "ContributionResult", EnumValue = 5 },
|
||||
{ Name = "UnableToCompleteTurnIn", Type = "ContributionResult", EnumValue = 6 },
|
||||
{ Name = "InternalError", Type = "ContributionResult", EnumValue = 7 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ContributionAppearance",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "stateName", Type = "cstring", Nilable = false },
|
||||
{ Name = "stateColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = false },
|
||||
{ Name = "tooltipLine", Type = "cstring", Nilable = false },
|
||||
{ Name = "tooltipUseTimeRemaining", Type = "bool", Nilable = false },
|
||||
{ Name = "statusBarAtlas", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "borderAtlas", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "bannerAtlas", Type = "textureAtlas", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ContributionMapInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "areaPoiID", Type = "number", Nilable = false },
|
||||
{ Name = "position", Type = "vector2", Mixin = "Vector2DMixin", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "atlasName", Type = "string", Nilable = false },
|
||||
{ Name = "collectorCreatureID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ContributionCollector);
|
||||
@@ -0,0 +1,359 @@
|
||||
local CooldownFrameAPI =
|
||||
{
|
||||
Name = "CooldownFrameAPI",
|
||||
Type = "ScriptObject",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "Clear",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCooldownDisplayDuration",
|
||||
Type = "Function",
|
||||
Documentation = { "The returned duration unit is milliseconds, unaffected by modRate." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCooldownDuration",
|
||||
Type = "Function",
|
||||
Documentation = { "The returned duration unit is milliseconds and is multiplied by the modRate." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCooldownTimes",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "start", Type = "number", Nilable = false },
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDrawBling",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "drawBling", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDrawEdge",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "drawEdge", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDrawSwipe",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "drawSwipe", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEdgeScale",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "edgeScale", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetReverse",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "reverse", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetRotation",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "rotationRadians", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsPaused",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isPaused", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Pause",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Resume",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetBlingTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "texture", Type = "FileAsset", Nilable = false },
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
{ Name = "colorA", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCooldown",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "start", Type = "number", Nilable = false },
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
{ Name = "modRate", Type = "number", Nilable = false, Default = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCooldownDuration",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
{ Name = "modRate", Type = "number", Nilable = false, Default = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCooldownUNIX",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "start", Type = "number", Nilable = false },
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
{ Name = "modRate", Type = "number", Nilable = false, Default = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCountdownAbbrevThreshold",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "seconds", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCountdownFont",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "fontName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetDrawBling",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "drawBling", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetDrawEdge",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "drawEdge", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetDrawSwipe",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "drawSwipe", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetEdgeScale",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "scale", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetEdgeTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "texture", Type = "FileAsset", Nilable = false },
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
{ Name = "colorA", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetHideCountdownNumbers",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "hideNumbers", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetReverse",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "reverse", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetRotation",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "rotationRadians", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSwipeColor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
{ Name = "a", Type = "SingleColorValue", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSwipeTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "texture", Type = "FileAsset", Nilable = false },
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
{ Name = "colorA", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetTexCoordRange",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "low", Type = "vector2", Mixin = "Vector2DMixin", Nilable = false },
|
||||
{ Name = "high", Type = "vector2", Mixin = "Vector2DMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetUseCircularEdge",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "useCircularEdge", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CooldownFrameAPI);
|
||||
@@ -0,0 +1,35 @@
|
||||
local CraftInfo =
|
||||
{
|
||||
Name = "CraftInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_CraftInfo",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "CraftClose",
|
||||
Type = "Event",
|
||||
LiteralName = "CRAFT_CLOSE",
|
||||
},
|
||||
{
|
||||
Name = "CraftShow",
|
||||
Type = "Event",
|
||||
LiteralName = "CRAFT_SHOW",
|
||||
},
|
||||
{
|
||||
Name = "CraftUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "CRAFT_UPDATE",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CraftInfo);
|
||||
@@ -0,0 +1,91 @@
|
||||
local CreatureInfo =
|
||||
{
|
||||
Name = "CreatureInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_CreatureInfo",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetClassInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "classID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "classInfo", Type = "ClassInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFactionInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "raceID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "factionInfo", Type = "FactionInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetRaceInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "raceID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "raceInfo", Type = "RaceInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ClassInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "className", Type = "string", Nilable = false },
|
||||
{ Name = "classFile", Type = "string", Nilable = false },
|
||||
{ Name = "classID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FactionInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "groupTag", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RaceInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "raceName", Type = "string", Nilable = false },
|
||||
{ Name = "clientFileString", Type = "string", Nilable = false },
|
||||
{ Name = "raceID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CreatureInfo);
|
||||
@@ -0,0 +1,131 @@
|
||||
local CurrencyConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CurrencyFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 32,
|
||||
MinValue = 1,
|
||||
MaxValue = 2147483648,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "CurrencyTradable", Type = "CurrencyFlags", EnumValue = 1 },
|
||||
{ Name = "CurrencyAppearsInLootWindow", Type = "CurrencyFlags", EnumValue = 2 },
|
||||
{ Name = "CurrencyComputedWeeklyMaximum", Type = "CurrencyFlags", EnumValue = 4 },
|
||||
{ Name = "Currency_100_Scaler", Type = "CurrencyFlags", EnumValue = 8 },
|
||||
{ Name = "CurrencyNoLowLevelDrop", Type = "CurrencyFlags", EnumValue = 16 },
|
||||
{ Name = "CurrencyIgnoreMaxQtyOnLoad", Type = "CurrencyFlags", EnumValue = 32 },
|
||||
{ Name = "CurrencyLogOnWorldChange", Type = "CurrencyFlags", EnumValue = 64 },
|
||||
{ Name = "CurrencyTrackQuantity", Type = "CurrencyFlags", EnumValue = 128 },
|
||||
{ Name = "CurrencyResetTrackedQuantity", Type = "CurrencyFlags", EnumValue = 256 },
|
||||
{ Name = "CurrencyUpdateVersionIgnoreMax", Type = "CurrencyFlags", EnumValue = 512 },
|
||||
{ Name = "CurrencySuppressChatMessageOnVersionChange", Type = "CurrencyFlags", EnumValue = 1024 },
|
||||
{ Name = "CurrencySingleDropInLoot", Type = "CurrencyFlags", EnumValue = 2048 },
|
||||
{ Name = "CurrencyHasWeeklyCatchup", Type = "CurrencyFlags", EnumValue = 4096 },
|
||||
{ Name = "CurrencyDoNotCompressChat", Type = "CurrencyFlags", EnumValue = 8192 },
|
||||
{ Name = "CurrencyDoNotLogAcquisitionToBi", Type = "CurrencyFlags", EnumValue = 16384 },
|
||||
{ Name = "CurrencyNoRaidDrop", Type = "CurrencyFlags", EnumValue = 32768 },
|
||||
{ Name = "CurrencyNotPersistent", Type = "CurrencyFlags", EnumValue = 65536 },
|
||||
{ Name = "CurrencyDeprecated", Type = "CurrencyFlags", EnumValue = 131072 },
|
||||
{ Name = "CurrencyDynamicMaximum", Type = "CurrencyFlags", EnumValue = 262144 },
|
||||
{ Name = "CurrencySuppressChatMessages", Type = "CurrencyFlags", EnumValue = 524288 },
|
||||
{ Name = "CurrencyDoNotToast", Type = "CurrencyFlags", EnumValue = 1048576 },
|
||||
{ Name = "CurrencyDestroyExtraOnLoot", Type = "CurrencyFlags", EnumValue = 2097152 },
|
||||
{ Name = "CurrencyDontShowTotalInTooltip", Type = "CurrencyFlags", EnumValue = 4194304 },
|
||||
{ Name = "CurrencyDontCoalesceInLootWindow", Type = "CurrencyFlags", EnumValue = 8388608 },
|
||||
{ Name = "CurrencyAccountWide", Type = "CurrencyFlags", EnumValue = 16777216 },
|
||||
{ Name = "CurrencyAllowOverflowMailer", Type = "CurrencyFlags", EnumValue = 33554432 },
|
||||
{ Name = "CurrencyHideAsReward", Type = "CurrencyFlags", EnumValue = 67108864 },
|
||||
{ Name = "CurrencyHasWarmodeBonus", Type = "CurrencyFlags", EnumValue = 134217728 },
|
||||
{ Name = "CurrencyIsAllianceOnly", Type = "CurrencyFlags", EnumValue = 268435456 },
|
||||
{ Name = "CurrencyIsHordeOnly", Type = "CurrencyFlags", EnumValue = 536870912 },
|
||||
{ Name = "CurrencyLimitWarmodeBonusOncePerTooltip", Type = "CurrencyFlags", EnumValue = 1073741824 },
|
||||
{ Name = "DeprecatedCurrencyFlag", Type = "CurrencyFlags", EnumValue = 2147483648 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CurrencyFlagsB",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 1,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "CurrencyBUseTotalEarnedForEarned", Type = "CurrencyFlagsB", EnumValue = 1 },
|
||||
{ Name = "CurrencyBShowQuestXPGainInTooltip", Type = "CurrencyFlagsB", EnumValue = 2 },
|
||||
{ Name = "CurrencyBNoNotificationMailOnOfflineProgress", Type = "CurrencyFlagsB", EnumValue = 4 },
|
||||
{ Name = "CurrencyBBattlenetVirtualCurrency", Type = "CurrencyFlagsB", EnumValue = 8 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CurrencyGainFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 1,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "BonusAward", Type = "CurrencyGainFlags", EnumValue = 1 },
|
||||
{ Name = "DroppedFromDeath", Type = "CurrencyGainFlags", EnumValue = 2 },
|
||||
{ Name = "FromAccountServer", Type = "CurrencyGainFlags", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CurrencyTokenCategoryFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 1,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "FlagSortLast", Type = "CurrencyTokenCategoryFlags", EnumValue = 1 },
|
||||
{ Name = "FlagPlayerItemAssignment", Type = "CurrencyTokenCategoryFlags", EnumValue = 2 },
|
||||
{ Name = "Hidden", Type = "CurrencyTokenCategoryFlags", EnumValue = 4 },
|
||||
{ Name = "Virtual", Type = "CurrencyTokenCategoryFlags", EnumValue = 8 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "LinkedCurrencyFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 1,
|
||||
MaxValue = 4,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "IgnoreAdd", Type = "LinkedCurrencyFlags", EnumValue = 1 },
|
||||
{ Name = "IgnoreSubtract", Type = "LinkedCurrencyFlags", EnumValue = 2 },
|
||||
{ Name = "SuppressChatLog", Type = "LinkedCurrencyFlags", EnumValue = 4 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayerCurrencyFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 1,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Incremented", Type = "PlayerCurrencyFlags", EnumValue = 1 },
|
||||
{ Name = "Loading", Type = "PlayerCurrencyFlags", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayerCurrencyFlagsDbFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 1,
|
||||
MaxValue = 16,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "IgnoreMaxQtyOnload", Type = "PlayerCurrencyFlagsDbFlags", EnumValue = 1 },
|
||||
{ Name = "Reuse1", Type = "PlayerCurrencyFlagsDbFlags", EnumValue = 2 },
|
||||
{ Name = "InBackpack", Type = "PlayerCurrencyFlagsDbFlags", EnumValue = 4 },
|
||||
{ Name = "UnusedInUI", Type = "PlayerCurrencyFlagsDbFlags", EnumValue = 8 },
|
||||
{ Name = "Reuse2", Type = "PlayerCurrencyFlagsDbFlags", EnumValue = 16 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CurrencyConstants);
|
||||
@@ -0,0 +1,83 @@
|
||||
local CurrencyConstants_Classic =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CurrencyDestroyReason",
|
||||
Type = "Enumeration",
|
||||
NumValues = 11,
|
||||
MinValue = 0,
|
||||
MaxValue = 10,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Cheat", Type = "CurrencyDestroyReason", EnumValue = 0 },
|
||||
{ Name = "Spell", Type = "CurrencyDestroyReason", EnumValue = 1 },
|
||||
{ Name = "VersionUpdate", Type = "CurrencyDestroyReason", EnumValue = 2 },
|
||||
{ Name = "QuestTurnin", Type = "CurrencyDestroyReason", EnumValue = 3 },
|
||||
{ Name = "Vendor", Type = "CurrencyDestroyReason", EnumValue = 4 },
|
||||
{ Name = "Trade", Type = "CurrencyDestroyReason", EnumValue = 5 },
|
||||
{ Name = "Capped", Type = "CurrencyDestroyReason", EnumValue = 6 },
|
||||
{ Name = "Garrison", Type = "CurrencyDestroyReason", EnumValue = 7 },
|
||||
{ Name = "DroppedToCorpse", Type = "CurrencyDestroyReason", EnumValue = 8 },
|
||||
{ Name = "BonusRoll", Type = "CurrencyDestroyReason", EnumValue = 9 },
|
||||
{ Name = "Last", Type = "CurrencyDestroyReason", EnumValue = 10 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CurrencySource",
|
||||
Type = "Enumeration",
|
||||
NumValues = 44,
|
||||
MinValue = 0,
|
||||
MaxValue = 43,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ConvertOldItem", Type = "CurrencySource", EnumValue = 0 },
|
||||
{ Name = "ConvertOldPvPCurrency", Type = "CurrencySource", EnumValue = 1 },
|
||||
{ Name = "ItemRefund", Type = "CurrencySource", EnumValue = 2 },
|
||||
{ Name = "QuestReward", Type = "CurrencySource", EnumValue = 3 },
|
||||
{ Name = "Cheat", Type = "CurrencySource", EnumValue = 4 },
|
||||
{ Name = "Vendor", Type = "CurrencySource", EnumValue = 5 },
|
||||
{ Name = "PvPKillCredit", Type = "CurrencySource", EnumValue = 6 },
|
||||
{ Name = "PvPMetaCredit", Type = "CurrencySource", EnumValue = 7 },
|
||||
{ Name = "PvPScriptedAward", Type = "CurrencySource", EnumValue = 8 },
|
||||
{ Name = "Loot", Type = "CurrencySource", EnumValue = 9 },
|
||||
{ Name = "UpdatingVersion", Type = "CurrencySource", EnumValue = 10 },
|
||||
{ Name = "LFGReward", Type = "CurrencySource", EnumValue = 11 },
|
||||
{ Name = "Trade", Type = "CurrencySource", EnumValue = 12 },
|
||||
{ Name = "Spell", Type = "CurrencySource", EnumValue = 13 },
|
||||
{ Name = "ItemDeletion", Type = "CurrencySource", EnumValue = 14 },
|
||||
{ Name = "RatedBattleground", Type = "CurrencySource", EnumValue = 15 },
|
||||
{ Name = "RandomBattleground", Type = "CurrencySource", EnumValue = 16 },
|
||||
{ Name = "Arena", Type = "CurrencySource", EnumValue = 17 },
|
||||
{ Name = "ExceededMaxQty", Type = "CurrencySource", EnumValue = 18 },
|
||||
{ Name = "PvPCompletionBonus", Type = "CurrencySource", EnumValue = 19 },
|
||||
{ Name = "Script", Type = "CurrencySource", EnumValue = 20 },
|
||||
{ Name = "GuildBankWithdrawal", Type = "CurrencySource", EnumValue = 21 },
|
||||
{ Name = "Pushloot", Type = "CurrencySource", EnumValue = 22 },
|
||||
{ Name = "GarrisonBuilding", Type = "CurrencySource", EnumValue = 23 },
|
||||
{ Name = "PvPDrop", Type = "CurrencySource", EnumValue = 24 },
|
||||
{ Name = "GarrisonFollowerActivation", Type = "CurrencySource", EnumValue = 25 },
|
||||
{ Name = "GarrisonBuildingRefund", Type = "CurrencySource", EnumValue = 26 },
|
||||
{ Name = "GarrisonMissionReward", Type = "CurrencySource", EnumValue = 27 },
|
||||
{ Name = "GarrisonResourceOverTime", Type = "CurrencySource", EnumValue = 28 },
|
||||
{ Name = "QuestRewardIgnoreCaps", Type = "CurrencySource", EnumValue = 29 },
|
||||
{ Name = "GarrisonTalent", Type = "CurrencySource", EnumValue = 30 },
|
||||
{ Name = "GarrisonWorldQuestBonus", Type = "CurrencySource", EnumValue = 31 },
|
||||
{ Name = "PvPHonorReward", Type = "CurrencySource", EnumValue = 32 },
|
||||
{ Name = "BonusRoll", Type = "CurrencySource", EnumValue = 33 },
|
||||
{ Name = "AzeriteRespec", Type = "CurrencySource", EnumValue = 34 },
|
||||
{ Name = "WorldQuestReward", Type = "CurrencySource", EnumValue = 35 },
|
||||
{ Name = "WorldQuestRewardIgnoreCaps", Type = "CurrencySource", EnumValue = 36 },
|
||||
{ Name = "AccountCopy", Type = "CurrencySource", EnumValue = 37 },
|
||||
{ Name = "ArenaPoints", Type = "CurrencySource", EnumValue = 38 },
|
||||
{ Name = "PvPTeamContribution", Type = "CurrencySource", EnumValue = 39 },
|
||||
{ Name = "PvPHonorQuestReward", Type = "CurrencySource", EnumValue = 40 },
|
||||
{ Name = "AuctionDeposit", Type = "CurrencySource", EnumValue = 41 },
|
||||
{ Name = "Barbershop", Type = "CurrencySource", EnumValue = 42 },
|
||||
{ Name = "Last", Type = "CurrencySource", EnumValue = 43 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CurrencyConstants_Classic);
|
||||
@@ -0,0 +1,148 @@
|
||||
local CurrencyInfo =
|
||||
{
|
||||
Name = "CurrencySystem",
|
||||
Type = "System",
|
||||
Namespace = "C_CurrencyInfo",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetBasicCurrencyInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "currencyType", Type = "number", Nilable = false },
|
||||
{ Name = "quantity", Type = "number", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "CurrencyDisplayInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrencyContainerInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "currencyType", Type = "number", Nilable = false },
|
||||
{ Name = "quantity", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "CurrencyDisplayInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrencyInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "type", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "CurrencyInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrencyInfoFromLink",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "link", Type = "string", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "CurrencyInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrencyListLink",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "link", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "CurrencyDisplayUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "CURRENCY_DISPLAY_UPDATE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "currencyType", Type = "number", Nilable = true },
|
||||
{ Name = "quantity", Type = "number", Nilable = true },
|
||||
{ Name = "quantityChange", Type = "number", Nilable = true },
|
||||
{ Name = "quantityGainSource", Type = "number", Nilable = true },
|
||||
{ Name = "quantityLostSource", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayerMoney",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYER_MONEY",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CurrencyDisplayInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "description", Type = "string", Nilable = false },
|
||||
{ Name = "icon", Type = "number", Nilable = false },
|
||||
{ Name = "quality", Type = "number", Nilable = false },
|
||||
{ Name = "displayAmount", Type = "number", Nilable = false },
|
||||
{ Name = "actualAmount", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CurrencyInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "description", Type = "cstring", Nilable = false },
|
||||
{ Name = "isHeader", Type = "bool", Nilable = false },
|
||||
{ Name = "isHeaderExpanded", Type = "bool", Nilable = false },
|
||||
{ Name = "isTypeUnused", Type = "bool", Nilable = false },
|
||||
{ Name = "isShowInBackpack", Type = "bool", Nilable = false },
|
||||
{ Name = "quantity", Type = "number", Nilable = false },
|
||||
{ Name = "trackedQuantity", Type = "number", Nilable = false },
|
||||
{ Name = "iconFileID", Type = "fileID", Nilable = false },
|
||||
{ Name = "maxQuantity", Type = "number", Nilable = false },
|
||||
{ Name = "canEarnPerWeek", Type = "bool", Nilable = false },
|
||||
{ Name = "quantityEarnedThisWeek", Type = "number", Nilable = false },
|
||||
{ Name = "isTradeable", Type = "bool", Nilable = false },
|
||||
{ Name = "quality", Type = "ItemQuality", Nilable = false },
|
||||
{ Name = "maxWeeklyQuantity", Type = "number", Nilable = false },
|
||||
{ Name = "totalEarned", Type = "number", Nilable = false },
|
||||
{ Name = "discovered", Type = "bool", Nilable = false },
|
||||
{ Name = "useTotalEarnedForMaxQty", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CurrencyInfo);
|
||||
@@ -0,0 +1,96 @@
|
||||
local CursorConst =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "CursorStyle",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Mouse", Type = "CursorStyle", EnumValue = 0 },
|
||||
{ Name = "Crosshair", Type = "CursorStyle", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Cursormode",
|
||||
Type = "Enumeration",
|
||||
NumValues = 66,
|
||||
MinValue = 0,
|
||||
MaxValue = 65,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "NoCursor", Type = "Cursormode", EnumValue = 0 },
|
||||
{ Name = "PointCursor", Type = "Cursormode", EnumValue = 1 },
|
||||
{ Name = "CastCursor", Type = "Cursormode", EnumValue = 2 },
|
||||
{ Name = "BuyCursor", Type = "Cursormode", EnumValue = 3 },
|
||||
{ Name = "AttackCursor", Type = "Cursormode", EnumValue = 4 },
|
||||
{ Name = "InteractCursor", Type = "Cursormode", EnumValue = 5 },
|
||||
{ Name = "SpeakCursor", Type = "Cursormode", EnumValue = 6 },
|
||||
{ Name = "InspectCursor", Type = "Cursormode", EnumValue = 7 },
|
||||
{ Name = "PickupCursor", Type = "Cursormode", EnumValue = 8 },
|
||||
{ Name = "TaxiCursor", Type = "Cursormode", EnumValue = 9 },
|
||||
{ Name = "TrainerCursor", Type = "Cursormode", EnumValue = 10 },
|
||||
{ Name = "MineCursor", Type = "Cursormode", EnumValue = 11 },
|
||||
{ Name = "SkinCursor", Type = "Cursormode", EnumValue = 12 },
|
||||
{ Name = "GatherCursor", Type = "Cursormode", EnumValue = 13 },
|
||||
{ Name = "LockCursor", Type = "Cursormode", EnumValue = 14 },
|
||||
{ Name = "MailCursor", Type = "Cursormode", EnumValue = 15 },
|
||||
{ Name = "LootAllCursor", Type = "Cursormode", EnumValue = 16 },
|
||||
{ Name = "RepairCursor", Type = "Cursormode", EnumValue = 17 },
|
||||
{ Name = "RepairnpcCursor", Type = "Cursormode", EnumValue = 18 },
|
||||
{ Name = "ItemCursor", Type = "Cursormode", EnumValue = 19 },
|
||||
{ Name = "SkinHordeCursor", Type = "Cursormode", EnumValue = 20 },
|
||||
{ Name = "SkinAllianceCursor", Type = "Cursormode", EnumValue = 21 },
|
||||
{ Name = "InnkeeperCursor", Type = "Cursormode", EnumValue = 22 },
|
||||
{ Name = "CampaignQuestCursor", Type = "Cursormode", EnumValue = 23 },
|
||||
{ Name = "CampaignQuestTurninCursor", Type = "Cursormode", EnumValue = 24 },
|
||||
{ Name = "QuestCursor", Type = "Cursormode", EnumValue = 25 },
|
||||
{ Name = "QuestRepeatableCursor", Type = "Cursormode", EnumValue = 26 },
|
||||
{ Name = "QuestTurninCursor", Type = "Cursormode", EnumValue = 27 },
|
||||
{ Name = "QuestLegendaryCursor", Type = "Cursormode", EnumValue = 28 },
|
||||
{ Name = "QuestLegendaryTurninCursor", Type = "Cursormode", EnumValue = 29 },
|
||||
{ Name = "VehicleCursor", Type = "Cursormode", EnumValue = 30 },
|
||||
{ Name = "MapPinCursor", Type = "Cursormode", EnumValue = 31 },
|
||||
{ Name = "UIMoveCursor", Type = "Cursormode", EnumValue = 32 },
|
||||
{ Name = "UIResizeCursor", Type = "Cursormode", EnumValue = 33 },
|
||||
{ Name = "PointErrorCursor", Type = "Cursormode", EnumValue = 34 },
|
||||
{ Name = "CastErrorCursor", Type = "Cursormode", EnumValue = 35 },
|
||||
{ Name = "BuyErrorCursor", Type = "Cursormode", EnumValue = 36 },
|
||||
{ Name = "AttackErrorCursor", Type = "Cursormode", EnumValue = 37 },
|
||||
{ Name = "InteractErrorCursor", Type = "Cursormode", EnumValue = 38 },
|
||||
{ Name = "SpeakErrorCursor", Type = "Cursormode", EnumValue = 39 },
|
||||
{ Name = "InspectErrorCursor", Type = "Cursormode", EnumValue = 40 },
|
||||
{ Name = "PickupErrorCursor", Type = "Cursormode", EnumValue = 41 },
|
||||
{ Name = "TaxiErrorCursor", Type = "Cursormode", EnumValue = 42 },
|
||||
{ Name = "TrainerErrorCursor", Type = "Cursormode", EnumValue = 43 },
|
||||
{ Name = "MineErrorCursor", Type = "Cursormode", EnumValue = 44 },
|
||||
{ Name = "SkinErrorCursor", Type = "Cursormode", EnumValue = 45 },
|
||||
{ Name = "GatherErrorCursor", Type = "Cursormode", EnumValue = 46 },
|
||||
{ Name = "LockErrorCursor", Type = "Cursormode", EnumValue = 47 },
|
||||
{ Name = "MailErrorCursor", Type = "Cursormode", EnumValue = 48 },
|
||||
{ Name = "LootAllErrorCursor", Type = "Cursormode", EnumValue = 49 },
|
||||
{ Name = "RepairErrorCursor", Type = "Cursormode", EnumValue = 50 },
|
||||
{ Name = "RepairnpcErrorCursor", Type = "Cursormode", EnumValue = 51 },
|
||||
{ Name = "ItemErrorCursor", Type = "Cursormode", EnumValue = 52 },
|
||||
{ Name = "SkinHordeErrorCursor", Type = "Cursormode", EnumValue = 53 },
|
||||
{ Name = "SkinAllianceErrorCursor", Type = "Cursormode", EnumValue = 54 },
|
||||
{ Name = "InnkeeperErrorCursor", Type = "Cursormode", EnumValue = 55 },
|
||||
{ Name = "CampaignQuestErrorCursor", Type = "Cursormode", EnumValue = 56 },
|
||||
{ Name = "CampaignQuestTurninErrorCursor", Type = "Cursormode", EnumValue = 57 },
|
||||
{ Name = "QuestErrorCursor", Type = "Cursormode", EnumValue = 58 },
|
||||
{ Name = "QuestRepeatableErrorCursor", Type = "Cursormode", EnumValue = 59 },
|
||||
{ Name = "QuestTurninErrorCursor", Type = "Cursormode", EnumValue = 60 },
|
||||
{ Name = "QuestLegendaryErrorCursor", Type = "Cursormode", EnumValue = 61 },
|
||||
{ Name = "QuestLegendaryTurninErrorCursor", Type = "Cursormode", EnumValue = 62 },
|
||||
{ Name = "VehicleErrorCursor", Type = "Cursormode", EnumValue = 63 },
|
||||
{ Name = "MapPinErrorCursor", Type = "Cursormode", EnumValue = 64 },
|
||||
{ Name = "CustomCursor", Type = "Cursormode", EnumValue = 65 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(CursorConst);
|
||||
@@ -0,0 +1,96 @@
|
||||
local Cursor =
|
||||
{
|
||||
Name = "Cursor",
|
||||
Type = "System",
|
||||
Namespace = "C_Cursor",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetCursorItem",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "item", Type = "ItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BattlePetCursorClear",
|
||||
Type = "Event",
|
||||
LiteralName = "BATTLE_PET_CURSOR_CLEAR",
|
||||
},
|
||||
{
|
||||
Name = "CursorChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "CURSOR_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "isDefault", Type = "bool", Nilable = false },
|
||||
{ Name = "newCursorType", Type = "UICursorType", Nilable = false },
|
||||
{ Name = "oldCursorType", Type = "UICursorType", Nilable = false },
|
||||
{ Name = "oldCursorVirtualID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "MountCursorClear",
|
||||
Type = "Event",
|
||||
LiteralName = "MOUNT_CURSOR_CLEAR",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "UICursorType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 21,
|
||||
MinValue = 0,
|
||||
MaxValue = 21,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Default", Type = "UICursorType", EnumValue = 0 },
|
||||
{ Name = "Item", Type = "UICursorType", EnumValue = 1 },
|
||||
{ Name = "Money", Type = "UICursorType", EnumValue = 2 },
|
||||
{ Name = "Spell", Type = "UICursorType", EnumValue = 3 },
|
||||
{ Name = "PetAction", Type = "UICursorType", EnumValue = 4 },
|
||||
{ Name = "Merchant", Type = "UICursorType", EnumValue = 5 },
|
||||
{ Name = "ActionBar", Type = "UICursorType", EnumValue = 6 },
|
||||
{ Name = "Macro", Type = "UICursorType", EnumValue = 7 },
|
||||
{ Name = "Ammo", Type = "UICursorType", EnumValue = 8 },
|
||||
{ Name = "Pet", Type = "UICursorType", EnumValue = 10 },
|
||||
{ Name = "GuildBank", Type = "UICursorType", EnumValue = 11 },
|
||||
{ Name = "GuildBankMoney", Type = "UICursorType", EnumValue = 12 },
|
||||
{ Name = "EquipmentSet", Type = "UICursorType", EnumValue = 13 },
|
||||
{ Name = "Currency", Type = "UICursorType", EnumValue = 14 },
|
||||
{ Name = "Flyout", Type = "UICursorType", EnumValue = 15 },
|
||||
{ Name = "VoidItem", Type = "UICursorType", EnumValue = 16 },
|
||||
{ Name = "BattlePet", Type = "UICursorType", EnumValue = 17 },
|
||||
{ Name = "Mount", Type = "UICursorType", EnumValue = 18 },
|
||||
{ Name = "Toy", Type = "UICursorType", EnumValue = 19 },
|
||||
{ Name = "ConduitCollectionItem", Type = "UICursorType", EnumValue = 20 },
|
||||
{ Name = "PerksProgramVendorItem", Type = "UICursorType", EnumValue = 21 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "WorldCursorAnchorType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "WorldCursorAnchorType", EnumValue = 0 },
|
||||
{ Name = "Default", Type = "WorldCursorAnchorType", EnumValue = 1 },
|
||||
{ Name = "Cursor", Type = "WorldCursorAnchorType", EnumValue = 2 },
|
||||
{ Name = "Nameplate", Type = "WorldCursorAnchorType", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Cursor);
|
||||
@@ -0,0 +1,105 @@
|
||||
local DamageConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "Damageclass",
|
||||
Type = "Enumeration",
|
||||
NumValues = 47,
|
||||
MinValue = 0,
|
||||
MaxValue = 127,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Physical", Type = "Damageclass", EnumValue = 0 },
|
||||
{ Name = "Holy", Type = "Damageclass", EnumValue = 1 },
|
||||
{ Name = "Fire", Type = "Damageclass", EnumValue = 2 },
|
||||
{ Name = "Nature", Type = "Damageclass", EnumValue = 3 },
|
||||
{ Name = "Frost", Type = "Damageclass", EnumValue = 4 },
|
||||
{ Name = "Shadow", Type = "Damageclass", EnumValue = 5 },
|
||||
{ Name = "Arcane", Type = "Damageclass", EnumValue = 6 },
|
||||
{ Name = "NumClasses", Type = "Damageclass", EnumValue = 7 },
|
||||
{ Name = "FirstResist", Type = "Damageclass", EnumValue = 2 },
|
||||
{ Name = "LastResist", Type = "Damageclass", EnumValue = 6 },
|
||||
{ Name = "MaskNone", Type = "Damageclass", EnumValue = 0 },
|
||||
{ Name = "MaskPhysical", Type = "Damageclass", EnumValue = 1 },
|
||||
{ Name = "MaskHoly", Type = "Damageclass", EnumValue = 2 },
|
||||
{ Name = "MaskFire", Type = "Damageclass", EnumValue = 4 },
|
||||
{ Name = "MaskNature", Type = "Damageclass", EnumValue = 8 },
|
||||
{ Name = "MaskFrost", Type = "Damageclass", EnumValue = 16 },
|
||||
{ Name = "MaskShadow", Type = "Damageclass", EnumValue = 32 },
|
||||
{ Name = "MaskArcane", Type = "Damageclass", EnumValue = 64 },
|
||||
{ Name = "AllPhysical", Type = "Damageclass", EnumValue = 1 },
|
||||
{ Name = "AllMagical", Type = "Damageclass", EnumValue = 126 },
|
||||
{ Name = "All", Type = "Damageclass", EnumValue = 127 },
|
||||
{ Name = "MaskFlamestrike", Type = "Damageclass", EnumValue = 5 },
|
||||
{ Name = "MaskFroststrike", Type = "Damageclass", EnumValue = 17 },
|
||||
{ Name = "MaskSpellstrike", Type = "Damageclass", EnumValue = 65 },
|
||||
{ Name = "MaskShadowstrike", Type = "Damageclass", EnumValue = 33 },
|
||||
{ Name = "MaskStormstrike", Type = "Damageclass", EnumValue = 9 },
|
||||
{ Name = "MaskHolystrike", Type = "Damageclass", EnumValue = 3 },
|
||||
{ Name = "MaskFrostfire", Type = "Damageclass", EnumValue = 20 },
|
||||
{ Name = "MaskSpellfire", Type = "Damageclass", EnumValue = 68 },
|
||||
{ Name = "MaskFirestorm", Type = "Damageclass", EnumValue = 12 },
|
||||
{ Name = "MaskShadowflame", Type = "Damageclass", EnumValue = 36 },
|
||||
{ Name = "MaskHolyfire", Type = "Damageclass", EnumValue = 6 },
|
||||
{ Name = "MaskSpellfrost", Type = "Damageclass", EnumValue = 80 },
|
||||
{ Name = "MaskFroststorm", Type = "Damageclass", EnumValue = 24 },
|
||||
{ Name = "MaskShadowfrost", Type = "Damageclass", EnumValue = 48 },
|
||||
{ Name = "MaskHolyfrost", Type = "Damageclass", EnumValue = 18 },
|
||||
{ Name = "MaskSpellstorm", Type = "Damageclass", EnumValue = 72 },
|
||||
{ Name = "MaskSpellshadow", Type = "Damageclass", EnumValue = 96 },
|
||||
{ Name = "MaskDivine", Type = "Damageclass", EnumValue = 66 },
|
||||
{ Name = "MaskShadowstorm", Type = "Damageclass", EnumValue = 40 },
|
||||
{ Name = "MaskHolystorm", Type = "Damageclass", EnumValue = 10 },
|
||||
{ Name = "MaskTwilight", Type = "Damageclass", EnumValue = 34 },
|
||||
{ Name = "MaskElemental", Type = "Damageclass", EnumValue = 28 },
|
||||
{ Name = "MaskChromatic", Type = "Damageclass", EnumValue = 62 },
|
||||
{ Name = "MaskMagical", Type = "Damageclass", EnumValue = 126 },
|
||||
{ Name = "MaskChaos", Type = "Damageclass", EnumValue = 124 },
|
||||
{ Name = "MaskCosmic", Type = "Damageclass", EnumValue = 106 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DamageclassType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Physical", Type = "DamageclassType", EnumValue = 0 },
|
||||
{ Name = "Magical", Type = "DamageclassType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EnvironmentalDamageFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 1,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "OneTime", Type = "EnvironmentalDamageFlags", EnumValue = 1 },
|
||||
{ Name = "DmgIsPct", Type = "EnvironmentalDamageFlags", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Environmentaldamagetype",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 0,
|
||||
MaxValue = 5,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Fatigue", Type = "Environmentaldamagetype", EnumValue = 0 },
|
||||
{ Name = "Drowning", Type = "Environmentaldamagetype", EnumValue = 1 },
|
||||
{ Name = "Falling", Type = "Environmentaldamagetype", EnumValue = 2 },
|
||||
{ Name = "Lava", Type = "Environmentaldamagetype", EnumValue = 3 },
|
||||
{ Name = "Slime", Type = "Environmentaldamagetype", EnumValue = 4 },
|
||||
{ Name = "Fire", Type = "Environmentaldamagetype", EnumValue = 5 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(DamageConstants);
|
||||
@@ -0,0 +1,115 @@
|
||||
local DateAndTime =
|
||||
{
|
||||
Name = "DateAndTime",
|
||||
Type = "System",
|
||||
Namespace = "C_DateAndTime",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AdjustTimeByDays",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "date", Type = "CalendarTime", Nilable = false },
|
||||
{ Name = "days", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "newDate", Type = "CalendarTime", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AdjustTimeByMinutes",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "date", Type = "CalendarTime", Nilable = false },
|
||||
{ Name = "minutes", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "newDate", Type = "CalendarTime", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CompareCalendarTime",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "lhsCalendarTime", Type = "CalendarTime", Nilable = false },
|
||||
{ Name = "rhsCalendarTime", Type = "CalendarTime", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "comparison", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCalendarTimeFromEpoch",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "epoch", Type = "BigUInteger", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "date", Type = "CalendarTime", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCurrentCalendarTime",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "date", Type = "CalendarTime", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSecondsUntilDailyReset",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "seconds", Type = "time_t", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSecondsUntilWeeklyReset",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "seconds", Type = "time_t", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetServerTimeLocal",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "serverTimeLocal", Type = "time_t", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(DateAndTime);
|
||||
@@ -0,0 +1,206 @@
|
||||
local DeathInfo =
|
||||
{
|
||||
Name = "DeathInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_DeathInfo",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetCorpseMapPosition",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "position", Type = "vector2", Mixin = "Vector2DMixin", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDeathReleasePosition",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "position", Type = "vector2", Mixin = "Vector2DMixin", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetGraveyardsForMap",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "graveyards", Type = "table", InnerType = "GraveyardMapInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSelfResurrectOptions",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "options", Type = "table", InnerType = "SelfResurrectOption", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UseSelfResurrectOption",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "optionType", Type = "SelfResurrectOptionType", Nilable = false },
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "AreaSpiritHealerInRange",
|
||||
Type = "Event",
|
||||
LiteralName = "AREA_SPIRIT_HEALER_IN_RANGE",
|
||||
},
|
||||
{
|
||||
Name = "AreaSpiritHealerOutOfRange",
|
||||
Type = "Event",
|
||||
LiteralName = "AREA_SPIRIT_HEALER_OUT_OF_RANGE",
|
||||
},
|
||||
{
|
||||
Name = "CemeteryPreferenceUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "CEMETERY_PREFERENCE_UPDATED",
|
||||
},
|
||||
{
|
||||
Name = "ConfirmXpLoss",
|
||||
Type = "Event",
|
||||
LiteralName = "CONFIRM_XP_LOSS",
|
||||
},
|
||||
{
|
||||
Name = "CorpseInInstance",
|
||||
Type = "Event",
|
||||
LiteralName = "CORPSE_IN_INSTANCE",
|
||||
},
|
||||
{
|
||||
Name = "CorpseInRange",
|
||||
Type = "Event",
|
||||
LiteralName = "CORPSE_IN_RANGE",
|
||||
},
|
||||
{
|
||||
Name = "CorpseOutOfRange",
|
||||
Type = "Event",
|
||||
LiteralName = "CORPSE_OUT_OF_RANGE",
|
||||
},
|
||||
{
|
||||
Name = "CorpsePositionUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "CORPSE_POSITION_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "PlayerAlive",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYER_ALIVE",
|
||||
},
|
||||
{
|
||||
Name = "PlayerDead",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYER_DEAD",
|
||||
},
|
||||
{
|
||||
Name = "PlayerSkinned",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYER_SKINNED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "hasFreeRepop", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayerUnghost",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYER_UNGHOST",
|
||||
},
|
||||
{
|
||||
Name = "RequestCemeteryListResponse",
|
||||
Type = "Event",
|
||||
LiteralName = "REQUEST_CEMETERY_LIST_RESPONSE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "isGossipTriggered", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ResurrectRequest",
|
||||
Type = "Event",
|
||||
LiteralName = "RESURRECT_REQUEST",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "inviter", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SelfResSpellChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "SELF_RES_SPELL_CHANGED",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "SelfResurrectOptionType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Spell", Type = "SelfResurrectOptionType", EnumValue = 0 },
|
||||
{ Name = "Item", Type = "SelfResurrectOptionType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GraveyardMapInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "areaPoiID", Type = "number", Nilable = false },
|
||||
{ Name = "position", Type = "vector2", Mixin = "Vector2DMixin", Nilable = false },
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "textureIndex", Type = "number", Nilable = false },
|
||||
{ Name = "graveyardID", Type = "number", Nilable = false },
|
||||
{ Name = "isGraveyardSelectable", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SelfResurrectOption",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "optionType", Type = "SelfResurrectOptionType", Nilable = false },
|
||||
{ Name = "id", Type = "number", Nilable = false },
|
||||
{ Name = "canUse", Type = "bool", Nilable = false },
|
||||
{ Name = "isLimited", Type = "bool", Nilable = false },
|
||||
{ Name = "priority", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(DeathInfo);
|
||||
@@ -0,0 +1,44 @@
|
||||
local DuelInfo =
|
||||
{
|
||||
Name = "DuelInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_DuelInfo",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "DuelFinished",
|
||||
Type = "Event",
|
||||
LiteralName = "DUEL_FINISHED",
|
||||
},
|
||||
{
|
||||
Name = "DuelInbounds",
|
||||
Type = "Event",
|
||||
LiteralName = "DUEL_INBOUNDS",
|
||||
},
|
||||
{
|
||||
Name = "DuelOutofbounds",
|
||||
Type = "Event",
|
||||
LiteralName = "DUEL_OUTOFBOUNDS",
|
||||
},
|
||||
{
|
||||
Name = "DuelRequested",
|
||||
Type = "Event",
|
||||
LiteralName = "DUEL_REQUESTED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "playerName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(DuelInfo);
|
||||
@@ -0,0 +1,181 @@
|
||||
local EditModeManager =
|
||||
{
|
||||
Name = "EditModeManager",
|
||||
Type = "System",
|
||||
Namespace = "C_EditMode",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ConvertLayoutInfoToString",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "layoutInfo", Type = "EditModeLayoutInfo", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "layoutInfoAsString", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ConvertStringToLayoutInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "layoutInfoAsString", Type = "string", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "layoutInfo", Type = "EditModeLayoutInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAccountSettings",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "accountSettings", Type = "table", InnerType = "EditModeSettingInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetLayouts",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "layoutInfo", Type = "EditModeLayouts", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "OnEditModeExit",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "OnLayoutAdded",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "addedLayoutIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "activateNewLayout", Type = "bool", Nilable = false },
|
||||
{ Name = "isLayoutImported", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "OnLayoutDeleted",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "deletedLayoutIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SaveLayouts",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "saveInfo", Type = "EditModeLayouts", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetAccountSetting",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "setting", Type = "EditModeAccountSetting", Nilable = false },
|
||||
{ Name = "value", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetActiveLayout",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "activeLayout", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "EditModeLayoutsUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "EDIT_MODE_LAYOUTS_UPDATED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "layoutInfo", Type = "EditModeLayouts", Nilable = false },
|
||||
{ Name = "reconcileLayouts", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "EditModeAnchorInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "point", Type = "FramePoint", Nilable = false },
|
||||
{ Name = "relativeTo", Type = "string", Nilable = false },
|
||||
{ Name = "relativePoint", Type = "FramePoint", Nilable = false },
|
||||
{ Name = "offsetX", Type = "number", Nilable = false },
|
||||
{ Name = "offsetY", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeLayoutInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "layoutName", Type = "string", Nilable = false },
|
||||
{ Name = "layoutType", Type = "EditModeLayoutType", Nilable = false },
|
||||
{ Name = "systems", Type = "table", InnerType = "EditModeSystemInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeLayouts",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "layouts", Type = "table", InnerType = "EditModeLayoutInfo", Nilable = false },
|
||||
{ Name = "activeLayout", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeSettingInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "setting", Type = "number", Nilable = false },
|
||||
{ Name = "value", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeSystemInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "system", Type = "EditModeSystem", Nilable = false },
|
||||
{ Name = "systemIndex", Type = "luaIndex", Nilable = true },
|
||||
{ Name = "anchorInfo", Type = "EditModeAnchorInfo", Nilable = false },
|
||||
{ Name = "anchorInfo2", Type = "EditModeAnchorInfo", Nilable = true },
|
||||
{ Name = "settings", Type = "table", InnerType = "EditModeSettingInfo", Nilable = false },
|
||||
{ Name = "isInDefaultPosition", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(EditModeManager);
|
||||
@@ -0,0 +1,507 @@
|
||||
local EditModeManagerShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ActionBarOrientation",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Horizontal", Type = "ActionBarOrientation", EnumValue = 0 },
|
||||
{ Name = "Vertical", Type = "ActionBarOrientation", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ActionBarVisibleSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Always", Type = "ActionBarVisibleSetting", EnumValue = 0 },
|
||||
{ Name = "InCombat", Type = "ActionBarVisibleSetting", EnumValue = 1 },
|
||||
{ Name = "OutOfCombat", Type = "ActionBarVisibleSetting", EnumValue = 2 },
|
||||
{ Name = "Hidden", Type = "ActionBarVisibleSetting", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuraFrameIconDirection",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Down", Type = "AuraFrameIconDirection", EnumValue = 0 },
|
||||
{ Name = "Up", Type = "AuraFrameIconDirection", EnumValue = 1 },
|
||||
{ Name = "Left", Type = "AuraFrameIconDirection", EnumValue = 0 },
|
||||
{ Name = "Right", Type = "AuraFrameIconDirection", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuraFrameIconWrap",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Down", Type = "AuraFrameIconWrap", EnumValue = 0 },
|
||||
{ Name = "Up", Type = "AuraFrameIconWrap", EnumValue = 1 },
|
||||
{ Name = "Left", Type = "AuraFrameIconWrap", EnumValue = 0 },
|
||||
{ Name = "Right", Type = "AuraFrameIconWrap", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AuraFrameOrientation",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Horizontal", Type = "AuraFrameOrientation", EnumValue = 0 },
|
||||
{ Name = "Vertical", Type = "AuraFrameOrientation", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BagsDirection",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Left", Type = "BagsDirection", EnumValue = 0 },
|
||||
{ Name = "Right", Type = "BagsDirection", EnumValue = 1 },
|
||||
{ Name = "Up", Type = "BagsDirection", EnumValue = 0 },
|
||||
{ Name = "Down", Type = "BagsDirection", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BagsOrientation",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Horizontal", Type = "BagsOrientation", EnumValue = 0 },
|
||||
{ Name = "Vertical", Type = "BagsOrientation", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeAccountSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 25,
|
||||
MinValue = 0,
|
||||
MaxValue = 24,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ShowGrid", Type = "EditModeAccountSetting", EnumValue = 0 },
|
||||
{ Name = "GridSpacing", Type = "EditModeAccountSetting", EnumValue = 1 },
|
||||
{ Name = "SettingsExpanded", Type = "EditModeAccountSetting", EnumValue = 2 },
|
||||
{ Name = "ShowTargetAndFocus", Type = "EditModeAccountSetting", EnumValue = 3 },
|
||||
{ Name = "ShowStanceBar", Type = "EditModeAccountSetting", EnumValue = 4 },
|
||||
{ Name = "ShowPetActionBar", Type = "EditModeAccountSetting", EnumValue = 5 },
|
||||
{ Name = "ShowPossessActionBar", Type = "EditModeAccountSetting", EnumValue = 6 },
|
||||
{ Name = "ShowCastBar", Type = "EditModeAccountSetting", EnumValue = 7 },
|
||||
{ Name = "ShowEncounterBar", Type = "EditModeAccountSetting", EnumValue = 8 },
|
||||
{ Name = "ShowExtraAbilities", Type = "EditModeAccountSetting", EnumValue = 9 },
|
||||
{ Name = "ShowBuffsAndDebuffs", Type = "EditModeAccountSetting", EnumValue = 10 },
|
||||
{ Name = "DeprecatedShowDebuffFrame", Type = "EditModeAccountSetting", EnumValue = 11 },
|
||||
{ Name = "ShowPartyFrames", Type = "EditModeAccountSetting", EnumValue = 12 },
|
||||
{ Name = "ShowRaidFrames", Type = "EditModeAccountSetting", EnumValue = 13 },
|
||||
{ Name = "ShowTalkingHeadFrame", Type = "EditModeAccountSetting", EnumValue = 14 },
|
||||
{ Name = "ShowVehicleLeaveButton", Type = "EditModeAccountSetting", EnumValue = 15 },
|
||||
{ Name = "ShowBossFrames", Type = "EditModeAccountSetting", EnumValue = 16 },
|
||||
{ Name = "ShowArenaFrames", Type = "EditModeAccountSetting", EnumValue = 17 },
|
||||
{ Name = "ShowLootFrame", Type = "EditModeAccountSetting", EnumValue = 18 },
|
||||
{ Name = "ShowHudTooltip", Type = "EditModeAccountSetting", EnumValue = 19 },
|
||||
{ Name = "ShowStatusTrackingBar2", Type = "EditModeAccountSetting", EnumValue = 20 },
|
||||
{ Name = "ShowDurabilityFrame", Type = "EditModeAccountSetting", EnumValue = 21 },
|
||||
{ Name = "EnableSnap", Type = "EditModeAccountSetting", EnumValue = 22 },
|
||||
{ Name = "EnableAdvancedOptions", Type = "EditModeAccountSetting", EnumValue = 23 },
|
||||
{ Name = "ShowPetFrame", Type = "EditModeAccountSetting", EnumValue = 24 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeActionBarSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 10,
|
||||
MinValue = 0,
|
||||
MaxValue = 9,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Orientation", Type = "EditModeActionBarSetting", EnumValue = 0 },
|
||||
{ Name = "NumRows", Type = "EditModeActionBarSetting", EnumValue = 1 },
|
||||
{ Name = "NumIcons", Type = "EditModeActionBarSetting", EnumValue = 2 },
|
||||
{ Name = "IconSize", Type = "EditModeActionBarSetting", EnumValue = 3 },
|
||||
{ Name = "IconPadding", Type = "EditModeActionBarSetting", EnumValue = 4 },
|
||||
{ Name = "VisibleSetting", Type = "EditModeActionBarSetting", EnumValue = 5 },
|
||||
{ Name = "HideBarArt", Type = "EditModeActionBarSetting", EnumValue = 6 },
|
||||
{ Name = "DeprecatedSnapToSide", Type = "EditModeActionBarSetting", EnumValue = 7 },
|
||||
{ Name = "HideBarScrolling", Type = "EditModeActionBarSetting", EnumValue = 8 },
|
||||
{ Name = "AlwaysShowButtons", Type = "EditModeActionBarSetting", EnumValue = 9 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeActionBarSystemIndices",
|
||||
Type = "Enumeration",
|
||||
NumValues = 11,
|
||||
MinValue = 1,
|
||||
MaxValue = 13,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "MainBar", Type = "EditModeActionBarSystemIndices", EnumValue = 1 },
|
||||
{ Name = "Bar2", Type = "EditModeActionBarSystemIndices", EnumValue = 2 },
|
||||
{ Name = "Bar3", Type = "EditModeActionBarSystemIndices", EnumValue = 3 },
|
||||
{ Name = "RightBar1", Type = "EditModeActionBarSystemIndices", EnumValue = 4 },
|
||||
{ Name = "RightBar2", Type = "EditModeActionBarSystemIndices", EnumValue = 5 },
|
||||
{ Name = "ExtraBar1", Type = "EditModeActionBarSystemIndices", EnumValue = 6 },
|
||||
{ Name = "ExtraBar2", Type = "EditModeActionBarSystemIndices", EnumValue = 7 },
|
||||
{ Name = "ExtraBar3", Type = "EditModeActionBarSystemIndices", EnumValue = 8 },
|
||||
{ Name = "StanceBar", Type = "EditModeActionBarSystemIndices", EnumValue = 11 },
|
||||
{ Name = "PetActionBar", Type = "EditModeActionBarSystemIndices", EnumValue = 12 },
|
||||
{ Name = "PossessActionBar", Type = "EditModeActionBarSystemIndices", EnumValue = 13 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeAuraFrameSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 0,
|
||||
MaxValue = 7,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Orientation", Type = "EditModeAuraFrameSetting", EnumValue = 0 },
|
||||
{ Name = "IconWrap", Type = "EditModeAuraFrameSetting", EnumValue = 1 },
|
||||
{ Name = "IconDirection", Type = "EditModeAuraFrameSetting", EnumValue = 2 },
|
||||
{ Name = "IconLimitBuffFrame", Type = "EditModeAuraFrameSetting", EnumValue = 3 },
|
||||
{ Name = "IconLimitDebuffFrame", Type = "EditModeAuraFrameSetting", EnumValue = 4 },
|
||||
{ Name = "IconSize", Type = "EditModeAuraFrameSetting", EnumValue = 5 },
|
||||
{ Name = "IconPadding", Type = "EditModeAuraFrameSetting", EnumValue = 6 },
|
||||
{ Name = "DeprecatedShowFull", Type = "EditModeAuraFrameSetting", EnumValue = 7 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeAuraFrameSystemIndices",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 1,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "BuffFrame", Type = "EditModeAuraFrameSystemIndices", EnumValue = 1 },
|
||||
{ Name = "DebuffFrame", Type = "EditModeAuraFrameSystemIndices", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeBagsSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Orientation", Type = "EditModeBagsSetting", EnumValue = 0 },
|
||||
{ Name = "Direction", Type = "EditModeBagsSetting", EnumValue = 1 },
|
||||
{ Name = "Size", Type = "EditModeBagsSetting", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeCastBarSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "BarSize", Type = "EditModeCastBarSetting", EnumValue = 0 },
|
||||
{ Name = "LockToPlayerFrame", Type = "EditModeCastBarSetting", EnumValue = 1 },
|
||||
{ Name = "ShowCastTime", Type = "EditModeCastBarSetting", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeChatFrameSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "WidthHundreds", Type = "EditModeChatFrameSetting", EnumValue = 0 },
|
||||
{ Name = "WidthTensAndOnes", Type = "EditModeChatFrameSetting", EnumValue = 1 },
|
||||
{ Name = "HeightHundreds", Type = "EditModeChatFrameSetting", EnumValue = 2 },
|
||||
{ Name = "HeightTensAndOnes", Type = "EditModeChatFrameSetting", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeDurabilityFrameSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 1,
|
||||
MinValue = 0,
|
||||
MaxValue = 0,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Size", Type = "EditModeDurabilityFrameSetting", EnumValue = 0 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeLayoutType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Preset", Type = "EditModeLayoutType", EnumValue = 0 },
|
||||
{ Name = "Account", Type = "EditModeLayoutType", EnumValue = 1 },
|
||||
{ Name = "Character", Type = "EditModeLayoutType", EnumValue = 2 },
|
||||
{ Name = "Override", Type = "EditModeLayoutType", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeMicroMenuSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Orientation", Type = "EditModeMicroMenuSetting", EnumValue = 0 },
|
||||
{ Name = "Order", Type = "EditModeMicroMenuSetting", EnumValue = 1 },
|
||||
{ Name = "Size", Type = "EditModeMicroMenuSetting", EnumValue = 2 },
|
||||
{ Name = "EyeSize", Type = "EditModeMicroMenuSetting", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeMinimapSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "HeaderUnderneath", Type = "EditModeMinimapSetting", EnumValue = 0 },
|
||||
{ Name = "RotateMinimap", Type = "EditModeMinimapSetting", EnumValue = 1 },
|
||||
{ Name = "Size", Type = "EditModeMinimapSetting", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeObjectiveTrackerSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Height", Type = "EditModeObjectiveTrackerSetting", EnumValue = 0 },
|
||||
{ Name = "Opacity", Type = "EditModeObjectiveTrackerSetting", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModePresetLayouts",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Modern", Type = "EditModePresetLayouts", EnumValue = 0 },
|
||||
{ Name = "Classic", Type = "EditModePresetLayouts", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeSettingDisplayType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Dropdown", Type = "EditModeSettingDisplayType", EnumValue = 0 },
|
||||
{ Name = "Checkbox", Type = "EditModeSettingDisplayType", EnumValue = 1 },
|
||||
{ Name = "Slider", Type = "EditModeSettingDisplayType", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeStatusTrackingBarSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Height", Type = "EditModeStatusTrackingBarSetting", EnumValue = 0 },
|
||||
{ Name = "Width", Type = "EditModeStatusTrackingBarSetting", EnumValue = 1 },
|
||||
{ Name = "TextSize", Type = "EditModeStatusTrackingBarSetting", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeStatusTrackingBarSystemIndices",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 1,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "StatusTrackingBar1", Type = "EditModeStatusTrackingBarSystemIndices", EnumValue = 1 },
|
||||
{ Name = "StatusTrackingBar2", Type = "EditModeStatusTrackingBarSystemIndices", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeSystem",
|
||||
Type = "Enumeration",
|
||||
NumValues = 17,
|
||||
MinValue = 0,
|
||||
MaxValue = 16,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "ActionBar", Type = "EditModeSystem", EnumValue = 0 },
|
||||
{ Name = "CastBar", Type = "EditModeSystem", EnumValue = 1 },
|
||||
{ Name = "Minimap", Type = "EditModeSystem", EnumValue = 2 },
|
||||
{ Name = "UnitFrame", Type = "EditModeSystem", EnumValue = 3 },
|
||||
{ Name = "EncounterBar", Type = "EditModeSystem", EnumValue = 4 },
|
||||
{ Name = "ExtraAbilities", Type = "EditModeSystem", EnumValue = 5 },
|
||||
{ Name = "AuraFrame", Type = "EditModeSystem", EnumValue = 6 },
|
||||
{ Name = "TalkingHeadFrame", Type = "EditModeSystem", EnumValue = 7 },
|
||||
{ Name = "ChatFrame", Type = "EditModeSystem", EnumValue = 8 },
|
||||
{ Name = "VehicleLeaveButton", Type = "EditModeSystem", EnumValue = 9 },
|
||||
{ Name = "LootFrame", Type = "EditModeSystem", EnumValue = 10 },
|
||||
{ Name = "HudTooltip", Type = "EditModeSystem", EnumValue = 11 },
|
||||
{ Name = "ObjectiveTracker", Type = "EditModeSystem", EnumValue = 12 },
|
||||
{ Name = "MicroMenu", Type = "EditModeSystem", EnumValue = 13 },
|
||||
{ Name = "Bags", Type = "EditModeSystem", EnumValue = 14 },
|
||||
{ Name = "StatusTrackingBar", Type = "EditModeSystem", EnumValue = 15 },
|
||||
{ Name = "DurabilityFrame", Type = "EditModeSystem", EnumValue = 16 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeUnitFrameSetting",
|
||||
Type = "Enumeration",
|
||||
NumValues = 17,
|
||||
MinValue = 0,
|
||||
MaxValue = 16,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "HidePortrait", Type = "EditModeUnitFrameSetting", EnumValue = 0 },
|
||||
{ Name = "CastBarUnderneath", Type = "EditModeUnitFrameSetting", EnumValue = 1 },
|
||||
{ Name = "BuffsOnTop", Type = "EditModeUnitFrameSetting", EnumValue = 2 },
|
||||
{ Name = "UseLargerFrame", Type = "EditModeUnitFrameSetting", EnumValue = 3 },
|
||||
{ Name = "UseRaidStylePartyFrames", Type = "EditModeUnitFrameSetting", EnumValue = 4 },
|
||||
{ Name = "ShowPartyFrameBackground", Type = "EditModeUnitFrameSetting", EnumValue = 5 },
|
||||
{ Name = "UseHorizontalGroups", Type = "EditModeUnitFrameSetting", EnumValue = 6 },
|
||||
{ Name = "CastBarOnSide", Type = "EditModeUnitFrameSetting", EnumValue = 7 },
|
||||
{ Name = "ShowCastTime", Type = "EditModeUnitFrameSetting", EnumValue = 8 },
|
||||
{ Name = "ViewRaidSize", Type = "EditModeUnitFrameSetting", EnumValue = 9 },
|
||||
{ Name = "FrameWidth", Type = "EditModeUnitFrameSetting", EnumValue = 10 },
|
||||
{ Name = "FrameHeight", Type = "EditModeUnitFrameSetting", EnumValue = 11 },
|
||||
{ Name = "DisplayBorder", Type = "EditModeUnitFrameSetting", EnumValue = 12 },
|
||||
{ Name = "RaidGroupDisplayType", Type = "EditModeUnitFrameSetting", EnumValue = 13 },
|
||||
{ Name = "SortPlayersBy", Type = "EditModeUnitFrameSetting", EnumValue = 14 },
|
||||
{ Name = "RowSize", Type = "EditModeUnitFrameSetting", EnumValue = 15 },
|
||||
{ Name = "FrameSize", Type = "EditModeUnitFrameSetting", EnumValue = 16 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeUnitFrameSystemIndices",
|
||||
Type = "Enumeration",
|
||||
NumValues = 8,
|
||||
MinValue = 1,
|
||||
MaxValue = 8,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Player", Type = "EditModeUnitFrameSystemIndices", EnumValue = 1 },
|
||||
{ Name = "Target", Type = "EditModeUnitFrameSystemIndices", EnumValue = 2 },
|
||||
{ Name = "Focus", Type = "EditModeUnitFrameSystemIndices", EnumValue = 3 },
|
||||
{ Name = "Party", Type = "EditModeUnitFrameSystemIndices", EnumValue = 4 },
|
||||
{ Name = "Raid", Type = "EditModeUnitFrameSystemIndices", EnumValue = 5 },
|
||||
{ Name = "Boss", Type = "EditModeUnitFrameSystemIndices", EnumValue = 6 },
|
||||
{ Name = "Arena", Type = "EditModeUnitFrameSystemIndices", EnumValue = 7 },
|
||||
{ Name = "Pet", Type = "EditModeUnitFrameSystemIndices", EnumValue = 8 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "MicroMenuOrder",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Default", Type = "MicroMenuOrder", EnumValue = 0 },
|
||||
{ Name = "Reverse", Type = "MicroMenuOrder", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "MicroMenuOrientation",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Horizontal", Type = "MicroMenuOrientation", EnumValue = 0 },
|
||||
{ Name = "Vertical", Type = "MicroMenuOrientation", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RaidGroupDisplayType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "SeparateGroupsVertical", Type = "RaidGroupDisplayType", EnumValue = 0 },
|
||||
{ Name = "SeparateGroupsHorizontal", Type = "RaidGroupDisplayType", EnumValue = 1 },
|
||||
{ Name = "CombineGroupsVertical", Type = "RaidGroupDisplayType", EnumValue = 2 },
|
||||
{ Name = "CombineGroupsHorizontal", Type = "RaidGroupDisplayType", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SortPlayersBy",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Role", Type = "SortPlayersBy", EnumValue = 0 },
|
||||
{ Name = "Group", Type = "SortPlayersBy", EnumValue = 1 },
|
||||
{ Name = "Alphabetical", Type = "SortPlayersBy", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ViewRaidSize",
|
||||
Type = "Enumeration",
|
||||
NumValues = 3,
|
||||
MinValue = 0,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Ten", Type = "ViewRaidSize", EnumValue = 0 },
|
||||
{ Name = "TwentyFive", Type = "ViewRaidSize", EnumValue = 1 },
|
||||
{ Name = "Forty", Type = "ViewRaidSize", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EditModeConsts",
|
||||
Type = "Constants",
|
||||
Values =
|
||||
{
|
||||
{ Name = "EditModeDefaultGridSpacing", Type = "number", Value = 100 },
|
||||
{ Name = "EditModeMinGridSpacing", Type = "number", Value = 20 },
|
||||
{ Name = "EditModeMaxGridSpacing", Type = "number", Value = 300 },
|
||||
{ Name = "EditModeMaxLayoutsPerType", Type = "number", Value = 5 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(EditModeManagerShared);
|
||||
@@ -0,0 +1,90 @@
|
||||
local EncounterInfo =
|
||||
{
|
||||
Name = "EncounterInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_EncounterInfo",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BossKill",
|
||||
Type = "Event",
|
||||
LiteralName = "BOSS_KILL",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "encounterID", Type = "number", Nilable = false },
|
||||
{ Name = "encounterName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DisableLowLevelRaid",
|
||||
Type = "Event",
|
||||
LiteralName = "DISABLE_LOW_LEVEL_RAID",
|
||||
},
|
||||
{
|
||||
Name = "EnableLowLevelRaid",
|
||||
Type = "Event",
|
||||
LiteralName = "ENABLE_LOW_LEVEL_RAID",
|
||||
},
|
||||
{
|
||||
Name = "EncounterEnd",
|
||||
Type = "Event",
|
||||
LiteralName = "ENCOUNTER_END",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "encounterID", Type = "number", Nilable = false },
|
||||
{ Name = "encounterName", Type = "cstring", Nilable = false },
|
||||
{ Name = "difficultyID", Type = "number", Nilable = false },
|
||||
{ Name = "groupSize", Type = "number", Nilable = false },
|
||||
{ Name = "success", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EncounterStart",
|
||||
Type = "Event",
|
||||
LiteralName = "ENCOUNTER_START",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "encounterID", Type = "number", Nilable = false },
|
||||
{ Name = "encounterName", Type = "cstring", Nilable = false },
|
||||
{ Name = "difficultyID", Type = "number", Nilable = false },
|
||||
{ Name = "groupSize", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "InstanceLockStart",
|
||||
Type = "Event",
|
||||
LiteralName = "INSTANCE_LOCK_START",
|
||||
},
|
||||
{
|
||||
Name = "InstanceLockStop",
|
||||
Type = "Event",
|
||||
LiteralName = "INSTANCE_LOCK_STOP",
|
||||
},
|
||||
{
|
||||
Name = "InstanceLockWarning",
|
||||
Type = "Event",
|
||||
LiteralName = "INSTANCE_LOCK_WARNING",
|
||||
},
|
||||
{
|
||||
Name = "RaidTargetUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "RAID_TARGET_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "UpdateInstanceInfo",
|
||||
Type = "Event",
|
||||
LiteralName = "UPDATE_INSTANCE_INFO",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(EncounterInfo);
|
||||
@@ -0,0 +1,126 @@
|
||||
local EncounterJournalConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "JournalEncounterFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 1,
|
||||
MaxValue = 32,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Obsolete", Type = "JournalEncounterFlags", EnumValue = 1 },
|
||||
{ Name = "LimitDifficulties", Type = "JournalEncounterFlags", EnumValue = 2 },
|
||||
{ Name = "AllianceOnly", Type = "JournalEncounterFlags", EnumValue = 4 },
|
||||
{ Name = "HordeOnly", Type = "JournalEncounterFlags", EnumValue = 8 },
|
||||
{ Name = "NoMap", Type = "JournalEncounterFlags", EnumValue = 16 },
|
||||
{ Name = "InternalOnly", Type = "JournalEncounterFlags", EnumValue = 32 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "JournalEncounterIconFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 14,
|
||||
MinValue = 1,
|
||||
MaxValue = 8192,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Tank", Type = "JournalEncounterIconFlags", EnumValue = 1 },
|
||||
{ Name = "Dps", Type = "JournalEncounterIconFlags", EnumValue = 2 },
|
||||
{ Name = "Healer", Type = "JournalEncounterIconFlags", EnumValue = 4 },
|
||||
{ Name = "Heroic", Type = "JournalEncounterIconFlags", EnumValue = 8 },
|
||||
{ Name = "Deadly", Type = "JournalEncounterIconFlags", EnumValue = 16 },
|
||||
{ Name = "Important", Type = "JournalEncounterIconFlags", EnumValue = 32 },
|
||||
{ Name = "Interruptible", Type = "JournalEncounterIconFlags", EnumValue = 64 },
|
||||
{ Name = "Magic", Type = "JournalEncounterIconFlags", EnumValue = 128 },
|
||||
{ Name = "Curse", Type = "JournalEncounterIconFlags", EnumValue = 256 },
|
||||
{ Name = "Poison", Type = "JournalEncounterIconFlags", EnumValue = 512 },
|
||||
{ Name = "Disease", Type = "JournalEncounterIconFlags", EnumValue = 1024 },
|
||||
{ Name = "Enrage", Type = "JournalEncounterIconFlags", EnumValue = 2048 },
|
||||
{ Name = "Mythic", Type = "JournalEncounterIconFlags", EnumValue = 4096 },
|
||||
{ Name = "Bleed", Type = "JournalEncounterIconFlags", EnumValue = 8192 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "JournalEncounterItemFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 1,
|
||||
MaxValue = 16,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Obsolete", Type = "JournalEncounterItemFlags", EnumValue = 1 },
|
||||
{ Name = "LimitDifficulties", Type = "JournalEncounterItemFlags", EnumValue = 2 },
|
||||
{ Name = "DisplayAsPerPlayerLoot", Type = "JournalEncounterItemFlags", EnumValue = 4 },
|
||||
{ Name = "DisplayAsVeryRare", Type = "JournalEncounterItemFlags", EnumValue = 8 },
|
||||
{ Name = "DisplayAsExtremelyRare", Type = "JournalEncounterItemFlags", EnumValue = 16 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "JournalEncounterLocFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 1,
|
||||
MinValue = 1,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Primary", Type = "JournalEncounterLocFlags", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "JournalEncounterSecTypes",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Generic", Type = "JournalEncounterSecTypes", EnumValue = 0 },
|
||||
{ Name = "Creature", Type = "JournalEncounterSecTypes", EnumValue = 1 },
|
||||
{ Name = "Ability", Type = "JournalEncounterSecTypes", EnumValue = 2 },
|
||||
{ Name = "Overview", Type = "JournalEncounterSecTypes", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "JournalEncounterSectionFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 1,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "StartExpanded", Type = "JournalEncounterSectionFlags", EnumValue = 1 },
|
||||
{ Name = "LimitDifficulties", Type = "JournalEncounterSectionFlags", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "JournalInstanceFlags",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 1,
|
||||
MaxValue = 2,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Timewalker", Type = "JournalInstanceFlags", EnumValue = 1 },
|
||||
{ Name = "HideUserSelectableDifficulty", Type = "JournalInstanceFlags", EnumValue = 2 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "JournalLinkTypes",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 0,
|
||||
MaxValue = 3,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Instance", Type = "JournalLinkTypes", EnumValue = 0 },
|
||||
{ Name = "Encounter", Type = "JournalLinkTypes", EnumValue = 1 },
|
||||
{ Name = "Section", Type = "JournalLinkTypes", EnumValue = 2 },
|
||||
{ Name = "Tier", Type = "JournalLinkTypes", EnumValue = 3 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(EncounterJournalConstants);
|
||||
@@ -0,0 +1,310 @@
|
||||
local EquipmentManager =
|
||||
{
|
||||
Name = "EquipmentSet",
|
||||
Type = "System",
|
||||
Namespace = "C_EquipmentSet",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AssignSpecToEquipmentSet",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
{ Name = "specIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanUseEquipmentSets",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canUseEquipmentSets", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClearIgnoredSlotsForSave",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "CreateEquipmentSet",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetName", Type = "cstring", Nilable = false },
|
||||
{ Name = "icon", Type = "cstring", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DeleteEquipmentSet",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EquipmentSetContainsLockedItems",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasLockedItems", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEquipmentSetAssignedSpec",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "specIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEquipmentSetForSpec",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "specIndex", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEquipmentSetID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEquipmentSetIDs",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "equipmentSetIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEquipmentSetInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "iconFileID", Type = "number", Nilable = false },
|
||||
{ Name = "setID", Type = "number", Nilable = false },
|
||||
{ Name = "isEquipped", Type = "bool", Nilable = false },
|
||||
{ Name = "numItems", Type = "number", Nilable = false },
|
||||
{ Name = "numEquipped", Type = "number", Nilable = false },
|
||||
{ Name = "numInInventory", Type = "number", Nilable = false },
|
||||
{ Name = "numLost", Type = "number", Nilable = false },
|
||||
{ Name = "numIgnored", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetIgnoredSlots",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "slotIgnored", Type = "table", InnerType = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetItemIDs",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "itemIDs", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetItemLocations",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "locations", Type = "table", InnerType = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumEquipmentSets",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numEquipmentSets", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IgnoreSlotForSave",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "slot", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsSlotIgnoredForSave",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "slot", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isSlotIgnored", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ModifyEquipmentSet",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
{ Name = "newName", Type = "cstring", Nilable = false },
|
||||
{ Name = "newIcon", Type = "cstring", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PickupEquipmentSet",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SaveEquipmentSet",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
{ Name = "icon", Type = "cstring", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UnassignEquipmentSetSpec",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UnignoreSlotForSave",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "slot", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UseEquipmentSet",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "equipmentSetID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "setWasEquipped", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "EquipmentSetsChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "EQUIPMENT_SETS_CHANGED",
|
||||
},
|
||||
{
|
||||
Name = "EquipmentSwapFinished",
|
||||
Type = "Event",
|
||||
LiteralName = "EQUIPMENT_SWAP_FINISHED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "result", Type = "bool", Nilable = false },
|
||||
{ Name = "setID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "EquipmentSwapPending",
|
||||
Type = "Event",
|
||||
LiteralName = "EQUIPMENT_SWAP_PENDING",
|
||||
},
|
||||
{
|
||||
Name = "TransmogOutfitsChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "TRANSMOG_OUTFITS_CHANGED",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(EquipmentManager);
|
||||
@@ -0,0 +1,43 @@
|
||||
local EventUtils =
|
||||
{
|
||||
Name = "EventUtils",
|
||||
Type = "System",
|
||||
Namespace = "C_EventUtils",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "IsEventValid",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "eventName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "valid", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "NotifySettingsLoaded",
|
||||
Type = "Function",
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "SettingsLoaded",
|
||||
Type = "Event",
|
||||
LiteralName = "SETTINGS_LOADED",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(EventUtils);
|
||||
@@ -0,0 +1,196 @@
|
||||
local Expansion =
|
||||
{
|
||||
Name = "Expansion",
|
||||
Type = "System",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CanUpgradeExpansion",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canUpgradeExpansion", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DoesCurrentLocaleSellExpansionLevels",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "regionSellsExpansions", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAccountExpansionLevel",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "expansionLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetClientDisplayExpansionLevel",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "expansionLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetExpansionDisplayInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "expansionLevel", Type = "number", Nilable = false },
|
||||
{ Name = "desiredReleaseType", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "ExpansionDisplayInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetExpansionLevel",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "expansionLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetExpansionTrialInfo",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isExpansionTrialAccount", Type = "bool", Nilable = false },
|
||||
{ Name = "expansionTrialRemainingSeconds", Type = "time_t", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMaxLevelForExpansionLevel",
|
||||
Type = "Function",
|
||||
Documentation = { "Maps an expansion level to a maximum character level for that expansion." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "expansionLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "maxLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMaximumExpansionLevel",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "expansionLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMinimumExpansionLevel",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "expansionLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumExpansions",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numExpansions", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetServerExpansionLevel",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "serverExpansionLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsExpansionTrial",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isExpansionTrialAccount", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsTrialAccount",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isTrialAccount", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsVeteranTrialAccount",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isVeteranTrialAccount", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "MaxExpansionLevelUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "MAX_EXPANSION_LEVEL_UPDATED",
|
||||
},
|
||||
{
|
||||
Name = "MinExpansionLevelUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "MIN_EXPANSION_LEVEL_UPDATED",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ExpansionDisplayInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "logo", Type = "fileID", Nilable = false },
|
||||
{ Name = "banner", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "features", Type = "table", InnerType = "ExpansionDisplayInfoFeature", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ExpansionDisplayInfoFeature",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "icon", Type = "fileID", Nilable = false },
|
||||
{ Name = "text", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Expansion);
|
||||
@@ -0,0 +1,20 @@
|
||||
local ExpansionLandingPageConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ExpansionLandingPageType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "None", Type = "ExpansionLandingPageType", EnumValue = 0 },
|
||||
{ Name = "Dragonflight", Type = "ExpansionLandingPageType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(ExpansionLandingPageConstants);
|
||||
@@ -0,0 +1,31 @@
|
||||
local FogOfWar =
|
||||
{
|
||||
Name = "FogOfWar",
|
||||
Type = "System",
|
||||
Namespace = "C_FogOfWar",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "FogOfWarInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "fogOfWarID", Type = "number", Nilable = false },
|
||||
{ Name = "backgroundAtlas", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "maskAtlas", Type = "textureAtlas", Nilable = false },
|
||||
{ Name = "maskScalar", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FogOfWar);
|
||||
@@ -0,0 +1,40 @@
|
||||
local Font =
|
||||
{
|
||||
Name = "Font",
|
||||
Type = "System",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "FontScriptInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "color", Type = "colorRGBA", Mixin = "ColorMixin", Nilable = false },
|
||||
{ Name = "height", Type = "number", Nilable = false },
|
||||
{ Name = "outline", Type = "cstring", Nilable = false },
|
||||
{ Name = "shadow", Type = "FontScriptShadowInfo", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FontScriptShadowInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "color", Type = "colorRGBA", Mixin = "ColorMixin", Nilable = false },
|
||||
{ Name = "x", Type = "number", Nilable = false },
|
||||
{ Name = "y", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Font);
|
||||
@@ -0,0 +1,265 @@
|
||||
local FrameAPICharacterModelBase =
|
||||
{
|
||||
Name = "FrameAPICharacterModelBase",
|
||||
Type = "ScriptObject",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ApplySpellVisualKit",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "spellVisualKitID", Type = "number", Nilable = false },
|
||||
{ Name = "oneShot", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CanSetUnit",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "unit", Type = "UnitToken", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FreezeAnimation",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "anim", Type = "AnimationDataEnum", Nilable = false },
|
||||
{ Name = "variation", Type = "number", Nilable = false },
|
||||
{ Name = "frame", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDisplayInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "displayID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDoBlend",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "doBlend", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetKeepModelOnHide",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "keepModelOnHide", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "HasAnimation",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "anim", Type = "AnimationDataEnum", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasAnimation", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "PlayAnimKit",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "animKit", Type = "number", Nilable = false },
|
||||
{ Name = "loop", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RefreshCamera",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RefreshUnit",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetAnimation",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "anim", Type = "AnimationDataEnum", Nilable = false },
|
||||
{ Name = "variation", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetBarberShopAlternateForm",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCamDistanceScale",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "scale", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCreature",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "creatureID", Type = "number", Nilable = false },
|
||||
{ Name = "displayID", Type = "number", Nilable = false, Default = 0 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetDisplayInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "displayID", Type = "number", Nilable = false },
|
||||
{ Name = "mountDisplayID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetDoBlend",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "doBlend", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetItem",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
{ Name = "appearanceModID", Type = "number", Nilable = true },
|
||||
{ Name = "itemVisualID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetItemAppearance",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemAppearanceID", Type = "number", Nilable = false },
|
||||
{ Name = "itemVisualID", Type = "number", Nilable = true },
|
||||
{ Name = "itemSubclass", Type = "ItemWeaponSubclass", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetKeepModelOnHide",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "keepModelOnHide", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetPortraitZoom",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "zoom", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetRotation",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "radians", Type = "number", Nilable = false },
|
||||
{ Name = "animate", Type = "bool", Nilable = false, Default = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetUnit",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "unit", Type = "UnitToken", Nilable = false },
|
||||
{ Name = "blend", Type = "bool", Nilable = false, Default = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "success", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "StopAnimKit",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ZeroCachedCenterXY",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameAPICharacterModelBase);
|
||||
@@ -0,0 +1,185 @@
|
||||
local FrameAPICinematicModel =
|
||||
{
|
||||
Name = "FrameAPICinematicModel",
|
||||
Type = "ScriptObject",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "EquipItem",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "itemID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "InitializeCamera",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "scaleFactor", Type = "number", Nilable = false, Default = 0 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "InitializePanCamera",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "scaleFactor", Type = "number", Nilable = false, Default = 0 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RefreshCamera",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetAnimOffset",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "offset", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraPosition",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "position", Type = "vector3", Mixin = "Vector3DMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraTarget",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "position", Type = "vector3", Mixin = "Vector3DMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCreatureData",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "creatureID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFacingLeft",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "isFacingLeft", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFadeTimes",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "fadeInSeconds", Type = "number", Nilable = false },
|
||||
{ Name = "fadeOutSeconds", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetHeightFactor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "factor", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetJumpInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "jumpLength", Type = "number", Nilable = false },
|
||||
{ Name = "jumpHeight", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetPanDistance",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "scale", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSpellVisualKit",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "visualKitID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetTargetDistance",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "scale", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "StartPan",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "panType", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "durationSeconds", Type = "number", Nilable = false },
|
||||
{ Name = "doFade", Type = "bool", Nilable = false, Default = false },
|
||||
{ Name = "visKitID", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "startPositionScale", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "speedMultiplier", Type = "number", Nilable = false, Default = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "StopPan",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UnequipItems",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameAPICinematicModel);
|
||||
@@ -0,0 +1,359 @@
|
||||
local FrameAPICooldown =
|
||||
{
|
||||
Name = "FrameAPICooldown",
|
||||
Type = "ScriptObject",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "Clear",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCooldownDisplayDuration",
|
||||
Type = "Function",
|
||||
Documentation = { "The returned duration unit is milliseconds, unaffected by modRate." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCooldownDuration",
|
||||
Type = "Function",
|
||||
Documentation = { "The returned duration unit is milliseconds and is multiplied by the modRate." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCooldownTimes",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "start", Type = "number", Nilable = false },
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDrawBling",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "drawBling", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDrawEdge",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "drawEdge", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDrawSwipe",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "drawSwipe", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetEdgeScale",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "edgeScale", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetReverse",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "reverse", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetRotation",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "rotationRadians", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsPaused",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isPaused", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Pause",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Resume",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetBlingTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "texture", Type = "FileAsset", Nilable = false },
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
{ Name = "colorA", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCooldown",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "start", Type = "number", Nilable = false },
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
{ Name = "modRate", Type = "number", Nilable = false, Default = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCooldownDuration",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
{ Name = "modRate", Type = "number", Nilable = false, Default = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCooldownUNIX",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "start", Type = "number", Nilable = false },
|
||||
{ Name = "duration", Type = "number", Nilable = false },
|
||||
{ Name = "modRate", Type = "number", Nilable = false, Default = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCountdownAbbrevThreshold",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "seconds", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCountdownFont",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "fontName", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetDrawBling",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "drawBling", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetDrawEdge",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "drawEdge", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetDrawSwipe",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "drawSwipe", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetEdgeScale",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "scale", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetEdgeTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "texture", Type = "FileAsset", Nilable = false },
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
{ Name = "colorA", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetHideCountdownNumbers",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "hideNumbers", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetReverse",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "reverse", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetRotation",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "rotationRadians", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSwipeColor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
{ Name = "a", Type = "SingleColorValue", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSwipeTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "texture", Type = "FileAsset", Nilable = false },
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
{ Name = "colorA", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetTexCoordRange",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "low", Type = "vector2", Mixin = "Vector2DMixin", Nilable = false },
|
||||
{ Name = "high", Type = "vector2", Mixin = "Vector2DMixin", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetUseCircularEdge",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "useCircularEdge", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameAPICooldown);
|
||||
@@ -0,0 +1,99 @@
|
||||
local FrameAPIDressUpModel =
|
||||
{
|
||||
Name = "FrameAPIDressUpModel",
|
||||
Type = "ScriptObject",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "Dress",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetAutoDress",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "enabled", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSheathed",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "sheathed", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetAutoDress",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "enabled", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSheathed",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "sheathed", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "TryOn",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "linkOrItemModifiedAppearanceID", Type = "IDOrLink", Nilable = false },
|
||||
{ Name = "handSlotName", Type = "cstring", Nilable = true },
|
||||
{ Name = "spellEnchantID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Undress",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UndressSlot",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "inventorySlot", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameAPIDressUpModel);
|
||||
@@ -0,0 +1,153 @@
|
||||
local FrameAPIFogOfWarFrame =
|
||||
{
|
||||
Name = "FrameAPIFogOfWarFrame",
|
||||
Type = "ScriptObject",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetFogOfWarBackgroundAtlas",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "atlas", Type = "textureAtlas", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFogOfWarBackgroundTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "asset", Type = "FileAsset", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFogOfWarMaskAtlas",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "atlas", Type = "textureAtlas", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFogOfWarMaskTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "asset", Type = "FileAsset", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMaskScalar",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "scalar", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetUiMapID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFogOfWarBackgroundAtlas",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "atlas", Type = "textureAtlas", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFogOfWarBackgroundTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "asset", Type = "FileAsset", Nilable = false },
|
||||
{ Name = "horizontalTile", Type = "bool", Nilable = false },
|
||||
{ Name = "verticalTile", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFogOfWarMaskAtlas",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "atlas", Type = "textureAtlas", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFogOfWarMaskTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "asset", Type = "FileAsset", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetMaskScalar",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "scalar", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetUiMapID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "uiMapID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameAPIFogOfWarFrame);
|
||||
@@ -0,0 +1,558 @@
|
||||
local FrameAPIModelSceneFrame =
|
||||
{
|
||||
Name = "FrameAPIModelSceneFrame",
|
||||
Type = "ScriptObject",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "ClearFog",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CreateActor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "template", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetActorAtIndex",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCameraFarClip",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "farClip", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCameraFieldOfView",
|
||||
Type = "Function",
|
||||
Documentation = { "Field of view in radians" },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "fov", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCameraForward",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "forwardX", Type = "number", Nilable = false },
|
||||
{ Name = "forwardY", Type = "number", Nilable = false },
|
||||
{ Name = "forwardZ", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCameraNearClip",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "nearClip", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCameraPosition",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "positionX", Type = "number", Nilable = false },
|
||||
{ Name = "positionY", Type = "number", Nilable = false },
|
||||
{ Name = "positionZ", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCameraRight",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "rightX", Type = "number", Nilable = false },
|
||||
{ Name = "rightY", Type = "number", Nilable = false },
|
||||
{ Name = "rightZ", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetCameraUp",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "upX", Type = "number", Nilable = false },
|
||||
{ Name = "upY", Type = "number", Nilable = false },
|
||||
{ Name = "upZ", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetDrawLayer",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "layer", Type = "DrawLayer", Nilable = false },
|
||||
{ Name = "sublevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFogColor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFogFar",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "far", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFogNear",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "near", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetLightAmbientColor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetLightDiffuseColor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetLightDirection",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "directionX", Type = "number", Nilable = false },
|
||||
{ Name = "directionY", Type = "number", Nilable = false },
|
||||
{ Name = "directionZ", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetLightPosition",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "positionX", Type = "number", Nilable = false },
|
||||
{ Name = "positionY", Type = "number", Nilable = false },
|
||||
{ Name = "positionZ", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetLightType",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "lightType", Type = "ModelLightType", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumActors",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numActors", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetViewInsets",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "insets", Type = "uiRect", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetViewTranslation",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "translationX", Type = "number", Nilable = false },
|
||||
{ Name = "translationY", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsLightVisible",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isVisible", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Project3DPointTo2D",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "pointX", Type = "number", Nilable = false },
|
||||
{ Name = "pointY", Type = "number", Nilable = false },
|
||||
{ Name = "pointZ", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "point2DX", Type = "number", Nilable = false },
|
||||
{ Name = "point2DY", Type = "number", Nilable = false },
|
||||
{ Name = "depth", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraFarClip",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "farClip", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraFieldOfView",
|
||||
Type = "Function",
|
||||
Documentation = { "Field of view in radians" },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "fov", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraNearClip",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "nearClip", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraOrientationByAxisVectors",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "forwardX", Type = "number", Nilable = false },
|
||||
{ Name = "forwardY", Type = "number", Nilable = false },
|
||||
{ Name = "forwardZ", Type = "number", Nilable = false },
|
||||
{ Name = "rightX", Type = "number", Nilable = false },
|
||||
{ Name = "rightY", Type = "number", Nilable = false },
|
||||
{ Name = "rightZ", Type = "number", Nilable = false },
|
||||
{ Name = "upX", Type = "number", Nilable = false },
|
||||
{ Name = "upY", Type = "number", Nilable = false },
|
||||
{ Name = "upZ", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraOrientationByYawPitchRoll",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "yaw", Type = "number", Nilable = false },
|
||||
{ Name = "pitch", Type = "number", Nilable = false },
|
||||
{ Name = "roll", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetCameraPosition",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "positionX", Type = "number", Nilable = false },
|
||||
{ Name = "positionY", Type = "number", Nilable = false },
|
||||
{ Name = "positionZ", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetDesaturation",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "strength", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetDrawLayer",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "layer", Type = "DrawLayer", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFogColor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFogFar",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "far", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFogNear",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "near", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetLightAmbientColor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetLightDiffuseColor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetLightDirection",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "directionX", Type = "number", Nilable = false },
|
||||
{ Name = "directionY", Type = "number", Nilable = false },
|
||||
{ Name = "directionZ", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetLightPosition",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "positionX", Type = "number", Nilable = false },
|
||||
{ Name = "positionY", Type = "number", Nilable = false },
|
||||
{ Name = "positionZ", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetLightType",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "lightType", Type = "ModelLightType", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetLightVisible",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "visible", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetPaused",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "paused", Type = "bool", Nilable = false },
|
||||
{ Name = "affectsGlobalPause", Type = "bool", Nilable = false, Default = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetViewInsets",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "insets", Type = "uiRect", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetViewTranslation",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "translationX", Type = "number", Nilable = false },
|
||||
{ Name = "translationY", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "TakeActor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameAPIModelSceneFrame);
|
||||
@@ -0,0 +1,20 @@
|
||||
local FrameAPIModelSceneFrameShared =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "ModelLightType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 2,
|
||||
MinValue = 0,
|
||||
MaxValue = 1,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Directional", Type = "ModelLightType", EnumValue = 0 },
|
||||
{ Name = "Point", Type = "ModelLightType", EnumValue = 1 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameAPIModelSceneFrameShared);
|
||||
@@ -0,0 +1,90 @@
|
||||
local FrameAPISimpleCheckout =
|
||||
{
|
||||
Name = "FrameAPISimpleCheckout",
|
||||
Type = "ScriptObject",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CancelOpenCheckout",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClearFocus",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CloseCheckout",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CopyExternalLink",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "OpenCheckout",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "checkoutID", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "wasOpened", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "OpenExternalLink",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFocus",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetZoom",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "zoomLevel", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameAPISimpleCheckout);
|
||||
@@ -0,0 +1,76 @@
|
||||
local FrameAPITabardModelBase =
|
||||
{
|
||||
Name = "FrameAPITabardModelBase",
|
||||
Type = "ScriptObject",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CanSaveTabardNow",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "canSave", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "CycleVariation",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "variationIndex", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "delta", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetLowerEmblemTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "texture", Type = "SimpleTexture", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetUpperEmblemTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "texture", Type = "SimpleTexture", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "InitializeTabardColors",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "Save",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameAPITabardModelBase);
|
||||
@@ -0,0 +1,71 @@
|
||||
local FrameAPITabardModel =
|
||||
{
|
||||
Name = "FrameAPITabardModel",
|
||||
Type = "ScriptObject",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "GetLowerBackgroundFileName",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "path", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetLowerEmblemFileName",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "path", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetUpperBackgroundFileName",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "path", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetUpperEmblemFileName",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "path", Type = "string", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameAPITabardModel);
|
||||
@@ -0,0 +1,153 @@
|
||||
local FrameAPIUnitPositionFrame =
|
||||
{
|
||||
Name = "FrameAPIUnitPositionFrame",
|
||||
Type = "ScriptObject",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AddUnit",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "unitTokenString", Type = "cstring", Nilable = false },
|
||||
{ Name = "asset", Type = "TextureAssetDisk", Nilable = false },
|
||||
{ Name = "width", Type = "uiUnit", Nilable = true },
|
||||
{ Name = "height", Type = "uiUnit", Nilable = true },
|
||||
{ Name = "r", Type = "number", Nilable = true },
|
||||
{ Name = "g", Type = "number", Nilable = true },
|
||||
{ Name = "b", Type = "number", Nilable = true },
|
||||
{ Name = "a", Type = "number", Nilable = true },
|
||||
{ Name = "sublayer", Type = "number", Nilable = true },
|
||||
{ Name = "showFacing", Type = "bool", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClearUnits",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "FinalizeUnits",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMouseOverUnits",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "units", Type = "string", Nilable = false, StrideIndex = 1 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPlayerPingScale",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "scale", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetUiMapID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "mapID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetPlayerPingScale",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "scale", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetPlayerPingTexture",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "textureType", Type = "PingTextureType", Nilable = false },
|
||||
{ Name = "asset", Type = "FileAsset", Nilable = false },
|
||||
{ Name = "width", Type = "uiUnit", Nilable = false, Default = 0 },
|
||||
{ Name = "height", Type = "uiUnit", Nilable = false, Default = 0 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetUiMapID",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "mapID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetUnitColor",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "unit", Type = "string", Nilable = false },
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
{ Name = "colorA", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "StartPlayerPing",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "duration", Type = "number", Nilable = false, Default = 0 },
|
||||
{ Name = "fadeDuration", Type = "number", Nilable = false, Default = 0 },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "StopPlayerPing",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameAPIUnitPositionFrame);
|
||||
@@ -0,0 +1,33 @@
|
||||
local FrameScript =
|
||||
{
|
||||
Name = "FrameScript",
|
||||
Type = "System",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CreateWindow",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "popupStyle", Type = "bool", Nilable = false, Default = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "window", Type = "SimpleWindow", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameScript);
|
||||
@@ -0,0 +1,530 @@
|
||||
local FriendList =
|
||||
{
|
||||
Name = "FriendList",
|
||||
Type = "System",
|
||||
Namespace = "C_FriendList",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AddFriend",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "notes", Type = "cstring", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AddIgnore",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "added", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AddOrDelIgnore",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "AddOrRemoveFriend",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "notes", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DelIgnore",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "removed", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "DelIgnoreByIndex",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFriendInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "FriendInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetFriendInfoByIndex",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "FriendInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetIgnoreName",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumFriends",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numFriends", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumIgnores",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numIgnores", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumOnlineFriends",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numOnline", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetNumWhoResults",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "numWhos", Type = "number", Nilable = false },
|
||||
{ Name = "totalNumWhos", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSelectedFriend",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetSelectedIgnore",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetWhoInfo",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "info", Type = "WhoInfo", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsFriend",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isFriend", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsIgnored",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "token", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isIgnored", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsIgnoredByGuid",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isIgnored", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "IsOnIgnoredList",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "token", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isIgnored", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RemoveFriend",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "removed", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "RemoveFriendByIndex",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SendWho",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "filter", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFriendNotes",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "notes", Type = "cstring", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "found", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetFriendNotesByIndex",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
{ Name = "notes", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSelectedFriend",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetSelectedIgnore",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "index", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetWhoToUi",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "whoToUi", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ShowFriends",
|
||||
Type = "Function",
|
||||
},
|
||||
{
|
||||
Name = "SortWho",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "sorting", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "BattletagInviteShow",
|
||||
Type = "Event",
|
||||
LiteralName = "BATTLETAG_INVITE_SHOW",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BnBlockFailedTooMany",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_BLOCK_FAILED_TOO_MANY",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "blockType", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BnBlockListUpdated",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_BLOCK_LIST_UPDATED",
|
||||
},
|
||||
{
|
||||
Name = "BnChatWhisperUndeliverable",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_CHAT_WHISPER_UNDELIVERABLE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "senderID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BnConnected",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_CONNECTED",
|
||||
},
|
||||
{
|
||||
Name = "BnCustomMessageChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_CUSTOM_MESSAGE_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "id", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BnCustomMessageLoaded",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_CUSTOM_MESSAGE_LOADED",
|
||||
},
|
||||
{
|
||||
Name = "BnDisconnected",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_DISCONNECTED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "result", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BnFriendAccountOffline",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_FRIEND_ACCOUNT_OFFLINE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "friendId", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BnFriendAccountOnline",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_FRIEND_ACCOUNT_ONLINE",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "friendId", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BnFriendInfoChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_FRIEND_INFO_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "friendIndex", Type = "luaIndex", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BnFriendInviteAdded",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_FRIEND_INVITE_ADDED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "accountID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BnFriendInviteListInitialized",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_FRIEND_INVITE_LIST_INITIALIZED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "listSize", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BnFriendInviteRemoved",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_FRIEND_INVITE_REMOVED",
|
||||
},
|
||||
{
|
||||
Name = "BnFriendListSizeChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_FRIEND_LIST_SIZE_CHANGED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "accountID", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "BnInfoChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_INFO_CHANGED",
|
||||
},
|
||||
{
|
||||
Name = "BnRequestFofSucceeded",
|
||||
Type = "Event",
|
||||
LiteralName = "BN_REQUEST_FOF_SUCCEEDED",
|
||||
},
|
||||
{
|
||||
Name = "FriendlistUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "FRIENDLIST_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "IgnorelistUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "IGNORELIST_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "MutelistUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "MUTELIST_UPDATE",
|
||||
},
|
||||
{
|
||||
Name = "WhoListUpdate",
|
||||
Type = "Event",
|
||||
LiteralName = "WHO_LIST_UPDATE",
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "FriendInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "connected", Type = "bool", Nilable = false },
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "className", Type = "string", Nilable = true },
|
||||
{ Name = "area", Type = "string", Nilable = true },
|
||||
{ Name = "notes", Type = "string", Nilable = true },
|
||||
{ Name = "guid", Type = "WOWGUID", Nilable = false },
|
||||
{ Name = "level", Type = "number", Nilable = false },
|
||||
{ Name = "dnd", Type = "bool", Nilable = false },
|
||||
{ Name = "afk", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "WhoInfo",
|
||||
Type = "Structure",
|
||||
Fields =
|
||||
{
|
||||
{ Name = "fullName", Type = "string", Nilable = false },
|
||||
{ Name = "fullGuildName", Type = "string", Nilable = false },
|
||||
{ Name = "level", Type = "number", Nilable = false },
|
||||
{ Name = "raceStr", Type = "string", Nilable = false },
|
||||
{ Name = "classStr", Type = "string", Nilable = false },
|
||||
{ Name = "area", Type = "string", Nilable = false },
|
||||
{ Name = "filename", Type = "string", Nilable = true },
|
||||
{ Name = "gender", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FriendList);
|
||||
@@ -0,0 +1,23 @@
|
||||
local GARRISON_FOLLOWER_TYPEConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "GarrisonFollowerType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 5,
|
||||
MinValue = 1,
|
||||
MaxValue = 123,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "FollowerType_6_0_GarrisonFollower", Type = "GarrisonFollowerType", EnumValue = 1 },
|
||||
{ Name = "FollowerType_6_0_Boat", Type = "GarrisonFollowerType", EnumValue = 2 },
|
||||
{ Name = "FollowerType_7_0_GarrisonFollower", Type = "GarrisonFollowerType", EnumValue = 4 },
|
||||
{ Name = "FollowerType_8_0_GarrisonFollower", Type = "GarrisonFollowerType", EnumValue = 22 },
|
||||
{ Name = "FollowerType_9_0_GarrisonFollower", Type = "GarrisonFollowerType", EnumValue = 123 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(GARRISON_FOLLOWER_TYPEConstants);
|
||||
@@ -0,0 +1,22 @@
|
||||
local GARRISON_TYPEConstants =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "GarrisonType",
|
||||
Type = "Enumeration",
|
||||
NumValues = 4,
|
||||
MinValue = 2,
|
||||
MaxValue = 111,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Type_6_0_Garrison", Type = "GarrisonType", EnumValue = 2 },
|
||||
{ Name = "Type_7_0_Garrison", Type = "GarrisonType", EnumValue = 3 },
|
||||
{ Name = "Type_8_0_Garrison", Type = "GarrisonType", EnumValue = 9 },
|
||||
{ Name = "Type_9_0_Garrison", Type = "GarrisonType", EnumValue = 111 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(GARRISON_TYPEConstants);
|
||||
@@ -0,0 +1,78 @@
|
||||
local GMTicketInfo =
|
||||
{
|
||||
Name = "GMTicketInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_GMTicketInfo",
|
||||
|
||||
Functions =
|
||||
{
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "GmPlayerInfo",
|
||||
Type = "Event",
|
||||
LiteralName = "GM_PLAYER_INFO",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "name", Type = "cstring", Nilable = false },
|
||||
{ Name = "info", Type = "cstring", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ItemRestorationButtonStatus",
|
||||
Type = "Event",
|
||||
LiteralName = "ITEM_RESTORATION_BUTTON_STATUS",
|
||||
},
|
||||
{
|
||||
Name = "PetitionClosed",
|
||||
Type = "Event",
|
||||
LiteralName = "PETITION_CLOSED",
|
||||
},
|
||||
{
|
||||
Name = "PetitionShow",
|
||||
Type = "Event",
|
||||
LiteralName = "PETITION_SHOW",
|
||||
},
|
||||
{
|
||||
Name = "PlayerReportSubmitted",
|
||||
Type = "Event",
|
||||
LiteralName = "PLAYER_REPORT_SUBMITTED",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "invitedByGUID", Type = "WOWGUID", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "QuickTicketSystemStatus",
|
||||
Type = "Event",
|
||||
LiteralName = "QUICK_TICKET_SYSTEM_STATUS",
|
||||
},
|
||||
{
|
||||
Name = "QuickTicketThrottleChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "QUICK_TICKET_THROTTLE_CHANGED",
|
||||
},
|
||||
{
|
||||
Name = "UpdateWebTicket",
|
||||
Type = "Event",
|
||||
LiteralName = "UPDATE_WEB_TICKET",
|
||||
Payload =
|
||||
{
|
||||
{ Name = "hasTicket", Type = "bool", Nilable = false },
|
||||
{ Name = "numTickets", Type = "number", Nilable = true },
|
||||
{ Name = "ticketStatus", Type = "number", Nilable = true },
|
||||
{ Name = "caseIndex", Type = "number", Nilable = true },
|
||||
{ Name = "waitTimeMinutes", Type = "number", Nilable = true },
|
||||
{ Name = "waitMessage", Type = "cstring", Nilable = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(GMTicketInfo);
|
||||
@@ -0,0 +1,24 @@
|
||||
local GamePadConst =
|
||||
{
|
||||
Tables =
|
||||
{
|
||||
{
|
||||
Name = "GamePadPowerLevel",
|
||||
Type = "Enumeration",
|
||||
NumValues = 6,
|
||||
MinValue = 0,
|
||||
MaxValue = 5,
|
||||
Fields =
|
||||
{
|
||||
{ Name = "Critical", Type = "GamePadPowerLevel", EnumValue = 0 },
|
||||
{ Name = "Low", Type = "GamePadPowerLevel", EnumValue = 1 },
|
||||
{ Name = "Medium", Type = "GamePadPowerLevel", EnumValue = 2 },
|
||||
{ Name = "High", Type = "GamePadPowerLevel", EnumValue = 3 },
|
||||
{ Name = "Wired", Type = "GamePadPowerLevel", EnumValue = 4 },
|
||||
{ Name = "Unknown", Type = "GamePadPowerLevel", EnumValue = 5 },
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(GamePadConst);
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user