18#ifndef CascHandles_h__
19#define CascHandles_h__
43 static Storage*
Open(boost::filesystem::path
const& path,
uint32 localeMask,
char const* product);
44 static Storage*
OpenRemote(boost::filesystem::path
const& path,
uint32 localeMask,
char const* product,
char const* region);
50 File*
OpenFile(
char const* fileName,
uint32 localeMask,
bool printErrors =
false,
bool zerofillEncryptedParts =
false)
const;
51 File*
OpenFile(
uint32 fileDataId,
uint32 localeMask,
bool printErrors =
false,
bool zerofillEncryptedParts =
false)
const;
bool SetPointer(int64 position)
bool ReadFile(void *buffer, uint32 bytes, uint32 *bytesRead)
bool HasTactKey(uint64 keyLookup) const
uint32 GetBuildNumber() const
static Storage * OpenRemote(boost::filesystem::path const &path, uint32 localeMask, char const *product, char const *region)
static Storage * Open(boost::filesystem::path const &path, uint32 localeMask, char const *product)
uint32 GetInstalledLocalesMask() const
File * OpenFile(char const *fileName, uint32 localeMask, bool printErrors=false, bool zerofillEncryptedParts=false) const
bool LoadOnlineTactKeys()
char const * HumanReadableCASCError(uint32 error)