#include <PluginManager.h>
Definition at line 38 of file PluginManager.h.
◆ PluginManager() [1/3]
◆ PluginManager() [2/3]
◆ PluginManager() [3/3]
API::PluginManager::PluginManager |
( |
| ) |
|
|
privatedefault |
◆ ~PluginManager()
API::PluginManager::~PluginManager |
( |
| ) |
|
|
privatedefault |
◆ CheckPluginsDependencies()
void API::PluginManager::CheckPluginsDependencies |
( |
| ) |
|
|
private |
◆ DetectPluginChanges()
void API::PluginManager::DetectPluginChanges |
( |
| ) |
|
|
private |
◆ DetectPluginChangesTimerCallback()
void API::PluginManager::DetectPluginChangesTimerCallback |
( |
| ) |
|
|
static |
◆ FindPlugin()
std::vector< std::shared_ptr< Plugin > >::const_iterator API::PluginManager::FindPlugin |
( |
const std::string & | plugin_name | ) |
|
Find plugin by it's name.
- Parameters
-
plugin_name | File name of the plugin |
- Returns
- An iterator to the loaded plugin
Definition at line 238 of file PluginManager.cpp.
◆ Get()
◆ IsPluginLoaded()
bool API::PluginManager::IsPluginLoaded |
( |
const std::string & | plugin_name | ) |
|
Returns true if plugin was loaded, false otherwise.
Definition at line 249 of file PluginManager.cpp.
◆ LoadAllPlugins()
void API::PluginManager::LoadAllPlugins |
( |
| ) |
|
◆ LoadPlugin()
std::shared_ptr< Plugin > & API::PluginManager::LoadPlugin |
( |
const std::string & | plugin_name | ) |
|
Load plugin by it's name.
- Parameters
-
plugin_name | File name of the plugin |
- Returns
- Loaded plugin
Definition at line 99 of file PluginManager.cpp.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ReadPluginInfo()
◆ ReadSettingsConfig()
◆ UnloadPlugin()
void API::PluginManager::UnloadPlugin |
( |
const std::string & | plugin_name | ) |
|
Unload plugin by it's name. Plugin must free all used resources.
- Parameters
-
plugin_name | File name of the plugin |
Definition at line 147 of file PluginManager.cpp.
◆ enable_plugin_reload_
bool API::PluginManager::enable_plugin_reload_ {false} |
|
private |
◆ loaded_plugins_
std::vector<std::shared_ptr<Plugin> > API::PluginManager::loaded_plugins_ |
|
private |
◆ next_reload_check_
time_t API::PluginManager::next_reload_check_ {5} |
|
private |
◆ reload_sleep_seconds_
int API::PluginManager::reload_sleep_seconds_ {5} |
|
private |
◆ save_world_before_reload_
bool API::PluginManager::save_world_before_reload_ {true} |
|
private |
The documentation for this class was generated from the following files:
- C:/Users/lachl/Downloads/ArkServerAPI_NEW/ASA/AsaApi/AsaApi/Core/Private/PluginManager/PluginManager.h
- C:/Users/lachl/Downloads/ArkServerAPI_NEW/ASA/AsaApi/AsaApi/Core/Private/PluginManager/PluginManager.cpp