feat: defined property order of GameStructure message

This commit is contained in:
Yannik Bretschneider 2021-06-03 22:14:53 +02:00
parent 4354adda2a
commit c2e22e5374

View File

@ -1,6 +1,7 @@
package uulm.teamname.marvelous.gamelibrary.messages;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import uulm.teamname.marvelous.gamelibrary.config.CharacterConfig;
import uulm.teamname.marvelous.gamelibrary.config.CharacterProperties;
import uulm.teamname.marvelous.gamelibrary.config.PartyConfig;
@ -10,6 +11,15 @@ import java.util.Arrays;
import java.util.Objects;
import java.util.stream.Stream;
@JsonPropertyOrder({
"messageType",
"assignment",
"playerOneName",
"playerTwoName",
"playerOneCharacters",
"playerTwoCharacters",
"scenarioconfig",
"matchconfig"})
public class GameStructureMessage extends BasicMessage {
public final MessageType messageType = MessageType.GAME_STRUCTURE;