2014-05-24 17:22:48 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace ManiaControl\Callbacks\Models;
|
|
|
|
|
2017-05-08 17:45:16 +02:00
|
|
|
use ManiaControl\Players\Player;
|
|
|
|
|
2014-05-24 17:22:48 +02:00
|
|
|
/**
|
|
|
|
* Base Model Class for Callbacks
|
|
|
|
*
|
2017-04-16 14:49:11 +02:00
|
|
|
* @deprecated
|
2014-05-24 17:22:48 +02:00
|
|
|
* @author ManiaControl Team <mail@maniacontrol.com>
|
2017-02-04 11:49:23 +01:00
|
|
|
* @copyright 2014-2017 ManiaControl Team
|
2014-05-24 17:22:48 +02:00
|
|
|
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
|
|
|
*/
|
|
|
|
class RecordCallback extends BaseCallback {
|
|
|
|
/*
|
|
|
|
* Constants
|
|
|
|
*/
|
|
|
|
const CHECKPOINT = 'RecordCallback.Checkpoint';
|
|
|
|
const FINISH = 'RecordCallback.Finish';
|
2014-05-24 17:45:35 +02:00
|
|
|
const LAPFINISH = 'RecordCallback.LapFinish';
|
2014-05-24 17:22:48 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Public Properties
|
|
|
|
*/
|
|
|
|
public $time = null;
|
2017-05-08 17:45:16 +02:00
|
|
|
/** @var Player $player */
|
2017-03-29 13:28:32 +02:00
|
|
|
public $player = null;
|
|
|
|
public $racetime = null;
|
2017-05-08 17:45:16 +02:00
|
|
|
public $lapTime = null;
|
2017-03-29 13:28:32 +02:00
|
|
|
public $stuntsscore = null;
|
|
|
|
public $checkpointinrace = null;
|
|
|
|
public $checkpointinlap = null;
|
|
|
|
public $isendrace = null;
|
|
|
|
public $isendlap = null;
|
|
|
|
public $blockid = null;
|
|
|
|
public $speed = null;
|
|
|
|
public $distance = null;
|
2014-05-24 17:22:48 +02:00
|
|
|
}
|