pocketmine\event\player\PlayerQuitEvent::__construct PHP Method

__construct() public method

public __construct ( Player $player, $quitMessage, $autoSave = true )
$player pocketmine\Player
    public function __construct(Player $player, $quitMessage, $autoSave = true)
    {
        $this->player = $player;
        $this->quitMessage = $quitMessage;
        $this->autoSave = $autoSave;
    }