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

Public Member Functions

bool Open (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 VirtualPath & archivePath)

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


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