50 $this->messageTranslationKey =
CommonTypes::getString($in);
52 $this->messageParameters = [];
53 for($i = 0, $len = VarInt::readUnsignedInt($in); $i < $len; $i++){
54 $this->messageParameters[] = CommonTypes::getString($in);
59 CommonTypes::putString($out, $this->messageTranslationKey);
61 VarInt::writeUnsignedInt($out, count($this->messageParameters));
62 foreach($this->messageParameters as $parameter){
63 CommonTypes::putString($out, $parameter);