1 | <?php |
||
5 | class Game extends BaseContainer |
||
6 | { |
||
7 | public $appId; |
||
8 | |||
9 | public $name; |
||
10 | |||
11 | public $playtimeTwoWeeks; |
||
12 | |||
13 | public $playtimeTwoWeeksReadable; |
||
14 | |||
15 | public $playtimeForever; |
||
16 | |||
17 | public $playtimeForeverReadable; |
||
18 | |||
19 | public $icon; |
||
20 | |||
21 | public $logo; |
||
22 | |||
23 | public $header; |
||
24 | |||
25 | public $hasCommunityVisibleStats; |
||
26 | |||
27 | public function __construct($app) |
||
40 | |||
41 | /** |
||
42 | * @param $app |
||
43 | * @param string $field |
||
44 | * @param string $value |
||
45 | * |
||
46 | * @return null|string |
||
47 | */ |
||
48 | protected function checkIssetImage($app, $field, $value = null) |
||
52 | |||
53 | protected function getImageForGame($appId, $hash) |
||
61 | } |
||
62 |