🎨 Refactor
Dieser Commit ist enthalten in:
Ursprung
0883af8b79
Commit
dcd06af559
@ -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
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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{
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren