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

C_UIFileAsset.GetFileID

documented function · UIFileAssetAPI
C_UIFileAsset.GetFileID(asset) : assetFileID

Returns the numeric file ID associated with a file asset.

──ARGUMENTS
asset
FileAsset
──RETURNS
assetFileID
fileID, optional (The file ID corresponding to the given asset. If the asset is already a file ID, it is returned unchanged; otherwise returns nil if the file path is not known to the client.)
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

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