1: <?php
2: namespace aliuly\grabbag\api;
3:
4: use aliuly\grabbag\Main as GrabBagPlugin;
5: use aliuly\grabbag\api\GrabBagEvent;
6: use pocketmine\event\Cancellable;
7:
8: 9: 10:
11: class GbRemoveServerEvent extends GrabBagEvent implements Cancellable {
12: public static $handlerList = null;
13: private $serverId;
14: 15: 16:
17: public function __construct(GrabBagPlugin $plugin,$id) {
18: parent::__construct($plugin);
19: $this->serverId = $id;
20: }
21: 22: 23: 24:
25: public function getId() {
26: return $this->serverId;
27: }
28: 29: 30: 31:
32: public function setId($id) {
33: $this->serverId = $id;
34: }
35: }
36: