Package megamek.common.util
Class YamlSerializerAmmoType
java.lang.Object
megamek.common.util.YamlSerializerEquipmentType
megamek.common.util.YamlSerializerAmmoType
- 
Field SummaryFieldsFields inherited from class megamek.common.util.YamlSerializerEquipmentTypeVARIABLE, VERSION
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class megamek.common.util.YamlSerializerEquipmentTypegetBooleanFieldValue, getDoubleFieldValue, getFieldValue, getIntegerFieldValue, getStringFieldValue, serialize
- 
Field Details- 
TYPENAME- See Also:
 
 
- 
- 
Constructor Details- 
YamlSerializerAmmoTypepublic YamlSerializerAmmoType()Constructor for YamlSerializerAmmoType.
 
- 
- 
Method Details- 
serializeConstructs a map containing the YAML-serializable data for the given ammo type.- Parameters:
- ammo- The ammo type to serialize
- Returns:
- A map containing the YAML-serializable data for the equipment type
 
 
-