1 | <?php |
||
10 | class PetValueObject |
||
11 | { |
||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | private $name; |
||
16 | |||
17 | /** |
||
18 | * @var int |
||
19 | */ |
||
20 | private $spellId; |
||
21 | |||
22 | /** |
||
23 | * @var int |
||
24 | */ |
||
25 | private $creatureId; |
||
26 | |||
27 | /** |
||
28 | * @var int |
||
29 | */ |
||
30 | private $itemId; |
||
31 | |||
32 | /** |
||
33 | * @var int |
||
34 | */ |
||
35 | private $qualityId; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | private $icon; |
||
41 | |||
42 | /** |
||
43 | * @var PetStatValueObject |
||
44 | */ |
||
45 | private $petStatValueObject; |
||
46 | |||
47 | /** |
||
48 | * @var string |
||
49 | */ |
||
50 | private $battlePetGuid; |
||
51 | |||
52 | /** |
||
53 | * @var bool |
||
54 | */ |
||
55 | private $isFavorite; |
||
56 | |||
57 | /** |
||
58 | * @var bool |
||
59 | */ |
||
60 | private $isFirstAbilitySlotSelected; |
||
61 | |||
62 | /** |
||
63 | * @var bool |
||
64 | */ |
||
65 | private $isSecondAbilitySlotSelected; |
||
66 | |||
67 | /** |
||
68 | * @var bool |
||
69 | */ |
||
70 | private $isThirdAbilitySlotSelected; |
||
71 | |||
72 | /** |
||
73 | * @var string |
||
74 | */ |
||
75 | private $creatureName; |
||
76 | |||
77 | /** |
||
78 | * @var bool |
||
79 | */ |
||
80 | private $canBattle; |
||
81 | |||
82 | /** |
||
83 | * PetValueObject constructor. |
||
84 | * @param string $name |
||
85 | * @param int $spellId |
||
86 | * @param int $creatureId |
||
87 | * @param int $itemId |
||
88 | * @param int $qualityId |
||
89 | * @param string $icon |
||
90 | * @param PetStatValueObject $petStatValueObject |
||
91 | * @param string $battlePetGuid |
||
92 | * @param bool $isFavorite |
||
93 | * @param bool $isFirstAbilitySlotSelected |
||
94 | * @param bool $isSecondAbilitySlotSelected |
||
95 | * @param bool $isThirdAbilitySlotSelected |
||
96 | * @param string $creatureName |
||
97 | * @param bool $canBattle |
||
98 | */ |
||
99 | 15 | public function __construct( |
|
130 | |||
131 | /** |
||
132 | * @return string |
||
133 | */ |
||
134 | 1 | public function getName() |
|
138 | |||
139 | /** |
||
140 | * @return int |
||
141 | */ |
||
142 | 1 | public function getSpellId() |
|
146 | |||
147 | /** |
||
148 | * @return int |
||
149 | */ |
||
150 | 1 | public function getCreatureId() |
|
154 | |||
155 | /** |
||
156 | * @return int |
||
157 | */ |
||
158 | 1 | public function getItemId() |
|
162 | |||
163 | /** |
||
164 | * @return int |
||
165 | */ |
||
166 | 1 | public function getQualityId() |
|
170 | |||
171 | /** |
||
172 | * @return string |
||
173 | */ |
||
174 | 1 | public function getIcon() |
|
178 | |||
179 | /** |
||
180 | * @return PetStatValueObject |
||
181 | */ |
||
182 | 1 | public function getPetStatValueObject() |
|
186 | |||
187 | /** |
||
188 | * @return string |
||
189 | */ |
||
190 | 1 | public function getBattlePetGuid() |
|
194 | |||
195 | /** |
||
196 | * @return bool |
||
197 | */ |
||
198 | 1 | public function isFavorite() |
|
202 | |||
203 | /** |
||
204 | * @return bool |
||
205 | */ |
||
206 | 1 | public function isFirstAbilitySlotSelected() |
|
210 | |||
211 | /** |
||
212 | * @return bool |
||
213 | */ |
||
214 | 1 | public function isSecondAbilitySlotSelected() |
|
218 | |||
219 | /** |
||
220 | * @return bool |
||
221 | */ |
||
222 | 1 | public function isThirdAbilitySlotSelected() |
|
226 | |||
227 | /** |
||
228 | * @return string |
||
229 | */ |
||
230 | 1 | public function getCreatureName() |
|
234 | |||
235 | /** |
||
236 | * @return bool |
||
237 | */ |
||
238 | 1 | public function isCanBattle() |
|
242 | } |
||
243 |