Added class method DataPacket->canBeBatched()

This commit is contained in:
Dylan K. Taylor
2017-02-27 11:09:49 +00:00
parent 56990eb28b
commit ea0f291cb5
4 changed files with 13 additions and 1 deletions

View File

@ -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();