API GetFileIDFromPath

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

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