-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
__meal.php
88 lines (69 loc) · 2.53 KB
/
__meal.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?php
class Meal {
private ?string $actorName = '';
private ?string $euenName = '';
private ?int $recipen° = 0;
private ?array $recipe = []; //Array of Euen Names, Classifications, and Modifiers
private ?int $bonusHeart = 0; //Milk, Fruitcake, and Fairy Tonic only
private ?int $bonusLevel = 0; //Nothing uses this
private ?int $bonusTime = 0; //Nothing uses this
private ?string $cookingMethod = 'Cooking Pot'; //Cooking Pot, Fire, Frozen, Hot Spring (Single Egg Only)
public function __construct(?string $actorName = '', ?string $euenName = '', ?int $recipen° = 0, ?array $recipe = [], ?int $bonusHeart = 0, ?int $bonusLevel = 0, ?int $bonusTime = 0, ?string $cookingMethod = 'Cooking Pot') {
$this->actorName = $actorName;
$this->euenName = $euenName;
$this->recipen° = $recipen°;
$this->recipe = $recipe;
$this->bonusHeart = $bonusHeart;
$this->bonusLevel = $bonusLevel;
$this->bonusTime = $bonusTime;
$this->cookingMethod = $cookingMethod;
}
public function getActorName(): ?string {
return $this->actorName;
}
public function setActorName(?string $actorName): void {
$this->actorName = $actorName;
}
public function getEuenName(): ?string {
return $this->euenName;
}
public function setEuenName(?string $euenName): void {
$this->euenName = $euenName;
}
public function getRecipen°(): ?int {
return $this->recipen°;
}
public function setRecipen°(?int $recipen°): void {
$this->recipen° = $recipen°;
}
public function getRecipe(): ?array {
return $this->recipe;
}
public function setRecipe(?array $recipe): void {
$this->recipe = $recipe;
}
public function getBonusHeart(): ?int {
return $this->bonusHeart;
}
public function setBonusHeart(?int $bonusHeart): void {
$this->bonusHeart = $bonusHeart;
}
public function getBonusLevel(): ?int {
return $this->bonusLevel;
}
public function setBonusLevel(?int $bonusLevel): void {
$this->bonusLevel = $bonusLevel;
}
public function getBonusTime(): ?int {
return $this->bonusTime;
}
public function setBonusTime(?int $bonusTime): void {
$this->bonusTime = $bonusTime;
}
public function getCookingMethod(): ?string {
return $this->cookingMethod;
}
public function setCookingMethod(?string $cookingMethod): void {
$this->cookingMethod = $cookingMethod;
}
}