TakeOrPlaceStackRequestActionTrait
Table of Contents
- $count : int
- $destination : ItemStackRequestSlotInfo
- $source : ItemStackRequestSlotInfo
- __construct() : mixed
- getCount() : int
- getDestination() : ItemStackRequestSlotInfo
- getSource() : ItemStackRequestSlotInfo
- read() : self
- write() : void
Properties
$count
private
int
$count
$destination
private
ItemStackRequestSlotInfo
$destination
$source
private
ItemStackRequestSlotInfo
$source
Methods
__construct()
public
final __construct(int $count, ItemStackRequestSlotInfo $source, ItemStackRequestSlotInfo $destination) : mixed
Parameters
- $count : int
- $source : ItemStackRequestSlotInfo
- $destination : ItemStackRequestSlotInfo
Return values
mixed —getCount()
public
final getCount() : int
Return values
int —getDestination()
public
final getDestination() : ItemStackRequestSlotInfo
Return values
ItemStackRequestSlotInfo —getSource()
public
final getSource() : ItemStackRequestSlotInfo
Return values
ItemStackRequestSlotInfo —read()
public
static read(PacketSerializer $in) : self
Parameters
- $in : PacketSerializer
Return values
self —write()
public
write(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer