25 private int $containerId,
26 private array $changedSlotIndexes
29 public function getContainerId() : int{ return $this->containerId; }
35 $containerId = $in->getByte();
38 $changedSlots[] = $in->getByte();
40 return new self($containerId, $changedSlots);
44 $out->putByte($this->containerId);
46 foreach($this->changedSlotIndexes as $index){
47 $out->putByte($index);