Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
|
#include <plugins.h>
Public Member Functions | |
Plugin (std::string path) | |
Construct a new Plugin object. | |
~Plugin () | |
Destroy the Plugin object. | |
bool | load () |
Loads the plugin. | |
Public Attributes | |
std::string | name |
Name of the plugin. | |
std::string | version |
Version of the plugin. | |
Plugin class.
|
explicit |
Construct a new Plugin object.
path | the path of the lua plugin |
Plugin::~Plugin | ( | ) |
Destroy the Plugin object.
Unloads it gracefully as well
bool Plugin::load | ( | ) |
Loads the plugin.