| 224 | } |
| 225 | |
| 226 | IC void CRestrictedObject::remove_object_restriction(ALife::_OBJECT_ID id, const RestrictionSpace::ERestrictorTypes& restrictor_type) |
| 227 | { |
| 228 | NET_Packet net_packet; |
| 229 | object().u_EventGen(net_packet, GE_REMOVE_RESTRICTION, object().ID()); |
| 230 | net_packet.w(&id, sizeof(id)); |
| 231 | net_packet.w(&restrictor_type, sizeof(restrictor_type)); |
| 232 | Level().Send(net_packet, net_flags(TRUE, TRUE)); |
| 233 | } |
| 234 | |
| 235 | template <typename P, const bool value, typename StrType> |
| 236 | static void construct_restriction_string(StrType& temp_restrictions, const xr_vector<ALife::_OBJECT_ID>& restrictions, const shared_str& current_restrictions, const P& p, |
no test coverage detected