| 220 | std::vector<SpecMapping<T>> &GetVector(BaseStation *bst) const override { return GetStationSpecList<T>(bst); } |
| 221 | |
| 222 | size_t GetLength() const override |
| 223 | { |
| 224 | return IsSavegameVersionBefore(SLV_SAVELOAD_LIST_LENGTH) ? last_num_specs : SlGetStructListLength(UINT8_MAX); |
| 225 | } |
| 226 | }; |
| 227 | |
| 228 | /* Instantiate SlStationSpecList classes. */ |
nothing calls this directly
no test coverage detected