public sealed override bool CanMount(MountPointType locationType, BodyCoverage restrictions) { if (m_UseDefaultMounter) { return(true); } if (Accessory.CanMount(this, PriorityMounter, locationType, restrictions)) { return(true); } return(m_Mounters.CanMount(this, locationType, restrictions) != -1); }
public sealed override bool CanMount(MountPoint location, BodyCoverage restrictions) { if (!location) { return(false); } if (Accessory.CanMount(this, PriorityMounter, location, restrictions)) { return(true); } return(m_Mounters.CanMount(this, location, restrictions) != -1); }