Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetFileIDFromPath

Last wiki revision 2022-08-01

Returns the FileID for an Interface file path. fileID = GetFileIDFromPath(filePath)

  • filePath: - The path to a game file. For example
  • 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.

path /dump GetFileIDFromPath("Interface/Icons/Temp") -- 136235

Custom file path /dump GetFileIDFromPath("Interface/testimg.jpg") -- -1163 /dump GetFileIDFromPath("hello/test.jpg") -- -2

Source

https://warcraft.wiki.gg/wiki/API_GetFileIDFromPath · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.