Class AttackAnimationLogicTypeAdapter
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.AttackAnimationLogicTypeAdapter
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<AttackAnimationLogic>,com.google.gson.JsonSerializer<AttackAnimationLogic>
public class AttackAnimationLogicTypeAdapter
extends Object
implements com.google.gson.JsonSerializer<AttackAnimationLogic>, com.google.gson.JsonDeserializer<AttackAnimationLogic>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) com.google.gson.JsonElementserialize(AttackAnimationLogic src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
Field Details
-
ADAPTER
-
-
Constructor Details
-
AttackAnimationLogicTypeAdapter
public AttackAnimationLogicTypeAdapter()
-
-
Method Details
-
deserialize
public AttackAnimationLogic deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException - Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<AttackAnimationLogic>- Throws:
com.google.gson.JsonParseException
-
serialize
public com.google.gson.JsonElement serialize(AttackAnimationLogic src, Type typeOfSrc, com.google.gson.JsonSerializationContext context) - Specified by:
serializein interfacecom.google.gson.JsonSerializer<AttackAnimationLogic>
-