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

Method json_write_comma

crawl-ref/source/tileweb.cc:2602–2610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2600}
2601
2602void TilesFramework::json_write_comma()
2603{
2604 if (m_msg_buf.empty())
2605 return;
2606 char last = m_msg_buf[m_msg_buf.size() - 1];
2607 if (last == '{' || last == '[' || last == ',' || last == ':')
2608 return;
2609 write_message(",");
2610}
2611
2612void TilesFramework::json_write_icons(const set<tileidx_t> &icons)
2613{

Callers 4

sendMethod · 0.80
send_dollMethod · 0.80
send_mcacheMethod · 0.80
describe_monsterFunction · 0.80

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected