MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / operator()

Method operator()

src/script/script_instance.cpp:660–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658 ScriptData *data;
659
660 bool operator()(const SQInteger &value) { sq_pushinteger(this->vm, value); return true; }
661 bool operator()(const std::string &value) { sq_pushstring(this->vm, value); return true; }
662 bool operator()(const SQBool &value) { sq_pushbool(this->vm, value); return true; }
663 bool operator()(const SQSaveLoadType &type)

Callers

nothing calls this directly

Calls 15

sq_pushintegerFunction · 0.85
sq_pushstringFunction · 0.85
sq_pushboolFunction · 0.85
sq_newarrayFunction · 0.85
sq_arrayappendFunction · 0.85
sq_newtableFunction · 0.85
sq_rawsetFunction · 0.85
sq_pushnullFunction · 0.85
sq_gettopFunction · 0.85
sq_getstringFunction · 0.85
sq_getforeignptrFunction · 0.85
sq_pushroottableFunction · 0.85

Tested by

no test coverage detected