Class ImmutableAttackTypeAdapter
java.lang.Object
com.google.gson.TypeAdapter<ImmutableAttack>
com.pixelmonmod.pixelmon.api.pokemon.stats.ImmutableAttackTypeAdapter
This adapter serializes
ImmutableAttack
as the English name.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionread
(com.google.gson.stream.JsonReader in) void
write
(com.google.gson.stream.JsonWriter out, ImmutableAttack value) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
ImmutableAttackTypeAdapter
public ImmutableAttackTypeAdapter()
-
-
Method Details
-
write
- Specified by:
write
in classcom.google.gson.TypeAdapter<ImmutableAttack>
- Throws:
IOException
-
read
- Specified by:
read
in classcom.google.gson.TypeAdapter<ImmutableAttack>
- Throws:
IOException
-