mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Implemented Plugin Interface
This commit is contained in:
parent
00fea6461c
commit
987a6e635e
4 changed files with 22 additions and 4 deletions
|
|
@ -160,4 +160,11 @@ class PluginAPI extends stdClass{
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
interface Plugin{
|
||||
public function __construct($api, $server = false);
|
||||
public function init();
|
||||
public function __destruct();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue