| 159 | } |
| 160 | |
| 161 | void ObjectList::SetObject(ObjectEntryIndex index, const ObjectEntryDescriptor& entry) |
| 162 | { |
| 163 | auto& subList = GetList(entry.GetType()); |
| 164 | if (subList.size() <= index) |
| 165 | { |
| 166 | subList.resize(static_cast<size_t>(index) + 1); |
| 167 | } |
| 168 | subList[index] = entry; |
| 169 | } |
| 170 | |
| 171 | void ObjectList::SetObject(ObjectType type, ObjectEntryIndex index, std::string_view identifier) |
| 172 | { |
no test coverage detected