MCPcopy Create free account
hub / github.com/aldelaro5/dolphin-memory-engine / writeToJson

Method writeToJson

Source/Structs/FieldDef.cpp:235–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void FieldDef::writeToJson(QJsonObject& json)
236{
237 json["offset"] = static_cast<double>(m_structOffset);
238 json["length"] = static_cast<double>(m_size);
239
240 if (!m_entry)
241 return;
242
243 QJsonObject entryJson;
244 m_entry->writeToJson(entryJson);
245 json["entry"] = entryJson;
246}

Calls

no outgoing calls

Tested by

no test coverage detected