RakNet data packet codec

This commit is contained in:
Shoghi Cervantes
2014-02-07 00:56:40 +01:00
parent c048564981
commit dbbfbdffaa
2 changed files with 35 additions and 2 deletions

View File

@@ -2315,7 +2315,8 @@ class Player{
}
$packet->messageIndex = $this->counter[3]++;
$this->buffer->data[] .= $packet;
$packet->reliability = 2;
$this->buffer->data[] = $packet;
$this->bufferLen += 6 + $len;
return array();
}