fix: corrected JSON property order of CharacterRequest
This commit is contained in:
		@ -1,5 +1,6 @@
 | 
			
		||||
package uulm.teamname.marvelous.gamelibrary.requests;
 | 
			
		||||
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
 | 
			
		||||
import uulm.teamname.marvelous.gamelibrary.IntVector2;
 | 
			
		||||
import uulm.teamname.marvelous.gamelibrary.entities.EntityID;
 | 
			
		||||
import uulm.teamname.marvelous.gamelibrary.entities.StoneType;
 | 
			
		||||
@ -7,6 +8,7 @@ import uulm.teamname.marvelous.gamelibrary.entities.StoneType;
 | 
			
		||||
import java.util.Objects;
 | 
			
		||||
 | 
			
		||||
/** Represents a character event for: {@link RequestType#MeleeAttackRequest}, {@link RequestType#RangedAttackRequest}, {@link RequestType#MoveRequest}, {@link RequestType#ExchangeInfinityStoneRequest}, {@link RequestType#UseInfinityStoneRequest}. */
 | 
			
		||||
@JsonPropertyOrder({"requestType", "originEntity", "targetEntity", "originField", "targetField", "stoneType", "value"})
 | 
			
		||||
public class CharacterRequest extends Request {
 | 
			
		||||
    public EntityID originEntity = null;
 | 
			
		||||
    public EntityID targetEntity = null;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user