| 164 | } |
| 165 | |
| 166 | bool Has(uint32_t id, bool searchWorld = false) const |
| 167 | { |
| 168 | if (searchWorld) |
| 169 | return m_worldFeatures.HasBit(id); |
| 170 | return m_countryFeatures.HasBit(id); |
| 171 | } |
| 172 | |
| 173 | bool IsEmpty() const { return m_countryFeatures.IsEmpty() && m_worldFeatures.IsEmpty(); } |
| 174 |