| 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); |
nothing calls this directly
no test coverage detected