Include Blizzard_APIDocumentation and Search API Button to Code Editor with Wrath Classic Data (#57)

This commit is contained in:
NoM0Re
2025-07-05 19:08:53 +02:00
committed by GitHub
parent ad68aa2f97
commit 0971189346
319 changed files with 47180 additions and 18 deletions
@@ -0,0 +1,113 @@
local PlayerInteractionManager =
{
Name = "PlayerInteractionManager",
Type = "System",
Namespace = "C_PlayerInteractionManager",
Functions =
{
{
Name = "ClearInteraction",
Type = "Function",
Arguments =
{
{ Name = "type", Type = "PlayerInteractionType", Nilable = true },
},
},
{
Name = "ConfirmationInteraction",
Type = "Function",
Arguments =
{
{ Name = "type", Type = "PlayerInteractionType", Nilable = true },
},
},
{
Name = "InteractUnit",
Type = "Function",
Arguments =
{
{ Name = "unit", Type = "string", Nilable = false },
{ Name = "exactMatch", Type = "bool", Nilable = false, Default = false },
{ Name = "looseTargeting", Type = "bool", Nilable = false, Default = true },
},
Returns =
{
{ Name = "success", Type = "bool", Nilable = false },
},
},
{
Name = "IsInteractingWithNpcOfType",
Type = "Function",
Arguments =
{
{ Name = "type", Type = "PlayerInteractionType", Nilable = false },
},
Returns =
{
{ Name = "interacting", Type = "bool", Nilable = false },
},
},
{
Name = "IsReplacingUnit",
Type = "Function",
Returns =
{
{ Name = "replacing", Type = "bool", Nilable = false },
},
},
{
Name = "IsValidNPCInteraction",
Type = "Function",
Arguments =
{
{ Name = "type", Type = "PlayerInteractionType", Nilable = false },
},
Returns =
{
{ Name = "isValidInteraction", Type = "bool", Nilable = false },
},
},
{
Name = "ReopenInteraction",
Type = "Function",
},
},
Events =
{
{
Name = "PlayerInteractionManagerFrameHide",
Type = "Event",
LiteralName = "PLAYER_INTERACTION_MANAGER_FRAME_HIDE",
Payload =
{
{ Name = "type", Type = "PlayerInteractionType", Nilable = false },
},
},
{
Name = "PlayerInteractionManagerFrameShow",
Type = "Event",
LiteralName = "PLAYER_INTERACTION_MANAGER_FRAME_SHOW",
Payload =
{
{ Name = "type", Type = "PlayerInteractionType", Nilable = false },
},
},
},
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(PlayerInteractionManager);