mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-12 07:48:16 -05:00
Include and exclude asset type dumping configured by command line args
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
#include <regex>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#include "Utils/Arguments/ArgumentParser.h"
|
||||
#include "Zone/Zone.h"
|
||||
@ -24,6 +25,8 @@ private:
|
||||
bool SetImageDumpingMode();
|
||||
bool SetModelDumpingMode();
|
||||
|
||||
void ParseCommaSeparatedAssetTypeString(const std::string& input);
|
||||
|
||||
public:
|
||||
enum class ProcessingTask
|
||||
{
|
||||
@ -31,6 +34,12 @@ public:
|
||||
LIST
|
||||
};
|
||||
|
||||
enum class AssetTypeHandling
|
||||
{
|
||||
EXCLUDE,
|
||||
INCLUDE
|
||||
};
|
||||
|
||||
std::vector<std::string> m_zones_to_load;
|
||||
std::vector<std::string> m_zones_to_unlink;
|
||||
std::set<std::string> m_user_search_paths;
|
||||
@ -39,6 +48,9 @@ public:
|
||||
std::string m_output_folder;
|
||||
bool m_minimal_zone_def;
|
||||
|
||||
std::set<std::string> m_specified_asset_types;
|
||||
AssetTypeHandling m_asset_type_handling;
|
||||
|
||||
bool m_use_gdt;
|
||||
|
||||
bool m_verbose;
|
||||
|
Reference in New Issue
Block a user