16#ifndef AEONGAMES_PACK_H
17#define AEONGAMES_PACK_H
19#include <unordered_map>
48 int operator() (
int argc,
char** argv )
override;
50 void ProcessArgs (
int argc,
char** argv );
51 bool ProcessDirectory (
const std::string& path );
52 int ExecCompress()
const;
53 int ExecExtract()
const;
54 int ExecDirectory()
const;
55 std::unordered_map<uint32_t, PKGDirectoryEntry> mDirectory;
56 std::unordered_map<uint32_t, std::string> mStringTable;
58 std::string mRootPath;
59 std::string mBaseName;
60 std::string mInputPath;
61 std::string mOutputFile;
Header for the PKG file specification.
Action
Specifies the pack operation to perform.
@ Compress
Compress assets into a package.
@ Directory
List the directory of a package.
@ Extract
Extract assets from a package.
Pack()
Default constructor.
int operator()(int argc, char **argv) override
Execute the pack tool.
<- This is here just for the literals