bill manager

This commit is contained in:
kremsy
2014-02-25 18:34:35 +01:00
committed by Steffen Schröder
parent e6c7a025ee
commit 7005469973
8 changed files with 235 additions and 111 deletions

View File

@ -301,7 +301,7 @@ class Dedimania implements CallbackListener, TimerListener, Plugin {
if ($error != '') {
$this->maniaControl->log("Dedimania Error: " . $error);
}
var_dump($data);
//var_dump($data);
$data = $this->decode($data);
//var_dump($data);
if (is_array($data)) {

View File

@ -1,11 +1,9 @@
<?php
/**
* Created by PhpStorm.
* User: Lukas
* Date: 14.02.14
* Time: 17:16
* Dedimania DataStructure
*
* @author kremsy and steeffeen
*/
namespace Dedimania;
use ManiaControl\ManiaControl;

View File

@ -1,11 +1,9 @@
<?php
/**
* Created by PhpStorm.
* User: Lukas
* Date: 23.02.14
* Time: 12:45
* Dedimania Player DataStructure
*
* @author kremsy and steeffeen
*/
namespace Dedimania;

View File

@ -1,11 +1,9 @@
<?php
/**
* Created by PhpStorm.
* User: Lukas
* Date: 23.02.14
* Time: 11:31
* Dedimania Record DataStructure
*
* @author kremsy and steeffeen
*/
namespace Dedimania;
@ -25,6 +23,7 @@ class RecordData {
/**
* Construct a Record by a given Record Array
*
* @param $record
*/
public function __construct($record) {
@ -43,6 +42,7 @@ class RecordData {
/**
* Constructs a new Record via it's properties
*
* @param $login
* @param $nickName
* @param $best
@ -50,7 +50,7 @@ class RecordData {
* @param bool $newRecord
*/
public function constructNewRecord($login, $nickName, $best, $checkpoints, $newRecord = false) {
$this->nullRecord = false;
$this->nullRecord = false;
$this->login = $login;
$this->nickName = $nickName;
$this->best = $best;