Skip to content

ZippedResourcePack ​

class · pocketmine\resourcepacks\ZippedResourcePack · source

Implements ResourcePack

Properties ​

$fileResource protected ​

php
protected $fileResource

$manifest protected ​

php
protected \pocketmine\resourcepacks\json\Manifest $manifest

$path protected ​

php
protected string $path

$sha256 protected ​

php
protected ?string $sha256

Methods ​

__construct() ​

php
public function __construct(string $zipPath)

__destruct() ​

php
public function __destruct()

getPackChunk() ​

php
public function getPackChunk(int $start, int $length) : string

getPackId() ​

php
public function getPackId() : string

getPackName() ​

php
public function getPackName() : string

getPackSize() ​

php
public function getPackSize() : int

getPackVersion() ​

php
public function getPackVersion() : string

getPath() ​

php
public function getPath() : string

getSha256() ​

php
public function getSha256(bool $cached = true) : string

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.