feat: completed RequestDeserializer
This commit is contained in:
@ -1,10 +1,13 @@
|
||||
package uulm.teamname.marvelous.gamelibrary.requests;
|
||||
|
||||
import uulm.teamname.marvelous.gamelibrary.json.ingame.MessageStructure;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import uulm.teamname.marvelous.gamelibrary.json.basic.EventMessage;
|
||||
import uulm.teamname.marvelous.gamelibrary.json.ingame.RequestDeserializer;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/** Represents an abstract request sent inside a {@link MessageStructure} between client and server. */
|
||||
/** Represents an abstract request sent inside a {@link EventMessage} between client and server. */
|
||||
@JsonDeserialize(using = RequestDeserializer.class)
|
||||
public abstract class Request {
|
||||
public RequestType type;
|
||||
|
||||
|
Reference in New Issue
Block a user