| 280 | } |
| 281 | |
| 282 | std::vector<const ObjectRepositoryItem*> GetPackableObjects() override |
| 283 | { |
| 284 | std::vector<const ObjectRepositoryItem*> objects; |
| 285 | size_t numObjects = _objectRepository.GetNumObjects(); |
| 286 | for (size_t i = 0; i < numObjects; i++) |
| 287 | { |
| 288 | const ObjectRepositoryItem* item = &_objectRepository.GetObjects()[i]; |
| 289 | if (item->LoadedObject != nullptr && IsObjectCustom(item)) |
| 290 | { |
| 291 | objects.push_back(item); |
| 292 | } |
| 293 | } |
| 294 | return objects; |
| 295 | } |
| 296 | |
| 297 | static StringId GetObjectSourceGameString(const ObjectSourceGame sourceGame) |
| 298 | { |