refactor: add ContentControl class
This commit is contained in:
@@ -58,14 +58,10 @@ struct ContentPack {
|
||||
static const std::vector<std::string> RESERVED_NAMES;
|
||||
|
||||
static bool is_pack(const io::path& folder);
|
||||
static ContentPack read(
|
||||
const std::string& path, const io::path& folder
|
||||
);
|
||||
static ContentPack read(const std::string& path, const io::path& folder);
|
||||
|
||||
static void scanFolder(
|
||||
const std::string& path,
|
||||
const io::path& folder,
|
||||
std::vector<ContentPack>& packs
|
||||
const io::path& folder, std::vector<ContentPack>& packs
|
||||
);
|
||||
|
||||
static std::vector<std::string> worldPacksList(
|
||||
|
||||
Reference in New Issue
Block a user