>wowhelm_
~/forever/addon-api/function/C_UIFileAsset.IsKnownFile

C_UIFileAsset.IsKnownFile

documented function · UIFileAssetAPI
C_UIFileAsset.IsKnownFile(asset) : isValid

Determines whether a file asset is known to the client, either as a shipped asset or a locally existing loose file.

──ARGUMENTS
asset
FileAsset
──RETURNS
isValid
bool (True if the asset is shipped with the client or refers to a known loose file. Existence or openability of loose files is not verified.)
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.