Merge branch 'master' into pr

This commit is contained in:
yefengeeeeeeeeeee 2025-05-10 15:47:11 +08:00 • committed by GitHub
commit b003448ac5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 427 additions and 262 deletions

View file

@ -127,6 +127,7 @@ class RakNetParser{
$reliability = ($packetFlags & 0b11100000) >> 5;
$hasSplit = ($packetFlags & 0b00010000) > 0;
$length = (int) ceil($this->getShort() / 8);
if($reliability === 2
or $reliability === 3
or $reliability === 4