From 5759e17941c537b7c73867d384cb9e22ce6f2b52 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 16 Apr 2020 15:04:40 -0400 Subject: [Update] Version 0.8.1 + Change domain to an actual website. --- .../net/transit/network/packet/MetaPacket.java | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 src/main/java/net/transit/network/packet/MetaPacket.java (limited to 'src/main/java/net/transit/network/packet/MetaPacket.java') diff --git a/src/main/java/net/transit/network/packet/MetaPacket.java b/src/main/java/net/transit/network/packet/MetaPacket.java deleted file mode 100644 index 7e49318..0000000 --- a/src/main/java/net/transit/network/packet/MetaPacket.java +++ /dev/null @@ -1,35 +0,0 @@ -package net.transit.network.packet; - -import net.transit.type.Type; - -/** Static packet with extra data attached. - * @author Kyle Gunger - * - * @param The data type (Object) that the packet transfers - * @param The type of metadata -*/ -public class MetaPacket extends StaticPacket -{ - private M metaData; - - /** Constructor - * - * @param dat The data to store - * @param t The Type of the data - * @param meta The metadata to store - */ - public MetaPacket(D dat, Type t, M meta) - { - super(dat, t); - metaData = meta; - } - - /** Get the metadata of the packet. - * - * @return The packet's metadata - */ - public M getMetaData() - { - return metaData; - } -} -- cgit v1.2.3