Package mekhq.campaign.parts.equipment
Class HeatSink
java.lang.Object
mekhq.campaign.parts.Part
mekhq.campaign.parts.equipment.EquipmentPart
mekhq.campaign.parts.equipment.HeatSink
- 
Nested Class SummaryNested classes/interfaces inherited from class mekhq.campaign.parts.PartPart.PartPersonRef, Part.PartRef, Part.PartUnitRef
- 
Field SummaryFields inherited from class mekhq.campaign.parts.equipment.EquipmentPartequipmentNum, equipTonnage, size, type, typeNameFields inherited from class mekhq.campaign.parts.PartbrandNew, campaign, childParts, daysToArrival, daysToWait, hits, id, mode, name, omniPodded, parentPart, quality, quantity, resources, shorthandedMod, skillMin, TA_GENERIC, TA_POD, tech, timeSpent, unit, unitTonnage, unitTonnageMatters, usedForRefitPlanning, workingOvertimeFields inherited from interface megamek.common.interfaces.ITechnologyDATE_ES, DATE_NONE, DATE_PS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()intgetDetails(boolean includeRepairDetails) Gets a string containing details regarding the part, and optionally include information on its repair status.intCopied from megamek.common.units.Entity.getWeaponsAndEquipmentCost(StringBuffer detail, boolean ignoreAmmo)booleanvoidupdateConditionFromEntity(boolean checkForDestruction) Methods inherited from class mekhq.campaign.parts.equipment.EquipmentPartcheckFixable, fix, getEquipmentNum, getLocation, getLocationName, getMaxTonnage, getMounted, getSize, getStartingTonnage, getTechAdvancement, getTechRating, getTonnage, getTonnageIncrement, getType, hasVariableTonnage, isInLocation, isMountedOnDestroyedLocation, isPartForEquipmentNum, isRearFacing, isSamePartType, loadFieldsFromXmlNode, needsFixing, onBadHipOrShoulder, remove, restore, setEquipmentNum, setEquipTonnage, setUnit, updateConditionFromPart, writeToXMLMethods inherited from class mekhq.campaign.parts.PartaddChildPart, addTimeSpent, adjustCostsForCampaignOptions, adjustCostsForCampaignOptions, calcYearAvailability, cancelReservation, canChangeWorkMode, canNeverScrap, changeQuantity, checkScrappable, copyBaseData, decrementDaysToWait, decrementQuantity, doMaintenanceDamage, fail, findPartImage, fixReferences, generateInstanceFromXML, getAcquisitionWork, getActualTime, getActualValue, getAllMods, getAllModsForMaintenance, getArrivalReport, getAvailability, getBaseAvailability, getCampaign, getChildParts, getCommonDate, getCommonDate, getCurrentModeName, getDaysToArrival, getDaysToWait, getDesc, getDetails, getExtinctionDate, getExtinctionDate, getExtinctionDate, getHits, getId, getIntroductionDate, getIntroductionDate, getIntroductionDate, getMode, getMRMSOptionType, getName, getParentPart, getPartName, getProductionDate, getProductionDate, getProductionDate, getPrototypeDate, getPrototypeDate, getPrototypeDate, getQuality, getQualityName, getQuantity, getQuantityForPartsInUse, getQuantityName, getRefitUnit, getReintroductionDate, getReintroductionDate, getReintroductionDate, getRepairDesc, getReplacementPart, getReservedBy, getSellableQuantity, getShoppingListReport, getShorthandedMod, getSimpleTechLevel, getSimpleTechLevel, getSimpleTechLevel, getSkillMin, getStaticTechLevel, getStatus, getTech, getTechBase, getTechBaseName, getTechBaseName, getTechLevel, getTimeLeft, getTimeSpent, getTotalQuantity, getUndamagedValue, getUnit, getUnitTonnage, hasChildParts, hasParentPart, hasReplacementPart, hasWorkedOvertime, improveQuality, incrementQuantity, isBeingWorkedOn, isBrandNew, isClan, isClanTechBase, isInSupply, isIntroducedBy, isMixedTech, isOmniPodded, isPartUsedOrReserved, isPresent, isPriceAdjustedForAmount, isReservedForRefit, isReservedForReplacement, isRightTechType, isSalvaging, isSamePartTypeAndStatus, isSameStatus, isSpare, isTeamSalvaging, isUnitTonnageMatters, isUsedForRefitPlanning, needsMaintenance, postProcessCampaignAddition, reduceQuality, removeAllChildParts, removeChildPart, reservePart, resetDaysToWait, resetModeToNormal, resetOvertime, resetRepairSettings, resetTimeSpent, scrap, setBrandNew, setCampaign, setDaysToArrival, setHits, setId, setMode, setOmniPodded, setParentPart, setQuality, setQuantity, setRefitUnit, setReplacementPart, setReservedBy, setShorthandedMod, setSkillMin, setTech, setUsedForRefitPlanning, setWorkedOvertime, succeed, toString, writeToXMLBegin, writeToXMLEndMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface mekhq.campaign.work.IPartWorkcancelAssignmentMethods inherited from interface megamek.common.interfaces.ITechnologycalcEraAvailability, calcEraAvailability, calcYearAvailability, calcYearAvailability, findMinimumRulesLevel, findMinimumRulesLevel, getAdvancedRange, getAdvancedRange, getCodeFromIOAbbr, getCodeFromMMAbbr, getEraAvailabilityName, getEraAvailabilityName, getExperimentalRange, getExperimentalRange, getExtinctionRange, getExtinctionRange, getFullRatingName, getFullRatingName, getSimpleLevel, getSimpleLevel, getSimpleLevel, getStandardRange, getStandardRange, getTechLevel, getTechLevel, getTechRatingName, isAvailableIn, isAvailableIn, isAvailableIn, isExtinct, isExtinct, isExtinct, isIntroLevel, isLegal, isLegal, isUnofficial
- 
Constructor Details- 
HeatSinkpublic HeatSink()
- 
HeatSinkpublic HeatSink(int tonnage, megamek.common.equipment.EquipmentType et, int equipNum, boolean omniPodded, Campaign c) 
 
