![]() |
TrinityCore
|
#include <CascHandles.h>
Public Member Functions | |
| ~File () | |
| uint32 | GetId () const |
| int64 | GetSize () const |
| int64 | GetPointer () const |
| bool | SetPointer (int64 position) |
| bool | ReadFile (void *buffer, uint32 bytes, uint32 *bytesRead) |
Private Member Functions | |
| File (HANDLE handle) | |
Private Attributes | |
| HANDLE | _handle |
Friends | |
| File * | Storage::OpenFile (char const *fileName, uint32 localeMask, bool printErrors, bool zerofillEncryptedParts) const |
| File * | Storage::OpenFile (uint32 fileDataId, uint32 localeMask, bool printErrors, bool zerofillEncryptedParts) const |
Definition at line 61 of file CascHandles.h.
| CASC::File::~File | ( | ) |
Definition at line 320 of file CascHandles.cpp.
References _handle.
|
private |
Definition at line 316 of file CascHandles.cpp.
| uint32 CASC::File::GetId | ( | ) | const |
Definition at line 325 of file CascHandles.cpp.
References _handle.
| int64 CASC::File::GetPointer | ( | ) | const |
Definition at line 343 of file CascHandles.cpp.
References _handle.
| int64 CASC::File::GetSize | ( | ) | const |
Definition at line 334 of file CascHandles.cpp.
References _handle.
Referenced by ExtractFile(), and CASCFile::init().
Definition at line 359 of file CascHandles.cpp.
References _handle.
Referenced by ExtractDB2File(), ExtractFile(), and CASCFile::init().
| bool CASC::File::SetPointer | ( | int64 | position | ) |
Definition at line 352 of file CascHandles.cpp.
References _handle.
|
friend |
|
friend |
|
private |
Definition at line 78 of file CascHandles.h.
Referenced by GetId(), GetPointer(), GetSize(), ReadFile(), SetPointer(), and ~File().