mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-17 11:05:05 +00:00
Added a ISerializable interface to make it easier to send/receive complex packets.
11 lines
294 B
Java
11 lines
294 B
Java
package mcp.mobius.opis.data;
|
|
|
|
import java.io.DataInputStream;
|
|
import java.io.DataOutputStream;
|
|
import java.io.IOException;
|
|
|
|
public interface ISerializable {
|
|
void writeToStream(DataOutputStream stream) throws IOException;
|
|
//Object readFromStream(DataInputStream stream) throws IOException;
|
|
}
|