PocketMine-MP 5.23.2 git-45917d495c14f3ce37bbf0848262ad8a470030f3
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry:

Public Member Functions

 __construct (private UuidInterface $packId, private string $version, private int $sizeBytes, private string $encryptionKey="", private string $subPackName="", private string $contentId="", private bool $hasScripts=false, private bool $isAddonPack=false, private bool $isRtxCapable=false, private string $cdnUrl="")
 
 getCdnUrl ()
 
 getContentId ()
 
 getEncryptionKey ()
 
 getPackId ()
 
 getSizeBytes ()
 
 getSubPackName ()
 
 getVersion ()
 
 hasScripts ()
 
 isAddonPack ()
 
 isRtxCapable ()
 
 write (PacketSerializer $out)
 

Static Public Member Functions

static read (PacketSerializer $in)
 

Detailed Description

Definition at line 20 of file ResourcePackInfoEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::__construct ( private UuidInterface $packId,
private string $version,
private int $sizeBytes,
private string $encryptionKey = "",
private string $subPackName = "",
private string $contentId = "",
private bool $hasScripts = false,
private bool $isAddonPack = false,
private bool $isRtxCapable = false,
private string $cdnUrl = "" )

Definition at line 21 of file ResourcePackInfoEntry.php.

Member Function Documentation

◆ getCdnUrl()

pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::getCdnUrl ( )

Definition at line 66 of file ResourcePackInfoEntry.php.

◆ getContentId()

pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::getContentId ( )

Definition at line 54 of file ResourcePackInfoEntry.php.

◆ getEncryptionKey()

pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::getEncryptionKey ( )

Definition at line 46 of file ResourcePackInfoEntry.php.

◆ getPackId()

pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::getPackId ( )

Definition at line 34 of file ResourcePackInfoEntry.php.

◆ getSizeBytes()

pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::getSizeBytes ( )

Definition at line 42 of file ResourcePackInfoEntry.php.

◆ getSubPackName()

pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::getSubPackName ( )

Definition at line 50 of file ResourcePackInfoEntry.php.

◆ getVersion()

pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::getVersion ( )

Definition at line 38 of file ResourcePackInfoEntry.php.

◆ hasScripts()

pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::hasScripts ( )

Definition at line 58 of file ResourcePackInfoEntry.php.

◆ isAddonPack()

pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::isAddonPack ( )

Definition at line 62 of file ResourcePackInfoEntry.php.

◆ isRtxCapable()

pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::isRtxCapable ( )

Definition at line 64 of file ResourcePackInfoEntry.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::read ( PacketSerializer $in)
static

Definition at line 81 of file ResourcePackInfoEntry.php.

◆ write()

pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry::write ( PacketSerializer $out)

Definition at line 68 of file ResourcePackInfoEntry.php.


The documentation for this class was generated from the following file: