PocketMine-MP 5.18.2 git-00e39821f06a4b6d728d35053c2621dbb19369ff
pocketmine\network\mcpe\protocol\types\resourcepacks\BehaviorPackInfoEntry Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\resourcepacks\BehaviorPackInfoEntry:

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)
 
 getContentId ()
 
 getEncryptionKey ()
 
 getPackId ()
 
 getSizeBytes ()
 
 getSubPackName ()
 
 getVersion ()
 
 hasScripts ()
 
 isAddonPack ()
 
 write (PacketSerializer $out)
 

Static Public Member Functions

static read (PacketSerializer $in)
 

Detailed Description

Definition at line 19 of file BehaviorPackInfoEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\resourcepacks\BehaviorPackInfoEntry::__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 
)

Definition at line 20 of file BehaviorPackInfoEntry.php.

Member Function Documentation

◆ getContentId()

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

Definition at line 51 of file BehaviorPackInfoEntry.php.

◆ getEncryptionKey()

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

Definition at line 43 of file BehaviorPackInfoEntry.php.

◆ getPackId()

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

Definition at line 31 of file BehaviorPackInfoEntry.php.

◆ getSizeBytes()

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

Definition at line 39 of file BehaviorPackInfoEntry.php.

◆ getSubPackName()

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

Definition at line 47 of file BehaviorPackInfoEntry.php.

◆ getVersion()

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

Definition at line 35 of file BehaviorPackInfoEntry.php.

◆ hasScripts()

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

Definition at line 55 of file BehaviorPackInfoEntry.php.

◆ isAddonPack()

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

Definition at line 59 of file BehaviorPackInfoEntry.php.

◆ read()

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

Definition at line 72 of file BehaviorPackInfoEntry.php.

◆ write()

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

Definition at line 61 of file BehaviorPackInfoEntry.php.


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