First commit, step 4 completed
This commit is contained in:
@@ -0,0 +1,140 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user