* @copyright 2014-2016 ManiaControl Team * @license http://www.gnu.org/licenses/ GNU General Public License, Version 3 */ abstract class BaseCallback { /* * Public Properties */ public $name = null; public $rawCallback = null; public $isLegacyCallback = null; public $pid = null; public $login = null; /** @var Player $player */ public $player = null; /** * Set the corresponding Player * * @param Player $player */ public function setPlayer(Player $player) { $this->pid = $player->pid; $this->login = $player->login; $this->player = $player; } }