mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-07 12:18:11 +00:00
13 lines
636 B
C++
13 lines
636 B
C++
#include <MC/ResourcePack.hpp>
|
|
#include <MC/ResourcePackRepository.hpp>
|
|
#include <MC/CompositePackSource.hpp>
|
|
#include <MC/PackSourceFactory.hpp>
|
|
#include <MC/PackSource.hpp>
|
|
|
|
// void ResourcePackRepository::setCustomResourcePackPath(PackType type, const std::string& path) {
|
|
// auto CompositePack = dAccess<CompositePackSource*>(this, 48);
|
|
// auto& PackSourceFactory = getPackSourceFactory();
|
|
// auto& DirectoryPackSource = PackSourceFactory.createDirectoryPackSource(Core::Path(path), type, PackOrigin::PackOrigin_Dev, 0);
|
|
// CompositePack->addPackSource((PackSource*)&DirectoryPackSource);
|
|
// refreshPacks();
|
|
// }
|