/** * @param KillRatePlugin $plugin - plugin owner * @param Player $Player - player making the score * @param str $col - type of victim * @param int $points - points being awarded * @param int $money - money being awarded * @param int $incr - increment values */ public function __construct(KillRatePlugin $plugin, Player $player, $col, $points = 0, $money = 0, $incr = 1) { parent::__construct($plugin); $this->player = $player; $this->type = $col; $this->points = $points; $this->money = $money; $this->incr = $incr; }
/** * @param KillRatePlugin $plugin - plugin owner * @param Player $Player - player making the score */ public function __construct(KillRatePlugin $plugin, Player $player) { parent::__construct($plugin); $this->player = $player; }
/** * @param KillRatePlugin $plugin - plugin owner * @param Player $Player - player making the score * @param Player $victim - victim of last score * @param int $money - money being awarded */ public function __construct(KillRatePlugin $plugin, Player $player, $money = 0) { parent::__construct($plugin); $this->player = $player; $this->money = $money; }
/** * @param KillRatePlugin $plugin - plugin owner * @param Player $player - player making the score * @param int $newstreak - streak */ public function __construct(KillRatePlugin $plugin, Player $player, $streak) { parent::__construct($plugin); $this->player = $player; $this->streak = $streak; }