updatedAt = new \DateTimeImmutable(); } public function getId(): ?int { return $this->id; } public function getFamily(): string { return $this->family; } public function setFamily(string $family): static { $this->family = $family; return $this; } public function getName(): string { return $this->name; } public function setName(string $name): static { $this->name = $name; return $this; } public function getAge(): ?int { return $this->age; } public function setAge(?int $age): static { $this->age = $age; return $this; } public function getRace(): Race { return $this->race; } public function setRace(Race $race): static { $this->race = $race; return $this; } public function getOccupation(): ?string { return $this->occupation; } public function setOccupation(?string $occupation): static { $this->occupation = $occupation; return $this; } public function getRelationships(): ?string { return $this->relationships; } public function setRelationships(?string $relationships): static { $this->relationships = $relationships; return $this; } public function getFather(): ?Npc { return $this->father; } public function setFather(?Npc $father): static { $this->father = $father; return $this; } public function getMother(): ?Npc { return $this->mother; } public function setMother(?Npc $mother): static { $this->mother = $mother; return $this; } public function getVillageStatus(): VillageStatus { return $this->villageStatus; } public function setVillageStatus(VillageStatus $villageStatus): static { $this->villageStatus = $villageStatus; return $this; } public function getBloodCartInvolvement(): BloodCartInvolvement { return $this->bloodCartInvolvement; } public function setBloodCartInvolvement(BloodCartInvolvement $bloodCartInvolvement): static { $this->bloodCartInvolvement = $bloodCartInvolvement; return $this; } public function getMysteryImportance(): MysteryImportance { return $this->mysteryImportance; } public function setMysteryImportance(MysteryImportance $mysteryImportance): static { $this->mysteryImportance = $mysteryImportance; return $this; } public function getGameNotes(): ?string { return $this->gameNotes; } public function setGameNotes(?string $gameNotes): static { $this->gameNotes = $gameNotes; return $this; } public function getUpdatedAt(): ?\DateTimeImmutable { return $this->updatedAt; } /** * AssetMapper logical path of this NPC's portrait, e.g. * "image/npc-pictures/GarrickVoss.png". The file may not exist for * NPCs added after the portrait sets were generated. */ public function getPortraitPath(): string { return 'image/npc-pictures/'.str_replace(' ', '', $this->name).'.png'; } }