v0.13.8

C_Texture

namespaceavailable in: camelot

Status in wowlua

11 functions: 2 implemented, 0 recorded, 9 guessed. 1 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
ClearTitleIconTextureClears the title icon from the given texture. · by wowlua
(texture: Texture)
guessed
GetAtlasElementIDReturns the ID of the given atlas element. · by wowlua
(atlas: string): number
guessed
GetAtlasElementsReturns the names of all atlas elements. · by wowlua
(): string[]
guessed
GetAtlasExistsWhether the client has the given atlas. · by wowlua
(atlas: string): boolean
implemented
GetAtlasIDReturns the ID of the given atlas. · by wowlua
(atlas: string): number
guessed
GetAtlasInfoReturns atlas info.
(atlas: string): AtlasInfo?
implemented
GetFilenameFromFileDataIDReturns a string representing a file ID.
(fileDataID: number): string
guessed
GetTitleIconTextureLoads the icon of a game title and passes it to the callback. · by wowlua
(titleID: string, version: TitleIconVersion, callback: GetTitleIconTextureCallback)
guessed
IsTitleIconTextureReadyWhether the icon of a game title is loaded. · by wowlua
(titleID: string, version: TitleIconVersion): boolean
guessed
SetTitleIconTextureShows the icon of a game title on the given texture. · by wowlua
(texture: Texture, titleID: string, version: TitleIconVersion)
guessed
SetURLTextureShows the image at the given URL on the texture. · by wowlua
(texture: Texture, url: string)
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
URL_TEXTURE_REQUEST_RESULTtexture: Texture, result: UrlTextureResultnot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("URL_TEXTURE_REQUEST_RESULT").

Structures

  • AtlasInfo · elementName, width, height, rawSize, leftTexCoord, rightTexCoord, topTexCoord, bottomTexCoord, tilesHorizontally, tilesVertically, file?, filename?, sliceData?

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (TextureUtils system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.