|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
declare(strict_types=1); |
|
4
|
|
|
|
|
5
|
|
|
namespace Stu\Lib\Map\VisualPanel; |
|
6
|
|
|
|
|
7
|
|
|
class LssCellData |
|
8
|
|
|
{ |
|
9
|
|
|
private ?string $systemBackgroundId = null; |
|
10
|
|
|
private ?int $fieldGraphicId = null; |
|
11
|
|
|
private ?string $mapGraphicPath = null; |
|
12
|
|
|
private bool $colonyShieldState = false; |
|
13
|
|
|
private ?string $subspaceCode = null; |
|
14
|
|
|
private ?string $displayCount = null; |
|
15
|
|
|
|
|
16
|
4 |
|
public function __construct( |
|
17
|
|
|
?string $systemBackgroundId, |
|
18
|
|
|
?int $fieldGraphicId, |
|
19
|
|
|
?string $mapGraphicPath, |
|
20
|
|
|
bool $colonyShieldState, |
|
21
|
|
|
?string $subspaceCode, |
|
22
|
|
|
?string $displayCount |
|
23
|
|
|
) { |
|
24
|
4 |
|
$this->systemBackgroundId = $systemBackgroundId; |
|
25
|
4 |
|
$this->fieldGraphicId = $fieldGraphicId; |
|
26
|
4 |
|
$this->mapGraphicPath = $mapGraphicPath; |
|
27
|
4 |
|
$this->colonyShieldState = $colonyShieldState; |
|
28
|
4 |
|
$this->subspaceCode = $subspaceCode; |
|
29
|
4 |
|
$this->displayCount = $displayCount; |
|
30
|
|
|
} |
|
31
|
|
|
|
|
32
|
4 |
|
public function getSystemBackgroundId(): ?string |
|
33
|
|
|
{ |
|
34
|
4 |
|
return $this->systemBackgroundId; |
|
35
|
|
|
} |
|
36
|
|
|
|
|
37
|
|
|
public function getFieldGraphicID(): ?int |
|
38
|
|
|
{ |
|
39
|
|
|
return $this->fieldGraphicId; |
|
40
|
|
|
} |
|
41
|
|
|
|
|
42
|
4 |
|
public function getMapGraphicPath(): ?string |
|
43
|
|
|
{ |
|
44
|
4 |
|
return $this->mapGraphicPath; |
|
45
|
|
|
} |
|
46
|
|
|
|
|
47
|
4 |
|
public function getColonyShieldState(): bool |
|
48
|
|
|
{ |
|
49
|
4 |
|
return $this->colonyShieldState; |
|
50
|
|
|
} |
|
51
|
|
|
|
|
52
|
4 |
|
public function getSubspaceCode(): ?string |
|
53
|
|
|
{ |
|
54
|
4 |
|
return $this->subspaceCode; |
|
55
|
|
|
} |
|
56
|
|
|
|
|
57
|
|
|
public function getDisplayCount(): ?string |
|
58
|
|
|
{ |
|
59
|
|
|
return $this->displayCount; |
|
60
|
|
|
} |
|
61
|
|
|
} |
|
62
|
|
|
|