class
#include <IO/PakFile.h>
PakWriter Allows to create a .pak
file.
Constructors, destructors, conversion operators
-
PakWriter(Containers::
StringView path, bool useHashIndex = false, bool useCompressedIndex = false) 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. -
auto GetMountPoint() const -> Containers::
StringView - Returns optional mount point for the container.
-
void SetMountPoint(Containers::
String value) - Sets optional mount point for the container.