From 13b57c7cdbade6f41b3c7c0197bff8fef80e7e41 Mon Sep 17 00:00:00 2001 From: kremsy Date: Fri, 18 Apr 2014 01:29:36 +0200 Subject: [PATCH] added authortime --- application/core/Maps/Map.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/application/core/Maps/Map.php b/application/core/Maps/Map.php index fc428f61..c9651f48 100644 --- a/application/core/Maps/Map.php +++ b/application/core/Maps/Map.php @@ -8,9 +8,9 @@ use ManiaControl\ManiaExchange\MXMapInfo; /** * Map Class * - * @author kremsy & steeffeen + * @author kremsy & steeffeen * @copyright ManiaControl Copyright © 2014 ManiaControl Team - * @license http://www.gnu.org/licenses/ GNU General Public License, Version 3 + * @license http://www.gnu.org/licenses/ GNU General Public License, Version 3 */ class Map { /* @@ -22,6 +22,7 @@ class Map { public $uid = ''; public $fileName = ''; public $environment = ''; + public $authorTime = -1; public $goldTime = -1; public $copperPrice = -1; public $mapType = ''; @@ -39,6 +40,7 @@ class Map { public $startTime = -1; public $lastUpdate = 0; + /** * Create a new Map Object from Rpc Data * @@ -57,6 +59,7 @@ class Map { $this->fileName = $mpMap->fileName; $this->authorLogin = $mpMap->author; $this->environment = $mpMap->environnement; + $this->authorTime = $mpMap->authorTime; $this->goldTime = $mpMap->goldTime; $this->copperPrice = $mpMap->copperPrice; $this->mapType = $mpMap->mapType;