mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
names were fixed, ->loop->stop();
This commit is contained in:
parent
50006a0189
commit
f6897cf862
242 changed files with 111 additions and 166 deletions
|
|
@ -1,19 +1,5 @@
|
|||
<?php
|
||||
|
||||
interface OtherPluginRequirement{
|
||||
|
||||
public function getRequiredPlugins();
|
||||
}
|
||||
|
||||
interface Plugin{
|
||||
|
||||
public function __construct(ServerAPI $api, $server = false);
|
||||
|
||||
public function init();
|
||||
|
||||
//public function __destruct(); useless
|
||||
}
|
||||
|
||||
class PluginAPI extends stdClass{
|
||||
|
||||
private $server;
|
||||
|
|
@ -323,14 +309,4 @@ class RequiredPluginEntry{ //Use this as object of requirements array
|
|||
}
|
||||
}
|
||||
|
||||
class DummyPlugin implements Plugin{
|
||||
|
||||
public function __construct(ServerAPI $api, $server = false){
|
||||
}
|
||||
|
||||
public function init(){
|
||||
}
|
||||
|
||||
public function __destruct(){
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue