players are now pushable, renamed 2 previously unknown variables(thanks to atipls' mcpealpha c# core)

This commit is contained in:
GameHerobrine 2022-09-25 00:08:55 +03:00
parent 1f1e1ed709
commit 53928f4e88
3 changed files with 46 additions and 29 deletions

View file

@ -1,24 +1,23 @@
<?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}");
}
}
<?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();
}
}