| 286 | IC CRestrictionPredicate(RestrictionSpace::ERestrictorTypes restrictor_type) { m_restrictor_type = restrictor_type; } |
| 287 | |
| 288 | IC void operator()(CRestrictedObject* object, ALife::_OBJECT_ID id) const |
| 289 | { |
| 290 | if (add) |
| 291 | object->add_object_restriction(id, m_restrictor_type); |
| 292 | else |
| 293 | object->remove_object_restriction(id, m_restrictor_type); |
| 294 | } |
| 295 | }; |
| 296 | |
| 297 | void CRestrictedObject::add_restrictions(const xr_vector<ALife::_OBJECT_ID>& out_restrictions, const xr_vector<ALife::_OBJECT_ID>& in_restrictions) |
nothing calls this directly
no test coverage detected