Some BINKP optimisation, implemented crypt, implemented receiving compressed transfers
This commit is contained in:
@@ -15,8 +15,6 @@ class Mail extends Item
|
||||
*/
|
||||
public function __construct(Packet $mail,int $action)
|
||||
{
|
||||
$this->action |= $action;
|
||||
|
||||
switch ($action) {
|
||||
case self::I_SEND:
|
||||
$this->file = $mail;
|
||||
@@ -29,6 +27,8 @@ class Mail extends Item
|
||||
default:
|
||||
throw new \Exception('Unknown action: '.$action);
|
||||
}
|
||||
|
||||
$this->action = $action;
|
||||
}
|
||||
|
||||
public function read(int $start,int $length): string
|
||||
|
Reference in New Issue
Block a user