Loading...
Searching...
No Matches
by::packLoader Class Reference

Pack loading and management system. More...

#include <packLoader.hpp>

Inheritance diagram for by::packLoader:
by::typeProvidable by::clonable

Public Member Functions

me & addPath (const std::string &filePath)
 
me & addPath (const std::vector< std::string > paths)
 
me & addPath (std::initializer_list< const nchar * > paths)
 
me & addRelativePath (const std::string &path)
 
me & setBasePacks (nmap &s)
 Sets the map where loaded packs will be stored.
 
me & setBasePacks (nmap *it) BY_SIDE_FUNC(it
 
void load ()
 Initiates the pack loading process.
 
- Public Member Functions inherited from by::typeProvidable
nbool operator== (const me &rhs) const
 
nbool operator!= (const me &rhs) const
 
virtual const typegetType () const =0
 
nbool isSub (const type &it) const
 
nbool isSub (const type *it) const BY_SIDE_FUNC(isSub)
 
nbool isSub (const me &it) const
 
nbool isSub (const me *it) const BY_SIDE_FUNC(isSub)
 
nbool isSuper (const type &it) const
 
nbool isSuper (const type *it) const BY_SIDE_FUNC(isSuper)
 
nbool isSuper (const me &it) const
 
nbool isSuper (const me *it) const BY_SIDE_FUNC(isSuper)
 
template<typename T >
nint isSub () const
 
template<typename T >
nint isSuper () const
 
template<typename T >
T * cast ()
 
template<typename T >
const T * cast () const BY_CONST_FUNC(cast< T >()) virtual void *cast(const type &to)
 Safe cast to target type using type hierarchy information.
 
const void * cast (const type &to) const BY_CONST_FUNC(cast(to)) void *cast(const type *it) BY_SIDE_FUNC(cast)
 
- Public Member Functions inherited from by::clonable
virtual me * clone () const =0
 
virtual me * cloneDeep () const
 
virtual void onCloneDeep (const me &from)
 

Public Attributes

me setBasePacks it
 
me setBasePacksthis
 

Detailed Description

Pack loading and management system.

Manages the loading of slots from manifest files and file paths. Coordinates pack loading strategies and maintains slot hierarchies for the runtime system.

Member Function Documentation

◆ load()

void by::packLoader::load ( )

Initiates the pack loading process.

This method triggers the discovery, parsing, verification, and linking of all packs found in the configured paths.

◆ setBasePacks()

me & by::packLoader::setBasePacks ( nmap & s)

Sets the map where loaded packs will be stored.

Parameters
sThe nmap object to store the loaded packs.
Returns
A reference to this packLoader instance.

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