MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / timerFunction

Method timerFunction

Sources/Jazz2/Scripting/JJ2PlusDefinitions.cpp:1626–1630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1624 return value;
1625 }
1626 void jjPLAYER::timerFunction(const String& functionName) {
1627 noop();
1628 asIScriptFunction* func = _levelScriptLoader->GetMainModule()->GetFunctionByName(String::nullTerminatedView(functionName).data());
1629 _timerCallback = func;
1630 }
1631 void jjPLAYER::timerFunctionPtr(void* function) {
1632 noop();
1633 _timerCallback = function;

Callers

nothing calls this directly

Calls 2

GetMainModuleMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected