MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / evalFunction2

Method evalFunction2

source/game/scripting/StarRootLuaBindings.cpp:296–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296double LuaBindings::RootCallbacks::evalFunction2(Root* root, String const& arg1, double arg2, double arg3) {
297 return root->functionDatabase()->function2(arg1)->evaluate(arg2, arg3);
298}
299
300Vec2U LuaBindings::RootCallbacks::imageSize(Root* root, String const& arg1) {
301 return root->imageMetadataDatabase()->imageSize(arg1);

Callers

nothing calls this directly

Calls 3

function2Method · 0.80
functionDatabaseMethod · 0.80
evaluateMethod · 0.45

Tested by

no test coverage detected