| 1 | <?php |
||
| 15 | class PlayerStreakEvent extends PlayerEvent implements Cancellable |
||
| 16 | { |
||
| 17 | /** @var int $count */ |
||
| 18 | private $count; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * PlayerStreakEvent constructor. |
||
| 22 | * |
||
| 23 | * @param Player $player |
||
| 24 | * @param int $count |
||
| 25 | */ |
||
| 26 | public function __construct(Player $player, int $count) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return int |
||
| 34 | */ |
||
| 35 | public function getCount(): int |
||
| 39 | } |
||
| 40 |