コード例 #1
0
ファイル: SetjailEvent.php プロジェクト: HerO-0110/Jail
 public function __construct(Jail $plugin, $jail, Position $pos)
 {
     $this->plugin = $plugin;
     $this->jail = $jail;
     $this->pos = $pos;
     parent::__construct($plugin);
 }
コード例 #2
0
 public function __construct(Jail $plugin, Player $player, $jail)
 {
     $this->plugin = $plugin;
     $this->player = $player;
     $this->jail = $jail;
     parent::__construct($plugin);
 }
コード例 #3
0
ファイル: PlayerJailEvent.php プロジェクト: HerO-0110/Jail
 public function __construct(Jail $plugin, Player $player, $jail, $minutes, $reason)
 {
     $this->plugin = $plugin;
     $this->player = $player;
     $this->jail = $jail;
     $this->minutes = (int) $minutes;
     $this->reason = $reason;
     parent::__construct($plugin);
 }
コード例 #4
0
 public function __construct(Jail $plugin, $channel)
 {
     $this->plugin = $plugin;
     $this->channel = $channel;
     parent::__construct($plugin);
 }