mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Added class method DataPacket->canBeBatched()
This commit is contained in:
@ -40,6 +40,10 @@ abstract class DataPacket extends BinaryStream{
|
||||
return $this::NETWORK_ID;
|
||||
}
|
||||
|
||||
public function canBeBatched() : bool{
|
||||
return true;
|
||||
}
|
||||
|
||||
abstract public function encode();
|
||||
|
||||
abstract public function decode();
|
||||
|
Reference in New Issue
Block a user