![]() |
TrinityCore
|
#include <CascHandles.h>
Public Member Functions | |
| ~Storage () | |
| uint32 | GetBuildNumber () const |
| uint32 | GetInstalledLocalesMask () const |
| bool | HasTactKey (uint64 keyLookup) const |
| File * | OpenFile (char const *fileName, uint32 localeMask, bool printErrors=false, bool zerofillEncryptedParts=false) const |
| File * | OpenFile (uint32 fileDataId, uint32 localeMask, bool printErrors=false, bool zerofillEncryptedParts=false) const |
Static Public Member Functions | |
| static Storage * | Open (boost::filesystem::path const &path, uint32 localeMask, char const *product) |
| static Storage * | OpenRemote (boost::filesystem::path const &path, uint32 localeMask, char const *product, char const *region) |
Private Member Functions | |
| Storage (HANDLE handle) | |
| bool | LoadOnlineTactKeys () |
Private Attributes | |
| HANDLE | _handle |
Definition at line 38 of file CascHandles.h.
| CASC::Storage::~Storage | ( | ) |
Definition at line 178 of file CascHandles.cpp.
References _handle.
|
private |
Definition at line 166 of file CascHandles.cpp.
| uint32 CASC::Storage::GetBuildNumber | ( | ) | const |
Definition at line 251 of file CascHandles.cpp.
References _handle.
| uint32 CASC::Storage::GetInstalledLocalesMask | ( | ) | const |
Definition at line 260 of file CascHandles.cpp.
References _handle.
| bool CASC::Storage::HasTactKey | ( | uint64 | keyLookup | ) | const |
Definition at line 269 of file CascHandles.cpp.
References _handle.
|
private |
Definition at line 170 of file CascHandles.cpp.
References _handle.
Referenced by Open(), and OpenRemote().
|
static |
Definition at line 183 of file CascHandles.cpp.
References CASC::HumanReadableCASCError(), and LoadOnlineTactKeys().
Referenced by GetInstalledLocalesMask(), and OpenCascStorage().
| File * CASC::Storage::OpenFile | ( | char const * | fileName, |
| uint32 | localeMask, | ||
| bool | printErrors = false, |
||
| bool | zerofillEncryptedParts = false |
||
| ) | const |
Definition at line 274 of file CascHandles.cpp.
References _handle, and CASC::HumanReadableCASCError().
| File * CASC::Storage::OpenFile | ( | uint32 | fileDataId, |
| uint32 | localeMask, | ||
| bool | printErrors = false, |
||
| bool | zerofillEncryptedParts = false |
||
| ) | const |
Definition at line 295 of file CascHandles.cpp.
References _handle, and CASC::HumanReadableCASCError().
|
static |
Definition at line 211 of file CascHandles.cpp.
References CASC::HumanReadableCASCError(), and LoadOnlineTactKeys().
Referenced by GetInstalledLocalesMask(), and OpenCascStorage().
|
private |
Definition at line 58 of file CascHandles.h.
Referenced by GetBuildNumber(), GetInstalledLocalesMask(), HasTactKey(), LoadOnlineTactKeys(), OpenFile(), OpenFile(), and ~Storage().