ItemStackResponseSlotInfo
Table of Contents
-
$count
: int
-
$customName
: string
-
$durabilityCorrection
: int
-
$hotbarSlot
: int
-
$itemStackId
: int
-
$slot
: int
-
__construct()
: mixed
-
getCount()
: int
-
getCustomName()
: string
-
getDurabilityCorrection()
: int
-
getHotbarSlot()
: int
-
getItemStackId()
: int
-
getSlot()
: int
-
read()
: self
-
write()
: void
$count
private
int
$count
$customName
private
string
$customName
$durabilityCorrection
private
int
$durabilityCorrection
$hotbarSlot
private
int
$hotbarSlot
$itemStackId
private
int
$itemStackId
$slot
private
int
$slot
__construct()
public
__construct(int $slot, int $hotbarSlot, int $count, int $itemStackId, string $customName, int $durabilityCorrection) : mixed
Parameters
-
$slot
: int
-
-
$hotbarSlot
: int
-
-
$count
: int
-
-
$itemStackId
: int
-
-
$customName
: string
-
-
$durabilityCorrection
: int
-
Return values
mixed
—
getCount()
public
getCount() : int
Return values
int
—
getCustomName()
public
getCustomName() : string
Return values
string
—
getDurabilityCorrection()
public
getDurabilityCorrection() : int
Return values
int
—
getHotbarSlot()
public
getHotbarSlot() : int
Return values
int
—
getItemStackId()
public
getItemStackId() : int
Return values
int
—
getSlot()
public
getSlot() : int
Return values
int
—
read()
public
static read(PacketSerializer $in) : self
Parameters
-
$in
: PacketSerializer
-
Return values
self
—
write()
public
write(PacketSerializer $out) : void
Parameters
-
$out
: PacketSerializer
-
Return values
void
—