1 | <?php |
||
10 | class StandardItemValueObject |
||
11 | { |
||
12 | /** |
||
13 | * @var int |
||
14 | */ |
||
15 | private $id; |
||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | private $name; |
||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $icon; |
||
24 | /** |
||
25 | * @var int |
||
26 | */ |
||
27 | private $quality; |
||
28 | /** |
||
29 | * @var int |
||
30 | */ |
||
31 | private $itemLevel; |
||
32 | /** |
||
33 | * @var TooltipParamsValueObject |
||
34 | */ |
||
35 | private $tooltipParams; |
||
36 | /** |
||
37 | * @var ItemStatValueObject[] |
||
38 | */ |
||
39 | private $stats; |
||
40 | /** |
||
41 | * @var int |
||
42 | */ |
||
43 | private $armor; |
||
44 | /** |
||
45 | * @var string |
||
46 | */ |
||
47 | private $context; |
||
48 | /** |
||
49 | * @var int[] |
||
50 | */ |
||
51 | private $bonusLists; |
||
52 | /** |
||
53 | * @var int |
||
54 | */ |
||
55 | private $displayInfoId; |
||
56 | /** |
||
57 | * @var ItemAppearanceValueObject |
||
58 | */ |
||
59 | private $appearance; |
||
60 | |||
61 | /** |
||
62 | * ArmorItemValueObject constructor. |
||
63 | * @param int $id |
||
64 | * @param string $name |
||
65 | * @param string $icon |
||
66 | * @param int $quality |
||
67 | * @param int $itemLevel |
||
68 | * @param TooltipParamsValueObject $tooltipParams |
||
69 | * @param ItemStatValueObject[] $stats |
||
70 | * @param int $armor |
||
71 | * @param string $context |
||
72 | * @param int[] $bonusLists |
||
73 | * @param int $displayInfoId |
||
74 | * @param ItemAppearanceValueObject $appearance |
||
75 | */ |
||
76 | public function __construct( |
||
103 | |||
104 | /** |
||
105 | * @return int |
||
106 | */ |
||
107 | public function getId() |
||
111 | |||
112 | /** |
||
113 | * @return string |
||
114 | */ |
||
115 | public function getName() |
||
119 | |||
120 | /** |
||
121 | * @return string |
||
122 | */ |
||
123 | public function getIcon() |
||
127 | |||
128 | /** |
||
129 | * @return int |
||
130 | */ |
||
131 | public function getQuality() |
||
135 | |||
136 | /** |
||
137 | * @return int |
||
138 | */ |
||
139 | public function getItemLevel() |
||
143 | |||
144 | /** |
||
145 | * @return TooltipParamsValueObject |
||
146 | */ |
||
147 | public function getTooltipParams() |
||
151 | |||
152 | /** |
||
153 | * @return ItemStatValueObject[] |
||
154 | */ |
||
155 | public function getStats() |
||
159 | |||
160 | /** |
||
161 | * @return int |
||
162 | */ |
||
163 | public function getArmor() |
||
167 | |||
168 | /** |
||
169 | * @return string |
||
170 | */ |
||
171 | public function getContext() |
||
175 | |||
176 | /** |
||
177 | * @return int[] |
||
178 | */ |
||
179 | public function getBonusLists() |
||
183 | |||
184 | /** |
||
185 | * @return int |
||
186 | */ |
||
187 | public function getDisplayInfoId() |
||
191 | |||
192 | /** |
||
193 | * @return ItemAppearanceValueObject |
||
194 | */ |
||
195 | public function getAppearance() |
||
199 | } |
||
200 |