mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-21 12:42:11 +00:00
Upon clicking on a chunk in MeanTime overlay, the client receive a list of entities for this chunk.
Added a ISerializable interface to make it easier to send/receive complex packets.
This commit is contained in:
1 parent
f9fb81aa26
commit
f49abc3ecb
10 files changed
+186
-22
No files matched your search
@@ -0,0 +1,10 @@
|
||||
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;
|
||||
}
|
||||
Reference in new issue
Block a user