TrackManiaControl/application/core/Bills/BillData.php

27 lines
600 B
PHP
Raw Normal View History

2014-02-25 18:34:35 +01:00
<?php
/**
* ManiaControl BillData Structure
*
* @author kremsy and steeffeen
*/
namespace ManiaControl\Bills;
class BillData {
public $function = null;
public $pay = false;
public $player = null;
public $receiverLogin = false;
public $amount = 0;
public $creationTime = -1;
public function __construct($function, $player, $amount, $pay = false, $receiverLogin = false) {
$this->function = $function;
$this->player = $player;
$this->amount = $amount;
$this->pay = $pay;
$this->receiverLogin = $receiverLogin;
$this->creationTime = time();
}
}