public function __construct(BasePlugin $main, Session $sender, $name, $msg) { $this->sender = $main->storeObject($sender); $this->name = $name; $this->msg = $msg; parent::__construct($main); }
public function __construct(BasePlugin $main, $promote, $name, Session $sender) { $this->promote = $promote; $this->name = $name; $this->sender = $main->storeObject($sender); parent::__construct($main); }
public function __construct(BasePlugin $main, Session $sender, $tid, $bit, $phrase) { $this->tid = $tid; $this->bit = $bit; $this->sender = $main->storeObject($sender); $this->phrase = $phrase; parent::__construct($main); }
public function __construct(BasePlugin $main, Session $sender, $tid, $column, $humanPhrase) { $this->sender = $main->storeObject($sender); $this->tid = $tid; $this->column = $column; $this->humanPhrase = $humanPhrase; parent::__construct($main); }
public function __construct(BasePlugin $main, $src, $msg, $type, $class, $data = [], $hormone = null) { $this->src = $src; $this->msg = $msg; $this->type = $type; $this->class = $class; $this->data = json_encode($data); $this->hormone = $main->storeObject($hormone); parent::__construct($main); }
public function __construct(BasePlugin $main, $uid, $clientId, $id, $points, CommandSender $issuer, $msg) { $this->uid = $uid; $this->clientId = $clientId; $this->id = $id; $this->points = $points; $this->issuer = $main->storeObject($issuer); $this->msg = $msg; // $this->expiry = ($this->creation = time()) + $duration; $this->creation = time(); $this->expiry = PHP_INT_MAX; parent::__construct($main, self::WARNING); }
public function __construct(BasePlugin $main, Session $sender) { $this->sender = $main->storeObject($sender); parent::__construct($main); }