Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince 0.50.08, use
BehaviorSettings.getMutualSupportIndex(). The setting was renamed from herding to mutual support; this delegates so code outside MegaMek keeps building.since 0.50.08, useBehaviorSettings.getMutualSupportValue().since 0.50.08, useBehaviorSettings.getMutualSupportValue(int).since 0.50.08, useBehaviorSettings.isExclusiveMutualSupport(). The setting was renamed from herding to mutual support; this delegates so code outside MegaMek keeps building.unusedsince 0.50.08, useBehaviorSettings.setExclusiveMutualSupport(boolean).since 0.50.08, useBehaviorSettings.setExclusiveMutualSupport(String).since 0.50.08, useBehaviorSettings.setMutualSupportIndex(int).since 0.50.08, useBehaviorSettings.setMutualSupportIndex(String).No indicated uses.since 0.51.01, useGUIPreferences.getGifGameSummaryRecording(); returnstrueonly forGifRecordingMode.ALWAYS.since 0.51.01, useGUIPreferences.setGifGameSummaryRecording(GifRecordingMode); mapstruetoGifRecordingMode.ALWAYSandfalsetoGifRecordingMode.NEVER.question is never used, use the other constructor instead.UseC3Util.sameNhC3System(Entity, Entity)instead as it provides the same functionality.useSorting.getDirection()insteaduseSorting.getDirection()insteadsettings help surfaces always use the shared localized titlesettings help surfaces always use the shared localized titlesettings help surfaces always use the shared localized titleno indicated uses.no indicated uses.no indicated uses.no indicated uses.no indicated uses.no indicated uses.Don't use anything, this class is deprecated and will be removed in the future. There is no substitute display class for the ArmlessMekMapSet as this type of mek is no longer supported.Use the builtin Math.clamp() method instead.no indicated uses.UseOptionsConstants.MD_EI_IMPLANTinstead. EI Implant is now an official Manei Domini augmentation.useTurnOrdered.rollInitiative(List, boolean, Map)instead.useTerrains.SOLARIS_ELEVATOR; renamed to distinguish it fromTerrains.INDUSTRIAL_ELEVATOR.Unused, will be removed in future versions. Use the other constructorthis sends the whole phase report accumulated so far, so a second mid-phase interruption re-sends everything the first one already delivered. UseTWGameManager.sendNewSpecialReportsTo(int)to send a player only what is new, orTWGameManager.createSpecialReportPacket(Vector)to send an explicit set of reports.since 0.51.0, useTWGameManager.removeFire(int, Coords, String)so the fire and the per-board flamer-started-fire marker are cleared on the correct board in multi-board games. This overload only affects board 0.
-
Deprecated ClassesClassDescriptionThis should be removed and replaced with an AffineTransformation Filter instead.Don't use anything, this class is deprecated and will be removed in the future. There is no substitute display class for the ArmlessMekMapSet as this type of mek is no longer supported.
-
Deprecated Enum Classes
-
Deprecated Record ClassesRecord ClassDescription
-
Deprecated FieldsFieldDescriptionUse
OptionsConstants.ADVANCED_NEURAL_INTERFACE_MODEinstead.UseOptionsConstants.MD_EI_IMPLANTinstead. EI Implant is now an official Manei Domini augmentation.useTerrains.SOLARIS_ELEVATOR; renamed to distinguish it fromTerrains.INDUSTRIAL_ELEVATOR.
-
Deprecated MethodsMethodDescriptionsince 0.50.08, use
BehaviorSettings.getMutualSupportIndex(). The setting was renamed from herding to mutual support; this delegates so code outside MegaMek keeps building.since 0.50.08, useBehaviorSettings.getMutualSupportValue().since 0.50.08, useBehaviorSettings.getMutualSupportValue(int).since 0.50.08, useBehaviorSettings.isExclusiveMutualSupport(). The setting was renamed from herding to mutual support; this delegates so code outside MegaMek keeps building.unusedsince 0.50.08, useBehaviorSettings.setExclusiveMutualSupport(boolean).since 0.50.08, useBehaviorSettings.setExclusiveMutualSupport(String).since 0.50.08, useBehaviorSettings.setMutualSupportIndex(int).since 0.50.08, useBehaviorSettings.setMutualSupportIndex(String).No indicated uses.since 0.51.01, useGUIPreferences.getGifGameSummaryRecording(); returnstrueonly forGifRecordingMode.ALWAYS.since 0.51.01, useGUIPreferences.setGifGameSummaryRecording(GifRecordingMode); mapstruetoGifRecordingMode.ALWAYSandfalsetoGifRecordingMode.NEVER.UseC3Util.sameNhC3System(Entity, Entity)instead as it provides the same functionality.useSorting.getDirection()insteaduseSorting.getDirection()insteadsince 0.50.04 - Unknown replacement.no indicated uses.no indicated uses.no indicated uses.Use the builtin Math.clamp() method instead.Use the builtin Math.clamp() method instead.Use the builtin Math.clamp() method instead.Use the builtin Math.clamp() method instead.no indicated uses.since 0.50.06, the rules that don't allow some ammo for clan units should be based on tech access/availability, not a hardcoded list of ammo types. As soon as the tech rules for munition variations are working completely then this will be removed.Use getFactionFromIOAbbr instead.Use getFactionFromMMAbbr instead.UseTechRating.getName()instead.Use getEscapePodLandingCoords() instead for hex-based selectionuseTurnOrdered.rollInitiative(List, boolean, Map)instead.useAero.setOSI(int)insteadUseConvInfantry.getProstheticEnhancement1()insteadUseConvInfantry.getProstheticEnhancement1Count()insteadUseConvInfantry.setProstheticEnhancement1Count(int)insteadthis sends the whole phase report accumulated so far, so a second mid-phase interruption re-sends everything the first one already delivered. UseTWGameManager.sendNewSpecialReportsTo(int)to send a player only what is new, orTWGameManager.createSpecialReportPacket(Vector)to send an explicit set of reports.since 0.51.0, useTWGameManager.removeFire(int, Coords, String)so the fire and the per-board flamer-started-fire marker are cleared on the correct board in multi-board games. This overload only affects board 0.
-
Deprecated ConstructorsConstructorDescriptionquestion is never used, use the other constructor instead.settings help surfaces always use the shared localized titlesettings help surfaces always use the shared localized titlesettings help surfaces always use the shared localized titleno indicated uses.no indicated uses.no indicated uses.Unused, will be removed in future versions. Use the other constructor