UNPKG

maniajs

Version:

ManiaPlanet (Dedicated) Server Controller.

33 lines (25 loc) 640 B
/** * Plugin public interface to the core. * * This class will be at the first parameter of the plugin main class constructor! */ 'use strict'; /** * Plugin ManiaJS Interface * @class Interface */ Object.defineProperty(exports, "__esModule", { value: true }); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var _class = /** * Construct Plugin Interface. * Init fields. */ function _class() { _classCallCheck(this, _class); // TODO: Add fields. Init fields. this.database = null; }; exports.default = _class;