Class AttackBaseTypeAdapter
java.lang.Object
com.google.gson.TypeAdapter<ImmutableAttack>
com.pixelmonmod.pixelmon.api.pokemon.stats.AttackBaseTypeAdapter
This adapter serializes
ImmutableAttack as the English name.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader in) voidwrite(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
-
AttackBaseTypeAdapter
public AttackBaseTypeAdapter()
-
-
Method Details
-
write
- Specified by:
writein classcom.google.gson.TypeAdapter<ImmutableAttack>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<ImmutableAttack>- Throws:
IOException
-