Files
SessionGoldTracker/docs/blizzard-api/Blizzard_APIDocumentationGenerated/NamePlateDocumentation.lua
T
2026-10-15 14:27:00 +11:00

72 lines
1.3 KiB
Lua

local NamePlate =
{
Name = "NamePlate",
Type = "System",
Namespace = "C_NamePlate",
Environment = "All",
Functions =
{
{
Name = "GetNamePlateForUnit",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "unitToken", Type = "UnitTokenNamePlate", Nilable = false },
{ Name = "includeForbidden", Type = "bool", Nilable = false, Default = false },
},
Returns =
{
{ Name = "nameplate", Type = "NamePlateFrame", Nilable = false },
},
},
{
Name = "GetNamePlateSize",
Type = "Function",
Returns =
{
{ Name = "width", Type = "uiUnit", Nilable = false },
{ Name = "height", Type = "uiUnit", Nilable = false },
},
},
{
Name = "GetNamePlates",
Type = "Function",
Returns =
{
{ Name = "nameplates", Type = "table", InnerType = "NamePlateFrame", Nilable = false },
},
},
{
Name = "SetNamePlateSize",
Type = "Function",
HasRestrictions = true,
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "width", Type = "uiUnit", Nilable = false },
{ Name = "height", Type = "uiUnit", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(NamePlate);