Lines
100.00%
2 / 2
Methods
100.00%
2 / 2
Classes
100.00%
1 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| __construct | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | ||
| toMessage | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | ||
| 12 | final readonly class LoadPlayerInventoryCommand implements Command | |
| 13 | { | |
| 14 | public function __construct( | |
| 15 | private AreaId $areaId, | |
| 16 | private SocketId $socketId, | |
| 17 | ) {} | |
| 18 | ||
| 19 | #[Override] | |
| 20 | public function toMessage(): string | |
| 21 | { | |
| 22 | return "%xt%zm%retrieveInventory%{$this->areaId}%{$this->socketId}%"; | |
| 23 | } | |
| 24 | } |