MCPcopy Create free account
hub / github.com/crawl/crawl / _combo_array

Function _combo_array

crawl-ref/source/playable.cc:171–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171static JsonNode *_combo_array()
172{
173 JsonNode *array(json_mkarray());
174 for (const string &combo_abbr : playable_combo_names())
175 json_append_element(array, json_mkstring(combo_abbr));
176 return array;
177}
178
179/*! @brief Returns a JSON object (encoded as a string) of the form
180 * @code

Callers 1

playable_metadata_jsonFunction · 0.85

Calls 3

playable_combo_namesFunction · 0.85
json_append_elementFunction · 0.85
json_mkstringFunction · 0.85

Tested by

no test coverage detected