GetFileIDFromPath
Jump to navigation
Jump to search
Returns the FileID for an Interface file path.
fileID = GetFileIDFromPath(filePath)
Arguments
- filePath
- string - The path to a game file. For example
Interface/Icons/Temp.blp
Returns
Example
Interface/
path
/dump GetFileIDFromPath("Interface/Icons/Temp") -- 136235
Custom file path
/dump GetFileIDFromPath("Interface/testimg.jpg") -- -1163 /dump GetFileIDFromPath("hello/test.jpg") -- -2
Patch changes
Patch 8.2.0 (2019-06-25): No longer works for non-interface Blizzard file paths. [1]
Patch 7.0.3 (2016-07-19): Added.
References
- ^ #wowuidev 2019-04-23 https://infobot.rikers.org/%23wowuidev/20190423.html.gz