add client function for debugging movement data

This commit is contained in:
Martin Michelsen
2026-01-14 22:06:06 -08:00
parent 890014b223
commit 1bd305d4e7
6 changed files with 155 additions and 79 deletions
+2
View File
@@ -313,6 +313,8 @@ static vector<shared_ptr<CompiledFunctionCode>> compile_function_code(
compiled->description = it.second;
} else if (it.first == "client_flag") {
compiled->client_flag = stoull(it.second, nullptr, 0);
} else if (it.first == "show_return_value") {
compiled->show_return_value = true;
} else {
throw runtime_error("unknown metadata key: " + it.first);
}