Class AttackTypeAdapter
java.lang.Object
com.google.gson.TypeAdapter<Attack>
com.pixelmonmod.pixelmon.api.pokemon.stats.AttackTypeAdapter
This adapter serializes
Attack
as the English name.-
Constructor Summary
-
Method Summary
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
AttackTypeAdapter
public AttackTypeAdapter()
-
-
Method Details
-
write
- Specified by:
write
in classcom.google.gson.TypeAdapter<Attack>
- Throws:
IOException
-
read
- Specified by:
read
in classcom.google.gson.TypeAdapter<Attack>
- Throws:
IOException
-