47 $this->actorRuntimeId =
CommonTypes::getActorRuntimeId($in);
48 $this->eventId = Byte::readUnsigned($in);
49 $this->eventData = VarInt::readSignedInt($in);
50 $this->firePosition = CommonTypes::readOptional($in, CommonTypes::getVector3(...));
54 CommonTypes::putActorRuntimeId($out, $this->actorRuntimeId);
55 Byte::writeUnsigned($out, $this->eventId);
56 VarInt::writeSignedInt($out, $this->eventData);
57 CommonTypes::writeOptional($out, $this->firePosition, CommonTypes::putVector3(...));