Skip to content

OnlineImageDownloaderWeb

Class in IpDrv · IpDrv.OnlineImageDownloaderWeb · config

Object › OnlineImageDownloaderWeb

Using it from Lua
h7.find_all("OnlineImageDownloaderWeb")            -- live instances
h7.find_class("IpDrv.OnlineImageDownloaderWeb")   -- the class
h7.hook("IpDrv.OnlineImageDownloaderWeb.ClearAllDownloads", fn)

Enums

EOnlineImageDownloadState

PIDS_NotStarted = 0, PIDS_Downloading = 1, PIDS_Succeeded = 2, PIDS_Failed = 3

Structs

OnlineImageDownload

FieldType
URLstring
HTTPRequestHttpRequestInterface
StateEOnlineImageDownloadState
bPendingRemovalbool
TextureTexture2DDynamic

Properties

NameTypeNotes
DownloadImagesarray<OnlineImageDownload>
MaxSimultaneousDownloadsintconfig

Functions

NameDeclaration
ClearAllDownloadsfunction ClearAllDownloads()
ClearDownloadsfunction ClearDownloads(array URLs)
DebugDrawfunction DebugDraw(Canvas Canvas)
DownloadNextImageprivate function DownloadNextImage()
GetNumPendingDownloadsfunction int GetNumPendingDownloads()
GetOnlineImageTexturefunction Texture GetOnlineImageTexture(string URL)
OnDownloadCompleteprivate function OnDownloadComplete(HttpRequestInterface OriginalRequest, HttpResponseInterface Response, bool bDidSucceed)
OnOnlineImageDownloadeddelegate OnOnlineImageDownloaded(OnlineImageDownload CachedEntry)
RequestOnlineImagesfunction RequestOnlineImages(array URLs)

Inherited

FromMembers
Object13 properties, 308 functions