TrackManiaControl/application/plugins/oldstructure/plugin.ManiaControl.php

38 lines
473 B
PHP
Raw Normal View History

2013-11-09 17:23:42 +01:00
<?php
namespace ManiaControl;
/**
* Abstract ManiaControl plugin class
*/
abstract class Plugin_Name {
/**
* Constants
*/
const VERSION = '0.1';
/**
* Private properties
*/
2013-11-09 19:26:57 +01:00
private $mc = null;
2013-11-09 17:23:42 +01:00
/**
* Construct plugin
*
2013-11-09 19:26:57 +01:00
* @param object $mc
2013-11-09 17:23:42 +01:00
*/
2013-11-09 19:26:57 +01:00
public function __construct($mc) {
$this->mc = $mc;
2013-11-09 17:23:42 +01:00
error_log('Pugin v' . self::VERSION . ' ready!');
}
/**
* Perform actions during each loop
*/
public function loop() {
}
}
?>