LeviLamina
Loading...
Searching...
No Matches
ll::mod::ModManagerRegistry Class Reference

Public Member Functions

LLNDAPI bool addManager (std::shared_ptr< ModManager > const &manager)
 
LLNDAPI bool eraseManager (std::string_view type)
 
LLNDAPI bool hasManager (std::string_view type) const
 
LLNDAPI std::shared_ptr< ModManagergetManager (std::string_view type) const
 
LLNDAPI std::shared_ptr< ModManagergetManagerForMod (std::string_view name) const
 
LLNDAPI coro::Generator< ModManager & > managers () const
 
LLNDAPI coro::Generator< Mod & > mods () const
 
LLNDAPI bool hasMod (std::string_view name) const
 
LLNDAPI std::string getModType (std::string_view name) const
 
LLNDAPI std::shared_ptr< ModgetMod (std::string_view name) const
 
LLAPI void executeOnModLoad (std::function< void(std::string_view name)> &&fn) noexcept
 
LLAPI void executeOnModUnload (std::function< void(std::string_view name)> &&fn) noexcept
 
LLAPI void executeOnModEnable (std::function< void(std::string_view name)> &&fn) noexcept
 
LLAPI void executeOnModDisable (std::function< void(std::string_view name)> &&fn) noexcept
 

Static Public Member Functions

static LLNDAPI ModManagerRegistrygetInstance ()
 

The documentation for this class was generated from the following file: