| 1404 | } |
| 1405 | |
| 1406 | void EntityDescriptionField::WriteNavMeshConnectionDataVec(const std::vector<NavMeshConnectionData>& val) { |
| 1407 | int32_t val_size = (int32_t)val.size(); |
| 1408 | memwrite(&val_size, sizeof(int32_t), 1, data); |
| 1409 | for (int i = 0; i < val_size; ++i) { |
| 1410 | const NavMeshConnectionData& nmcd = val[i]; |
| 1411 | MemWriteNavMeshConnectionData(nmcd, data); |
| 1412 | } |
| 1413 | } |
| 1414 | |
| 1415 | void EntityDescriptionField::ReadString(std::string* str) const { |
| 1416 | str->assign(data.begin(), data.end()); |
no test coverage detected