- 
- 
Method Details- 
clone- Overrides:
- clonein class- EquipmentPart
 
- 
getStickerPriceCopied from megamek.common.units.Entity.getWeaponsAndEquipmentCost(StringBuffer detail, boolean ignoreAmmo)- Specified by:
- getStickerPricein interface- IPartWork
- Overrides:
- getStickerPricein class- EquipmentPart
- Returns:
- the part's sticker price
 
- 
getMissingPart- Specified by:
- getMissingPartin interface- IPartWork
- Overrides:
- getMissingPartin class- EquipmentPart
 
- 
updateConditionFromEntitypublic void updateConditionFromEntity(boolean checkForDestruction) - Specified by:
- updateConditionFromEntityin interface- IPartWork
- Overrides:
- updateConditionFromEntityin class- EquipmentPart
 
- 
getBaseTimepublic int getBaseTime()- Specified by:
- getBaseTimein interface- IPartWork
- Overrides:
- getBaseTimein class- EquipmentPart
 
- 
getDifficultypublic int getDifficulty()- Specified by:
- getDifficultyin interface- IWork
- Overrides:
- getDifficultyin class- EquipmentPart
- Returns:
- the base difficulty of this work unit
 
- 
getRepairPartType- Specified by:
- getRepairPartTypein interface- IPartWork
- Overrides:
- getRepairPartTypein class- Part
 
- 
isOmniPoddablepublic boolean isOmniPoddable()- Overrides:
- isOmniPoddablein class- EquipmentPart
 
- 
getDetailsGets a string containing details regarding the part, and optionally include information on its repair status.- Specified by:
- getDetailsin interface- IPartWork
- Overrides:
- getDetailsin class- Part
- Parameters:
- includeRepairDetails-- trueif the details should include information such as the number of hits or how much it would cost to repair the part.
- Returns:
- A string containing details regarding the part.
 
 
-