AddDownload
This compatibility method behaves like CreateDownloadProgress. Creates a progress controller specialized for downloads and completion state. It is kept so scripts written with the older AddDownload name continue to work.
AddDownload
Compatibility alias
AddDownload is an alternate name for CreateDownloadProgress. New code can use CreateDownloadProgress.
What it does
This compatibility method behaves like CreateDownloadProgress. Creates a progress controller specialized for downloads and completion state. It is kept so scripts written with the older AddDownload name continue to work.
When to use it
Use it to show a timed or externally updated download operation. Prefer CreateDownloadProgress in new code so the method name matches the current API.
ElementFunction:AddDownload(DownloadConfig)
local Result = Section:AddDownload({
Name = "Example",
Callback = function(value)
print(value)
end,
})Behavior and return value
This alias forwards to CreateDownloadProgress, so its options, callbacks, and returned value follow the canonical method.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.
Related reference
AddDiscordImage
This compatibility method behaves like AddDiscordImg. Adds a Discord invite image or prompt with remembered open behavior. It is kept so scripts written with the older AddDiscordImage name continue to work.
AddDownloadProgress
This compatibility method behaves like CreateDownloadProgress. Creates a progress controller specialized for downloads and completion state. It is kept so scripts written with the older AddDownloadProgress name continue to work.