TrackManiaControl/core/Callbacks/Models/RecordCallback.php

40 lines
913 B
PHP
Raw Normal View History

<?php
namespace ManiaControl\Callbacks\Models;
2017-05-08 17:45:16 +02:00
use ManiaControl\Players\Player;
/**
* Base Model Class for Callbacks
*
2017-04-16 14:49:11 +02:00
* @deprecated
* @author ManiaControl Team <mail@maniacontrol.com>
2017-02-04 11:49:23 +01:00
* @copyright 2014-2017 ManiaControl Team
* @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';
/*
* Public Properties
*/
public $time = null;
2017-05-08 17:45:16 +02:00
/** @var Player $player */
public $player = null;
public $racetime = null;
2017-05-08 17:45:16 +02:00
public $lapTime = null;
public $stuntsscore = null;
public $checkpointinrace = null;
public $checkpointinlap = null;
public $isendrace = null;
public $isendlap = null;
public $blockid = null;
public $speed = null;
public $distance = null;
}