public function decode() { $this->eid = $this->getLong(); $this->action = $this->getInt(); $this->x = $this->getInt(); $this->y = $this->getInt(); $this->z = $this->getInt(); $this->face = $this->getInt(); }