added license and copyright annotations
improved phpdoc
This commit is contained in:
@ -2,7 +2,6 @@
|
||||
|
||||
namespace ManiaControl\Statistics;
|
||||
|
||||
|
||||
use FML\Controls\Control;
|
||||
use FML\Controls\Frame;
|
||||
use FML\Controls\Label;
|
||||
@ -23,14 +22,21 @@ use ManiaControl\Manialinks\ManialinkPageAnswerListener;
|
||||
use ManiaControl\Players\Player;
|
||||
use ManiaControl\Players\PlayerManager;
|
||||
|
||||
/**
|
||||
* Simple Stats List Class
|
||||
*
|
||||
* @author kremsy
|
||||
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class SimpleStatsList implements ManialinkPageAnswerListener, CallbackListener, CommandListener {
|
||||
/**
|
||||
/*
|
||||
* Constants
|
||||
*/
|
||||
const ACTION_OPEN_STATSLIST = 'SimpleStatsList.OpenStatsList';
|
||||
const ACTION_SORT_STATS = 'SimpleStatsList.SortStats';
|
||||
|
||||
/**
|
||||
/*
|
||||
* Private Properties
|
||||
*/
|
||||
private $maniaControl = null;
|
||||
|
@ -1,11 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* Statistic Collector Class
|
||||
*
|
||||
* @author steeffeen & kremsy
|
||||
*/
|
||||
namespace ManiaControl\Statistics;
|
||||
|
||||
namespace ManiaControl\Statistics;
|
||||
|
||||
use ManiaControl\Callbacks\CallbackListener;
|
||||
use ManiaControl\Callbacks\CallbackManager;
|
||||
@ -13,8 +8,15 @@ use ManiaControl\ManiaControl;
|
||||
use ManiaControl\Players\Player;
|
||||
use ManiaControl\Players\PlayerManager;
|
||||
|
||||
/**
|
||||
* Statistic Collector Class
|
||||
*
|
||||
* @author steeffeen & kremsy
|
||||
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class StatisticCollector implements CallbackListener {
|
||||
/**
|
||||
/*
|
||||
* Constants
|
||||
*/
|
||||
const SETTING_COLLECT_STATS_ENABLED = 'Collect Stats Enabled';
|
||||
@ -49,7 +51,7 @@ class StatisticCollector implements CallbackListener {
|
||||
const WEAPON_NUCLEUS = 3;
|
||||
const WEAPON_ARROW = 5;
|
||||
|
||||
/**
|
||||
/*
|
||||
* Private Properties
|
||||
*/
|
||||
private $maniaControl = null;
|
||||
|
@ -9,9 +9,11 @@ use ManiaControl\Players\Player;
|
||||
* Statistic Manager Class
|
||||
*
|
||||
* @author steeffeen & kremsy
|
||||
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class StatisticManager {
|
||||
/**
|
||||
/*
|
||||
* Constants
|
||||
*/
|
||||
const TABLE_STATMETADATA = 'mc_statmetadata';
|
||||
@ -27,13 +29,13 @@ class StatisticManager {
|
||||
const SPECIAL_STAT_ROCKET_ACC = 'Rocket Accuracy';
|
||||
const SPECIAL_STAT_ARROW_ACC = 'Arrow Accuracy';
|
||||
|
||||
/**
|
||||
/*
|
||||
* Public Properties
|
||||
*/
|
||||
public $statisticCollector = null;
|
||||
public $simpleStatsList = null;
|
||||
|
||||
/**
|
||||
/*
|
||||
* Private Properties
|
||||
*/
|
||||
private $maniaControl = null;
|
||||
|
Reference in New Issue
Block a user