public class PokeLootRateAdapter extends org.spongepowered.configurate.serialize.ScalarSerializer<PokeLootRate>
Constructor and Description |
---|
PokeLootRateAdapter() |
Modifier and Type | Method and Description |
---|---|
PokeLootRate |
deserialize(java.lang.reflect.Type type,
java.lang.Object obj) |
java.lang.Object |
serialize(PokeLootRate item,
java.util.function.Predicate<java.lang.Class<?>> typeSupported) |
deserialize, deserialize, serialize, serializeToString, tryDeserialize, type
public PokeLootRate deserialize(java.lang.reflect.Type type, java.lang.Object obj) throws org.spongepowered.configurate.serialize.SerializationException
deserialize
in class org.spongepowered.configurate.serialize.ScalarSerializer<PokeLootRate>
org.spongepowered.configurate.serialize.SerializationException
public java.lang.Object serialize(PokeLootRate item, java.util.function.Predicate<java.lang.Class<?>> typeSupported)
serialize
in class org.spongepowered.configurate.serialize.ScalarSerializer<PokeLootRate>