| 332 | } |
| 333 | |
| 334 | void JSONTimelineDecoder::JSONEntity::AddConnection(JSONEntity& headEntity, JSONEntity& connectedEntity) |
| 335 | { |
| 336 | std::vector<uint64_t>::iterator it = std::find(headEntity.childEntities.begin(), |
| 337 | headEntity.childEntities.end(), connectedEntity.GetGuid()); |
| 338 | headEntity.childEntities.erase(it); |
| 339 | headEntity.connected_entities.push_back(connectedEntity.m_Guid); |
| 340 | } |
| 341 | |
| 342 | uint64_t JSONTimelineDecoder::JSONEntity::GetGuid() |
| 343 | { |