class
#include <IO/PakFile.h>
PakWriter Allows to create a .pak
file.
Constructors, destructors, conversion operators
-
PakWriter(Containers::
StringView path) explicit - ~PakWriter()
- PakWriter(const PakWriter&) deleted
- operator bool() const explicit
Public functions
- auto operator=(const PakWriter&) -> PakWriter& deleted
- auto IsValid() const -> bool
-
auto AddFile(Stream& stream,
Containers::
StringView path, PakPreferredCompression preferredCompression = PakPreferredCompression:: None) -> bool - Adds a file to the
.pak
container. - void Finalize()
- Writes file index and finalizes the
.pak
containers.
Public variables
-
Containers::
String MountPoint - Specifies optional mount point for the container.