mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Merge branch 'master' into pr
This commit is contained in:
commit
c3a8ecaeb0
359 changed files with 3109 additions and 3222 deletions
|
|
@ -6,22 +6,22 @@ class LoginPacket extends RakNetDataPacket{
|
|||
public $protocol2;
|
||||
public $clientId;
|
||||
public $loginData;
|
||||
|
||||
|
||||
public function pid(){
|
||||
return ProtocolInfo::LOGIN_PACKET;
|
||||
}
|
||||
|
||||
|
||||
public function decode(){
|
||||
$this->username = $this->getString();
|
||||
$this->protocol1 = $this->getInt();
|
||||
$this->protocol2 = $this->getInt();
|
||||
$this->clientId = $this->getInt();//null
|
||||
$this->loginData = $this->getString();
|
||||
$this->PROTOCOL = $this->protocol1;
|
||||
$this->PROTOCOL = $this->protocol1;
|
||||
}
|
||||
|
||||
|
||||
public function encode(){
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue