Polyphase Game Engine
Loading...
Searching...
No Matches
ContentPak.h File Reference
#include <stdint.h>
#include <string>
#include <vector>
#include "PolyphaseAPI.h"

Go to the source code of this file.

Classes

struct  ContentPak::SourceFile
 

Namespaces

namespace  ContentPak
 

Functions

bool ContentPak::Mount (const char *pakPath)
 
void ContentPak::Unmount ()
 
bool ContentPak::IsMounted ()
 
bool ContentPak::Exists (const char *path)
 
bool ContentPak::Read (const char *path, int32_t maxSize, char *&outData, uint32_t &outSize)
 
bool ContentPak::FindEntry (const char *path, uint32_t &outDataOffset, uint32_t &outDataSize)
 
const char * ContentPak::GetPakPath ()
 
void ContentPak::List (const char *prefix, std::vector< std::string > &outKeys)
 
bool ContentPak::Build (const char *pakPath, const std::vector< SourceFile > &files, uint32_t &outEntryCount)