it is done
This commit is contained in:
24
core/src/mindustry/net/Packet.java
Normal file
24
core/src/mindustry/net/Packet.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package mindustry.net;
|
||||
|
||||
import arc.util.pooling.Pool.Poolable;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
public interface Packet extends Poolable{
|
||||
default void read(ByteBuffer buffer){
|
||||
}
|
||||
|
||||
default void write(ByteBuffer buffer){
|
||||
}
|
||||
|
||||
default void reset(){
|
||||
}
|
||||
|
||||
default boolean isImportant(){
|
||||
return false;
|
||||
}
|
||||
|
||||
default boolean isUnimportant(){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user