MCPcopy Create free account
hub / github.com/crownengine/crown / append_suggestion_item

Function append_suggestion_item

src/lua/lua_environment.cpp:720–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718}
719
720static void append_suggestion_item(StringStream &ss, bool &first, const char *table_prefix, const char *key, const char *child_key)
721{
722 if (!first)
723 ss << ",";
724 ss << "\"";
725 ss << table_prefix;
726 ss << key;
727 if (child_key != NULL) {
728 ss << ".";
729 ss << child_key;
730 }
731 ss << "\"";
732 first = false;
733}
734
735static bool resolve_lua_table(DynamicString &table_prefix, lua_State *L, const char *table_path)
736{

Callers 1

console_command_suggestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected