PocketMine-MP 5.18.1 git-9381fc4172e5dce4cada1cb356050c8a2ab57b94
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 $isAddonPack=false, private bool $isRtxCapable=false)
 
 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 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  $isAddonPack = 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 52 of file ResourcePackInfoEntry.php.

◆ getEncryptionKey()

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

Definition at line 44 of file ResourcePackInfoEntry.php.

◆ getPackId()

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

Definition at line 32 of file ResourcePackInfoEntry.php.

◆ getSizeBytes()

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

Definition at line 40 of file ResourcePackInfoEntry.php.

◆ getSubPackName()

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

Definition at line 48 of file ResourcePackInfoEntry.php.

◆ getVersion()

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

Definition at line 36 of file ResourcePackInfoEntry.php.

◆ hasScripts()

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

Definition at line 56 of file ResourcePackInfoEntry.php.

◆ isAddonPack()

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

Definition at line 60 of file ResourcePackInfoEntry.php.

◆ isRtxCapable()

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

Definition at line 62 of file ResourcePackInfoEntry.php.

◆ read()

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

Definition at line 76 of file ResourcePackInfoEntry.php.

◆ write()

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

Definition at line 64 of file ResourcePackInfoEntry.php.


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