Description
|
Deprecated. See sim.getPluginName instead |
C/C++ synopsis
|
char* simGetModuleName(int index,sumUChar* moduleVersion)
|
C/C++ parameters |
index: index to a module. To list-up all module names, start with index=0 and increment index until return value is nullptr
moduleVersion: version of the plugin. Can be nullptr.
|
C/C++ return value
|
Name of the module or nullptr if no module is available at index position, or in case of an error. The user is in charge of destroying the returned name with simReleaseBuffer
|
Lua synopsis
|
string moduleName,int moduleVersion=sim.getModuleName(int index)
|
Lua parameters |
index: index to a module. To list-up all module names, start with index=0 and increment index until return value is nil |
Lua return values
|
moduleName: name of the module or nil if no module is available at that index position.
moduleVersion: version of the plugin
|
Python synopsis |
string moduleName,int moduleVersion=sim.getModuleName(int index) |