PresetManager:GetModuleIDFromPath

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxGetModuleIDFromPath( * The full path to a data file inside the data module id you want to get. )
Description:
Gets the ID of a loaded DataModule, from a full data file path.
ReturnsThe requested ID. If no module of the name was found, -1 will be returned.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools