/// <summary> /// Hash the decoupler. /// </summary> public override int GetHashCode () { int hash = part.GetHashCode (); if (decoupler != null) hash ^= decoupler.GetHashCode (); if (anchoredDecoupler != null) hash ^= anchoredDecoupler.GetHashCode (); return hash; }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { int hash = Part.GetHashCode() ^ port.GetHashCode(); if (shield != null) { hash ^= shield.GetHashCode(); } return(hash); }
/// <summary> /// Hash the resource converter. /// </summary> public override int GetHashCode() { int hash = part.GetHashCode(); foreach (var converter in converters) { hash ^= converter.GetHashCode(); } return(hash); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { int hash = Part.GetHashCode(); if (decoupler != null) { hash ^= decoupler.GetHashCode(); } if (anchoredDecoupler != null) { hash ^= anchoredDecoupler.GetHashCode(); } return(hash); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { int hash = Part.GetHashCode(); if (activeRadiator != null) { hash ^= activeRadiator.GetHashCode(); } if (deployableRadiator != null) { hash ^= deployableRadiator.GetHashCode(); } return(hash); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { int h = Part.GetHashCode(); if (fairing != null) { h ^= fairing.GetHashCode(); } if (proceduralFairing != null) { h ^= proceduralFairing.GetHashCode(); } return(h); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { var hash = Part.GetHashCode(); if (deployment != null) { hash ^= deployment.GetHashCode(); } if (damage != null) { hash ^= damage.GetHashCode(); } return(hash); }
/// <summary> /// Hash the landing gear. /// </summary> public override int GetHashCode() { int hash = part.GetHashCode(); if (gear != null) { hash ^= gear.GetHashCode(); } if (advGear != null) { hash ^= advGear.GetHashCode(); } if (fixedGear != null) { hash ^= fixedGear.GetHashCode(); } return(hash); }
/// <summary> /// Hash the engine. /// </summary> public override int GetHashCode() { int hash = part.GetHashCode(); if (engine != null) { hash ^= engine.GetHashCode(); } if (engineFx != null) { hash ^= engineFx.GetHashCode(); } if (gimbal != null) { hash ^= gimbal.GetHashCode(); } return(hash); }
/// <summary> /// Hash the docking ports. /// </summary> public override int GetHashCode() { int hash = part.GetHashCode() ^ port.GetHashCode(); if (shield != null) { hash ^= shield.GetHashCode(); } if (portNameModule != null) { hash ^= portNameModule.GetHashCode(); } if (portNameField != null) { hash ^= portNameField.GetHashCode(); } return(hash); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { int hash = Part.GetHashCode(); hash ^= engines.GetHashCode(); foreach (var engine in engines) { hash ^= engine.GetHashCode(); } if (multiModeEngine != null) { hash ^= multiModeEngine.GetHashCode(); } if (gimbal != null) { hash ^= gimbal.GetHashCode(); } return(hash); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { return(Part.GetHashCode() ^ reactionWheel.GetHashCode()); }
/// <summary> /// Hash the light. /// </summary> public override int GetHashCode() { return(part.GetHashCode() ^ light.GetHashCode()); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { int hash = Part.GetHashCode() ^ servo.GetHashCode(); return(hash); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { return(Part.GetHashCode() ^ parachute.GetHashCode()); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { return(Part.GetHashCode() ^ harvester.GetHashCode()); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { return(Part.GetHashCode() ^ launchClamp.GetHashCode()); }
/// <summary> /// Hash the intake. /// </summary> public override int GetHashCode() { return(part.GetHashCode() ^ intake.GetHashCode()); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { return(Part.GetHashCode() ^ experiment.GetHashCode()); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { return(part.GetHashCode() ^ transformIndex.GetHashCode()); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { return(Part.GetHashCode() ^ controlSurface.GetHashCode()); }
/// <summary> /// Hash the radiator. /// </summary> public override int GetHashCode() { return(part.GetHashCode() ^ radiator.GetHashCode()); }
/// <summary> /// Hash the resource harvester. /// </summary> public override int GetHashCode() { return(part.GetHashCode() ^ harvester.GetHashCode() ^ animator.GetHashCode()); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode () { return Part.GetHashCode () ^ rcs.GetHashCode (); }
/// <summary> /// Hash the solar panel. /// </summary> public override int GetHashCode() { return(part.GetHashCode() ^ panel.GetHashCode()); }
/// <summary> /// Hash the module. /// </summary> public override int GetHashCode() { return(part.GetHashCode() ^ module.GetHashCode()); }
/// <summary> /// Hash the sensor. /// </summary> public override int GetHashCode() { return(part.GetHashCode() ^ sensor.GetHashCode()); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { return(Part.GetHashCode() ^ decoupler.Instance.GetHashCode()); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { return(Part.GetHashCode()); }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { return(Part.GetHashCode() ^ transmitter.GetHashCode()); }