コード例 #1
0
 /**
  * @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);
 }
コード例 #2
0
 /**
  * @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);
 }