Fix up more shit
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param unit string
|
||||
---@param name string
|
||||
---@param strict boolean
|
||||
---Causes the player character to automatically follow another unit. Only friendly player units can be followed.
|
||||
function FollowUnit(unit, name, strict) end
|
||||
---@overload fun(name: string)
|
||||
---@overload fun(name: string, strict: boolean)
|
||||
function FollowUnit(unit) end
|
@@ -1,9 +1,9 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param channelIndex number
|
||||
---@param channelName string
|
||||
---@return number channel
|
||||
---@return string channelName
|
||||
---@return number instanceID
|
||||
---@param channelIndex number
|
||||
---@return number channel
|
||||
---@return string channelName
|
||||
---@return number instanceID
|
||||
---Returns information about a chat channel
|
||||
function GetChannelName(channelIndex, channelName) end
|
||||
---@overload fun(name: string): number, string, number
|
||||
function GetChannelName(channelIndex) end
|
||||
|
@@ -1,6 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param name string
|
||||
---@param reason string
|
||||
---Removes a character from the player's party or raid. Only works if the player is the party leader, raid leader, or raid assistant. Also used by the Looking For Group tool to vote kick players. This is what the "reason" argument is used for.
|
||||
---@overload fun(name: string, reason: string): nil
|
||||
function UninviteUnit(name, reason) end
|
@@ -5,4 +5,4 @@
|
||||
---@return string ...
|
||||
---Splits a string based on another seperator string. Also available as string.split (though not provided by the Lua standard library).
|
||||
---@overload fun(sep: string, text: string, limit: number): string ...
|
||||
function strsplit(sep, text, limit) end
|
||||
function strsplit(sep, text) end
|
@@ -1,6 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param timeDesc table
|
||||
---@return number t
|
||||
---Returns the numeric time value for a described date/time (or the current time). Alias for the standard library function os.time. According to the Lua manual, the returned value may vary across different systems; however, the Lua libraries included with current WoW clients on both Mac and Windows share the same implementation. For higher-precision time measurements not convertible to a date, see GetTime().
|
||||
function time(timeDesc) end
|
||||
---@overload fun(timeDesc: string): number
|
||||
function time() end
|
Reference in New Issue
Block a user