feat: defined property order of GameStructure message
This commit is contained in:
parent
4354adda2a
commit
c2e22e5374
@ -1,6 +1,7 @@
|
|||||||
package uulm.teamname.marvelous.gamelibrary.messages;
|
package uulm.teamname.marvelous.gamelibrary.messages;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
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.CharacterConfig;
|
||||||
import uulm.teamname.marvelous.gamelibrary.config.CharacterProperties;
|
import uulm.teamname.marvelous.gamelibrary.config.CharacterProperties;
|
||||||
import uulm.teamname.marvelous.gamelibrary.config.PartyConfig;
|
import uulm.teamname.marvelous.gamelibrary.config.PartyConfig;
|
||||||
@ -10,6 +11,15 @@ import java.util.Arrays;
|
|||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
|
@JsonPropertyOrder({
|
||||||
|
"messageType",
|
||||||
|
"assignment",
|
||||||
|
"playerOneName",
|
||||||
|
"playerTwoName",
|
||||||
|
"playerOneCharacters",
|
||||||
|
"playerTwoCharacters",
|
||||||
|
"scenarioconfig",
|
||||||
|
"matchconfig"})
|
||||||
public class GameStructureMessage extends BasicMessage {
|
public class GameStructureMessage extends BasicMessage {
|
||||||
|
|
||||||
public final MessageType messageType = MessageType.GAME_STRUCTURE;
|
public final MessageType messageType = MessageType.GAME_STRUCTURE;
|
||||||
|
Loading…
Reference in New Issue
Block a user