44 lines
1.0 KiB
Lua
44 lines
1.0 KiB
Lua
local TooltipComparison =
|
|
{
|
|
Name = "TooltipComparison",
|
|
Type = "System",
|
|
Namespace = "C_TooltipComparison",
|
|
|
|
Functions =
|
|
{
|
|
},
|
|
|
|
Events =
|
|
{
|
|
},
|
|
|
|
Tables =
|
|
{
|
|
{
|
|
Name = "TooltipComparisonMethod",
|
|
Type = "Enumeration",
|
|
NumValues = 4,
|
|
MinValue = 0,
|
|
MaxValue = 3,
|
|
Fields =
|
|
{
|
|
{ Name = "Single", Type = "TooltipComparisonMethod", EnumValue = 0 },
|
|
{ Name = "WithBothHands", Type = "TooltipComparisonMethod", EnumValue = 1 },
|
|
{ Name = "WithBagMainHandItem", Type = "TooltipComparisonMethod", EnumValue = 2 },
|
|
{ Name = "WithBagOffHandItem", Type = "TooltipComparisonMethod", EnumValue = 3 },
|
|
},
|
|
},
|
|
{
|
|
Name = "TooltipItemComparisonInfo",
|
|
Type = "Structure",
|
|
Fields =
|
|
{
|
|
{ Name = "method", Type = "TooltipComparisonMethod", Nilable = false, Default = "Single" },
|
|
{ Name = "item", Type = "TooltipComparisonItem", Nilable = false },
|
|
{ Name = "additionalItems", Type = "table", InnerType = "TooltipComparisonItem", Nilable = false },
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
APIDocumentation:AddDocumentationTable(TooltipComparison); |