bill manager
This commit is contained in:
committed by
Steffen Schröder
parent
e6c7a025ee
commit
7005469973
27
application/core/Bills/BillData.php
Normal file
27
application/core/Bills/BillData.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?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();
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user