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

Method fidelity

source/game/scripting/StarWorldLuaBindings.cpp:1209–1211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1207 }
1208
1209 LuaString ServerWorldCallbacks::fidelity(World* world, LuaEngine& engine) {
1210 return engine.createString(WorldServerFidelityNames.getRight(as<WorldServer>(world)->fidelity()));
1211 }
1212
1213 Maybe<LuaValue> ServerWorldCallbacks::callScriptContext(World* world, String const& contextName, String const& function, LuaVariadic<LuaValue> const& args) {
1214 auto context = as<WorldServer>(world)->scriptContext(contextName);

Callers

nothing calls this directly

Calls 1

createStringMethod · 0.80

Tested by

no test coverage detected