Botcraft
1.21.4
Loading...
Searching...
No Matches
PluginLoader.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <memory>
4
5
namespace
ProtocolCraft
6
{
7
class
PluginObject;
8
9
/// @brief Create an abstract PluginObject using a runtime loaded plugin (dll/so)
10
/// @param identifier Identifier of the type we want to create (minecraft:register, minecraft:brand etc...)
11
/// @return A shared_ptr of the plugin specified type, or nullptr if no known plugin exposes this identifier
12
std::shared_ptr<PluginObject>
CreateObjectFromPlugin
(
const
char
* identifier);
13
}
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::CreateObjectFromPlugin
std::shared_ptr< PluginObject > CreateObjectFromPlugin(const char *identifier)
Create an abstract PluginObject using a runtime loaded plugin (dll/so)
Definition
PluginLoader.cpp:135
protocolCraft
include
protocolCraft
Utilities
Plugins
PluginLoader.hpp
Generated by
1.9.8