MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / noteScriptCallback

Function noteScriptCallback

Engine/source/console/console.cpp:1146–1150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1144}
1145
1146void noteScriptCallback( const char *className, const char *funcName, const char *usage, ConsoleFunctionHeader* header )
1147{
1148 Namespace *ns = lookupNamespace(className);
1149 ns->addScriptCallback( StringTable->insert(funcName), usage, header );
1150}
1151
1152void markCommandGroup(const char * nsName, const char *name, const char* usage)
1153{

Callers 1

setupMethod · 0.85

Calls 3

lookupNamespaceFunction · 0.85
addScriptCallbackMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected