PocketMine-MP 5.17.1 git-df4ada81e5d74a14046f27cf44a37dcee69d657e
pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry:

Public Member Functions

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

Static Public Member Functions

static read (PacketSerializer $in)
 

Detailed Description

Definition at line 19 of file ResourcePackInfoEntry.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 20 of file ResourcePackInfoEntry.php.

Member Function Documentation

◆ getContentId()

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

Definition at line 51 of file ResourcePackInfoEntry.php.

◆ getEncryptionKey()

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

Definition at line 43 of file ResourcePackInfoEntry.php.

◆ getPackId()

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

Definition at line 31 of file ResourcePackInfoEntry.php.

◆ getSizeBytes()

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

Definition at line 39 of file ResourcePackInfoEntry.php.

◆ getSubPackName()

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

Definition at line 47 of file ResourcePackInfoEntry.php.

◆ getVersion()

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

Definition at line 35 of file ResourcePackInfoEntry.php.

◆ hasScripts()

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

Definition at line 55 of file ResourcePackInfoEntry.php.

◆ isRtxCapable()

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

Definition at line 59 of file ResourcePackInfoEntry.php.

◆ read()

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

Definition at line 72 of file ResourcePackInfoEntry.php.

◆ write()

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

Definition at line 61 of file ResourcePackInfoEntry.php.


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