From 23bdf5662f263529f486669ca041252ef52574f8 Mon Sep 17 00:00:00 2001 From: Jonah Bauer Date: Thu, 25 Nov 2021 19:36:52 +0100 Subject: [PATCH] CLI Client #15 --- .../jonahbauer/wizard/common/messages/server/NackMessage.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wizard-common/src/main/java/eu/jonahbauer/wizard/common/messages/server/NackMessage.java b/wizard-common/src/main/java/eu/jonahbauer/wizard/common/messages/server/NackMessage.java index 56ec398..3a4c2c5 100644 --- a/wizard-common/src/main/java/eu/jonahbauer/wizard/common/messages/server/NackMessage.java +++ b/wizard-common/src/main/java/eu/jonahbauer/wizard/common/messages/server/NackMessage.java @@ -21,6 +21,9 @@ public final class NackMessage extends ServerMessage implements Response { public static final int GAME_NOT_YET_STARTED = 302; public static final int SESSION_FULL = 303; + @Deprecated + public static final int BAD_REQUEST = 999; + private final int code; private final String message;