Dieser Commit ist enthalten in:
Chaoscaot 2022-04-25 14:16:03 +02:00
Ursprung 0883af8b79
Commit dcd06af559
4 geänderte Dateien mit 9 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -21,20 +21,24 @@ package de.steamwar.network.packets.client;
import de.steamwar.network.packets.server.ServerNetworkHandler; import de.steamwar.network.packets.server.ServerNetworkHandler;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data; import lombok.Data;
import lombok.NonNull; import lombok.NonNull;
@Builder
@Data @Data
@AllArgsConstructor @AllArgsConstructor
public class InventoryCallbackPacket extends ClientPacket { public class InventoryCallbackPacket extends ClientPacket {
private static final long serialVersionUID = -261823209186008718L; private static final long serialVersionUID = -261823209186008718L;
@NonNull @NonNull
@Builder.Default
private int position = -1; private int position = -1;
@NonNull @NonNull
private int owner; private int owner;
@NonNull @NonNull
private CallbackType type; private CallbackType type;
@NonNull @NonNull
@Builder.Default
private ClickType clickType = ClickType.UNKNOWN; private ClickType clickType = ClickType.UNKNOWN;
@Override @Override

Datei anzeigen

@ -20,11 +20,13 @@
package de.steamwar.network.packets.common; package de.steamwar.network.packets.common;
import de.steamwar.network.packets.NetworkHandler; import de.steamwar.network.packets.NetworkHandler;
import lombok.Builder;
import lombok.Data; import lombok.Data;
import lombok.NonNull; import lombok.NonNull;
import java.util.List; import java.util.List;
@Builder
@Data @Data
public class FightEndsPacket extends CommonPacket { public class FightEndsPacket extends CommonPacket {

Datei anzeigen

@ -20,11 +20,13 @@
package de.steamwar.network.packets.common; package de.steamwar.network.packets.common;
import de.steamwar.network.packets.NetworkHandler; import de.steamwar.network.packets.NetworkHandler;
import lombok.Builder;
import lombok.Data; import lombok.Data;
import lombok.NonNull; import lombok.NonNull;
import java.util.List; import java.util.List;
@Builder
@Data @Data
public class FightInfoPacket extends CommonPacket{ public class FightInfoPacket extends CommonPacket{

Datei anzeigen

@ -26,7 +26,7 @@ import lombok.NonNull;
@Data @Data
public class StartingServerPacket extends ServerPacket { public class StartingServerPacket extends ServerPacket {
private static final long serialVersionUID = 2808607245898121801L; private static final long serialVersionUID = 2808607245898121801L;
@NonNull
private int user; private int user;
@Override @Override