First commit, step 4 completed

This commit is contained in:
bepis
2026-10-15 14:27:00 +11:00
commit 9a30efa170
5378 changed files with 1136719 additions and 0 deletions
@@ -0,0 +1,71 @@
local Cursor =
{
Name = "Cursor",
Type = "System",
Namespace = "C_Cursor",
Environment = "All",
Functions =
{
{
Name = "GetCursorItem",
Type = "Function",
MayReturnNothing = true,
Returns =
{
{ Name = "item", Type = "ItemLocation", Mixin = "ItemLocationMixin", Nilable = false },
},
},
},
Events =
{
{
Name = "BattlePetCursorClear",
Type = "Event",
LiteralName = "BATTLE_PET_CURSOR_CLEAR",
SynchronousEvent = true,
},
{
Name = "CursorChanged",
Type = "Event",
LiteralName = "CURSOR_CHANGED",
SynchronousEvent = true,
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",
SynchronousEvent = true,
},
{
Name = "WorldCursorTooltipUpdate",
Type = "Event",
LiteralName = "WORLD_CURSOR_TOOLTIP_UPDATE",
SynchronousEvent = true,
Documentation = { "Sends an update when the mouse enters or leaves something in-world (object, unit, etc) that should display a tooltip" },
Payload =
{
{ Name = "anchorType", Type = "WorldCursorAnchorType", Nilable = false },
},
},
},
Tables =
{
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(Cursor);