API GetFileIDFromPath

Returns the FileID for an Interface file path.
 fileID = GetFileIDFromPath(filePath)
==Arguments==
:;filePath: - The path to a game file. For example Interface/Icons/Temp.blp
==Returns==
:;fileID: : FileID - 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==
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==
==References==