PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::Archive Class Reference

Public Member Functions

bool Open (const Filesystem &filesystem, const VirtualPath &archivePath)
 Opens the archive at the given path and reads the index.
 
std::vector< uint8_t > GetAsset (const std::string &assetName)
 

Member Function Documentation

◆ GetAsset()

std::vector< uint8_t > pixelbullet::Archive::GetAsset ( const std::string & assetName)

Returns the decompressed asset data for the given asset name. If decompression fails, a warning is logged and an empty vector is returned.

◆ Open()

bool pixelbullet::Archive::Open ( const Filesystem & filesystem,
const VirtualPath & archivePath )

Opens the archive at the given path and reads the index.


The documentation for this class was generated from the following files: