manual adding of missing file from my commit

*i forgot to use git add src/ =\*
This commit is contained in:
GameHerobrine 2022-09-24 20:11:40 +03:00 • committed by GitHub
parent 360e160b82
commit 0c75cf8473
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,24 @@
<?php
class PlayerInputPacket extends RakNetDataPacket{
public $unk1, $unk2, $unk3, $unk4;
public function encode()
{
}
public function pid()
{
return ProtocolInfo::PLAYER_INPUT_PACKET;
}
public function decode()
{
$this->unk1 = $this->getFloat();
$this->unk2 = $this->getFloat();
$this->unk3 = $this->getByte();
$this->unk4 = $this->getByte();
console("values: {$this->unk1}, {$this->unk2}, {$this->unk3}, {$this->unk4}");
}
}