Regular API function

simSetModuleInfo

Description Deprecated. See sim.setPluginInfo instead
C/C++
synopsis
int simSetModuleInfo(const char* reserved,int infoType,const char* stringInfo,int intInfo)
C/C++
parameters
reserved: set to nullptr with plugins that have the simInit entry points
infoType: the type of information to set
stringInfo: a string information value, in case the information type is for a string.
intInfo: an integer information value, in case the information type is for an integer.
C/C++
return value
-1 in case of an error
Lua
synopsis
sim.setModuleInfo(string moduleName,int infoType,string/int info)
Lua
parameters
similar to the C-function counterpart
Lua
return values
Python
synopsis
sim.setModuleInfo(string moduleName,int infoType,string/int info)