38 $this->action = Byte::readUnsigned($in);
39 $this->targetActorRuntimeId = CommonTypes::getActorRuntimeId($in);
41 if($this->action === self::ACTION_MOUSEOVER || $this->action === self::ACTION_LEAVE_VEHICLE){
43 $this->x = LE::readFloat($in);
44 $this->y = LE::readFloat($in);
45 $this->z = LE::readFloat($in);
50 Byte::writeUnsigned($out, $this->action);
51 CommonTypes::putActorRuntimeId($out, $this->targetActorRuntimeId);
53 if($this->action === self::ACTION_MOUSEOVER || $this->action === self::ACTION_LEAVE_VEHICLE){
54 LE::writeFloat($out, $this->x);
55 LE::writeFloat($out, $this->y);
56 LE::writeFloat($out, $this->z);