🎉 Add Network Packets
Dieser Commit ist enthalten in:
Ursprung
8d677e200d
Commit
ed24abe67f
@ -20,9 +20,11 @@
|
||||
package de.steamwar.network.packets.client;
|
||||
|
||||
import de.steamwar.network.packets.server.ServerNetworkHandler;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class ExecuteCommandPacket extends ClientPacket {
|
||||
|
||||
private static final long serialVersionUID = 6283457297487602016L;
|
||||
|
@ -20,9 +20,11 @@
|
||||
package de.steamwar.network.packets.client;
|
||||
|
||||
import de.steamwar.network.packets.server.ServerNetworkHandler;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class ImALobbyPacket extends ClientPacket {
|
||||
private static final long serialVersionUID = 8110246509205246654L;
|
||||
|
||||
|
@ -20,9 +20,11 @@
|
||||
package de.steamwar.network.packets.client;
|
||||
|
||||
import de.steamwar.network.packets.server.ServerNetworkHandler;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class InventoryCallbackPacket extends ClientPacket {
|
||||
private static final long serialVersionUID = -261823209186008718L;
|
||||
private int position;
|
||||
|
@ -20,9 +20,11 @@
|
||||
package de.steamwar.network.packets.client;
|
||||
|
||||
import de.steamwar.network.packets.server.ServerNetworkHandler;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class PrepareSchemPacket extends ClientPacket {
|
||||
|
||||
private static final long serialVersionUID = -4798561188105813349L;
|
||||
|
@ -20,11 +20,13 @@
|
||||
package de.steamwar.network.packets.common;
|
||||
|
||||
import de.steamwar.network.packets.NetworkHandler;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class FightEndsPacket extends CommonPacket {
|
||||
|
||||
private static final long serialVersionUID = 1279352415549011332L;
|
||||
|
@ -20,11 +20,13 @@
|
||||
package de.steamwar.network.packets.common;
|
||||
|
||||
import de.steamwar.network.packets.NetworkHandler;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class FightInfoPacket extends CommonPacket{
|
||||
|
||||
private static final long serialVersionUID = 7448644597856605853L;
|
||||
|
@ -20,9 +20,11 @@
|
||||
package de.steamwar.network.packets.server;
|
||||
|
||||
import de.steamwar.network.packets.client.ClientNetworkHandler;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class BaumemberUpdatePacket extends ServerPacket{
|
||||
private static final long serialVersionUID = 6863118892424244051L;
|
||||
|
||||
|
@ -20,9 +20,11 @@
|
||||
package de.steamwar.network.packets.server;
|
||||
|
||||
import de.steamwar.network.packets.client.ClientNetworkHandler;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class CloseInventoryPacket extends ServerPacket {
|
||||
|
||||
private static final long serialVersionUID = -2191021190060504521L;
|
||||
|
@ -20,11 +20,13 @@
|
||||
package de.steamwar.network.packets.server;
|
||||
|
||||
import de.steamwar.network.packets.client.ClientNetworkHandler;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class InventoryPacket extends ServerPacket {
|
||||
|
||||
private static final long serialVersionUID = 8071052544654047316L;
|
||||
|
@ -20,9 +20,11 @@
|
||||
package de.steamwar.network.packets.server;
|
||||
|
||||
import de.steamwar.network.packets.client.ClientNetworkHandler;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class PingPacket extends ServerPacket {
|
||||
private static final long serialVersionUID = 714647343959550378L;
|
||||
private int id;
|
||||
|
@ -20,9 +20,11 @@
|
||||
package de.steamwar.network.packets.server;
|
||||
|
||||
import de.steamwar.network.packets.client.ClientNetworkHandler;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class StartingServerPacket extends ServerPacket {
|
||||
private static final long serialVersionUID = 2808607245898121801L;
|
||||
private int user;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren