summaryrefslogtreecommitdiff
path: root/NET/worlds/network/receivedNetPacket.java
diff options
context:
space:
mode:
Diffstat (limited to 'NET/worlds/network/receivedNetPacket.java')
-rw-r--r--NET/worlds/network/receivedNetPacket.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/NET/worlds/network/receivedNetPacket.java b/NET/worlds/network/receivedNetPacket.java
new file mode 100644
index 0000000..a2f6622
--- /dev/null
+++ b/NET/worlds/network/receivedNetPacket.java
@@ -0,0 +1,20 @@
+package NET.worlds.network;
+
+import java.io.IOException;
+
+public abstract class receivedNetPacket extends netPacket {
+ public receivedNetPacket(ObjID id, int cmd) {
+ super(id, cmd);
+ }
+
+ public receivedNetPacket() {
+ }
+
+ public final void init(ObjID objID) {
+ this._objID = objID;
+ }
+
+ abstract void parseNetData(ServerInputStream var1) throws IOException;
+
+ abstract void process(WorldServer var1) throws Exception;
+}