Package megamek.common.util
Class YamlSerializerMiscType
java.lang.Object
megamek.common.util.YamlSerializerEquipmentType
megamek.common.util.YamlSerializerMiscType
-
Field Summary
FieldsFields inherited from class megamek.common.util.YamlSerializerEquipmentType
VARIABLE, VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionserialize(EquipmentType equipment) Constructs a map containing the YAML-serializable data for the given misc type.Methods inherited from class megamek.common.util.YamlSerializerEquipmentType
getBooleanFieldValue, getDoubleFieldValue, getFieldValue, getIntegerFieldValue, getStringFieldValue, getTypedFieldValue
-
Field Details
-
TYPENAME
- See Also:
-
-
Constructor Details
-
YamlSerializerMiscType
public YamlSerializerMiscType()Constructor for YamlSerializerAmmoType.
-
-
Method Details
-
serialize
Constructs a map containing the YAML-serializable data for the given misc type.- Overrides:
serializein classYamlSerializerEquipmentType- Parameters:
equipment- The misc type to serialize- Returns:
- A map containing the YAML-serializable data for the equipment type
-