140 lines
2.8 KiB
Lua
140 lines
2.8 KiB
Lua
local RaidMarkers =
|
|
{
|
|
Name = "RaidMarkers",
|
|
Type = "System",
|
|
Environment = "All",
|
|
|
|
Functions =
|
|
{
|
|
{
|
|
Name = "CanBeRaidTarget",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "target", Type = "UnitToken", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "result", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "ClearRaidMarker",
|
|
Type = "Function",
|
|
HasRestrictions = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "raidMarkerIndex", Type = "luaIndex", Nilable = false, Default = MAX_RAID_MARKERS },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetNextAvailableRaidTargetMarkerIndex",
|
|
Type = "Function",
|
|
SecretInChatMessagingLockdown = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "startIndex", Type = "luaIndex", Nilable = false },
|
|
{ Name = "reverseSearch", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "wrapSearch", Type = "bool", Nilable = false, Default = false },
|
|
{ Name = "treatDeadNonFriendlyAsAvailable", Type = "bool", Nilable = false, Default = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "nextAvailableRaidTargetMarkerIndex", Type = "luaIndex", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetRaidTargetIndex",
|
|
Type = "Function",
|
|
SecretReturns = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "target", Type = "UnitToken", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "result", Type = "luaIndex", Nilable = true },
|
|
},
|
|
},
|
|
{
|
|
Name = "IsRaidMarkerActive",
|
|
Type = "Function",
|
|
SecretInChatMessagingLockdown = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "index", Type = "luaIndex", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "result", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "IsRaidMarkerSystemEnabled",
|
|
Type = "Function",
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "enabled", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "PlaceRaidMarker",
|
|
Type = "Function",
|
|
HasRestrictions = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "index", Type = "luaIndex", Nilable = false },
|
|
{ Name = "token", Type = "cstring", Nilable = true },
|
|
},
|
|
},
|
|
{
|
|
Name = "RemoveRaidTargets",
|
|
Type = "Function",
|
|
HasRestrictions = true,
|
|
Documentation = { "Removes all assigned raid target markers." },
|
|
},
|
|
{
|
|
Name = "SetRaidTarget",
|
|
Type = "Function",
|
|
HasRestrictions = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "target", Type = "UnitToken", Nilable = false },
|
|
{ Name = "userIndex", Type = "luaIndex", Nilable = false },
|
|
},
|
|
},
|
|
},
|
|
|
|
Events =
|
|
{
|
|
},
|
|
|
|
Tables =
|
|
{
|
|
},
|
|
|
|
Predicates =
|
|
{
|
|
},
|
|
};
|
|
|
|
APIDocumentation:AddDocumentationTable(RaidMarkers); |