|
enum class | State { Enabled
, Disabled
} |
|
using | callback_t = bool(Mod&) |
|
using | CallbackFn = std::function<callback_t> |
|
|
LLNDAPI | Mod (Manifest manifest) |
|
LLNDAPI State | getState () const |
|
LLNDAPI Manifest const & | getManifest () const |
|
LLNDAPI std::string const & | getName () const |
|
LLNDAPI std::string const & | getType () const |
|
LLNDAPI std::filesystem::path const & | getModDir () const |
|
LLNDAPI std::filesystem::path const & | getDataDir () const |
|
LLNDAPI std::filesystem::path const & | getConfigDir () const |
|
LLNDAPI std::filesystem::path const & | getLangDir () const |
|
LLNDAPI io::Logger & | getLogger () const |
|
bool | isEnabled () const |
|
bool | isDisabled () const |
|
LLAPI void | onLoad (CallbackFn func) noexcept |
|
LLAPI void | onUnload (CallbackFn func) noexcept |
|
LLAPI void | onEnable (CallbackFn func) noexcept |
|
LLAPI void | onDisable (CallbackFn func) noexcept |
|
|
LLAPI void | release () noexcept |
|
LLAPI void | setState (State state) const |
|
LLNDAPI bool | hasOnLoad () const noexcept |
|
LLNDAPI bool | hasOnUnload () const noexcept |
|
LLNDAPI bool | hasOnEnable () const noexcept |
|
LLNDAPI bool | hasOnDisable () const noexcept |
|
LLAPI Expected | onLoad () noexcept |
|
LLAPI Expected | onUnload () noexcept |
|
LLAPI Expected | onEnable () noexcept |
|
LLAPI Expected | onDisable () noexcept |
|
The documentation for this class was generated from the following file: