| 311 | } |
| 312 | |
| 313 | bool AFCContainer::PlaceEntity(const uint32_t index, std::shared_ptr<AFIEntity> pEntity) |
| 314 | { |
| 315 | if (!entity_data_list_.insert(index, pEntity).second) |
| 316 | { |
| 317 | return false; |
| 318 | } |
| 319 | |
| 320 | if (current_index_ < index) |
| 321 | { |
| 322 | current_index_ = index; |
| 323 | } |
| 324 | |
| 325 | return true; |
| 326 | } |
| 327 | |
| 328 | void AFCContainer::OnContainerPlace(const uint32_t index, std::shared_ptr<AFIEntity> pEntity) |
| 329 | { |