Browse Source

- Removed "findLoadedModule" which has limited utility and was original for 3-Step Studio.

MelvMay-GG 12 years ago
parent
commit
47acd66
1 changed files with 0 additions and 19 deletions
  1. 0 19
      engine/source/module/moduleManager_ScriptBinding.h

+ 0 - 19
engine/source/module/moduleManager_ScriptBinding.h

@@ -128,25 +128,6 @@ ConsoleMethod(ModuleManager, findModule, const char*, 4, 4,     "(moduleId, vers
 
 //-----------------------------------------------------------------------------
 
-ConsoleMethod(ModuleManager, findLoadedModule, const char*, 3, 3,   "(moduleId) - Find the specific loaded module Id.\n"
-                                                                    "@param moduleId The module Id to find.\n"
-                                                                    "@return The module definition object or NULL if the module was not found or loaded.")
-{
-    // Fetch module Id.
-    const char* pModuleId = argv[2];
-
-    // Find loaded module definition.
-    ModuleDefinition* pModuleDefinition = object->findLoadedModule( pModuleId );
-
-    // Return nothing if not found.
-    if ( pModuleDefinition == NULL )
-        return StringTable->EmptyString;
-
-    return pModuleDefinition->getIdString();
-}
-
-//-----------------------------------------------------------------------------
-
 ConsoleMethod(ModuleManager, findModules, const char*, 3, 3,    "(loadedOnly?) - Find all the modules registered with the specified loaded state.\n"
                                                                 "@param loadedOnly Whether to return only modules that are loaded or not.\n"
                                                                 "@return A list of space-separated module definition object Ids.")