/** * @param PocketMoney $plugin * @param string $player * @param int $amount * @param int $cause */ public function __construct(PocketMoney $plugin, $player, $amount, $cause) { $this->player = $player; $this->amount = $amount; $this->cause = $cause; parent::__construct($plugin); }
/** * @param PocketMoney $plugin * @param string $sender * @param string $receiver * @param int $amount * @param int $transactionType */ public function __construct(PocketMoney $plugin, $sender, $receiver, $amount, $transactionType) { $this->sender = $sender; $this->receiver = $receiver; $this->amount = $amount; $this->transactionType = $transactionType; parent::__construct($plugin); }