GetFileIDFromPath

From Wowpedia
Jump to: navigation, search

Returns the FileDataID corresponding to the given game file path (texture, sound, model, etc.).

fileID = GetFileIDFromPath(filePath)

Arguments

filePath 
string - The path to a game file. For example Interface/Icons/Temp.blp

Returns

fileID 
number (FileDataID) - The internal ID corresponding to the file path. Negative integers are temporary IDs; these are not specified in the CASC root file and may change when the client is restarted.

Example

/dump GetFileIDFromPath("Interface/Icons/Temp")
> 136235

Patch changes

References

  1. ^ IRC #wowuidev 2019-04-23