mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
better(?) way to handle eid translation, local eid 0 is not used now, some additional fixes
This commit is contained in:
parent
62819f8b12
commit
21f8796e89
32 changed files with 345 additions and 56 deletions
|
|
@ -13,10 +13,18 @@ abstract class RakNetDataPacket extends stdClass{
|
|||
public $splitIndex;
|
||||
private $offset = 0;
|
||||
|
||||
abstract public function encode();
|
||||
public abstract function encode();
|
||||
|
||||
abstract public function decode();
|
||||
public abstract function decode();
|
||||
|
||||
public $localEids = false;
|
||||
public function eidsToLocal(Player $p){
|
||||
return true;
|
||||
}
|
||||
public function eidsToGlobal(Player $p){
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getBuffer(){
|
||||
return $this->buffer;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue