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 GbRmQueryEvent extends GrabBagEvent implements Cancellable {
12: public static $handlerList = null;
13: private $serverId;
14: private $tag;
15: 16: 17:
18: public function __construct(GrabBagPlugin $plugin,$id, $tag) {
19: parent::__construct($plugin);
20: $this->serverId = $id;
21: $this->tag = $tag;
22: }
23: 24: 25: 26:
27: public function getId() {
28: return $this->serverId;
29: }
30: 31: 32: 33:
34: public function setId($id) {
35: $this->serverId = $id;
36: }
37: public function getTag() {
38: return $this->tag;
39: }
40: public function setTag($tag) {
41: $this->tag = $tag;
42: }
43: }
44: