#include <WSSAnvil.h>
|
unsigned | FindFreeLocation (int a_LocalX, int a_LocalZ, size_t a_DataSize) |
| Finds a free location large enough to hold a_Data. More...
|
|
bool | OpenFile (bool a_IsForReading) |
| Opens a MCA file either for a Read operation (fails if doesn't exist) or for a Write operation (creates new if not found) More...
|
|
Definition at line 51 of file WSSAnvil.h.
◆ cMCAFile()
cWSSAnvil::cMCAFile::cMCAFile |
( |
cWSSAnvil & |
a_ParentSchema, |
|
|
const AString & |
a_FileName, |
|
|
int |
a_RegionX, |
|
|
int |
a_RegionZ |
|
) |
| |
◆ FindFreeLocation()
unsigned cWSSAnvil::cMCAFile::FindFreeLocation |
( |
int |
a_LocalX, |
|
|
int |
a_LocalZ, |
|
|
size_t |
a_DataSize |
|
) |
| |
|
protected |
Finds a free location large enough to hold a_Data.
Returns the sector number.
Definition at line 4123 of file WSSAnvil.cpp.
◆ GetChunkData()
◆ GetFileName()
const AString& cWSSAnvil::cMCAFile::GetFileName |
( |
| ) |
const |
|
inline |
◆ GetRegionX()
int cWSSAnvil::cMCAFile::GetRegionX |
( |
| ) |
const |
|
inline |
◆ GetRegionZ()
int cWSSAnvil::cMCAFile::GetRegionZ |
( |
| ) |
const |
|
inline |
◆ OpenFile()
bool cWSSAnvil::cMCAFile::OpenFile |
( |
bool |
a_IsForReading | ) |
|
|
protected |
Opens a MCA file either for a Read operation (fails if doesn't exist) or for a Write operation (creates new if not found)
Definition at line 3890 of file WSSAnvil.cpp.
◆ SetChunkData()
◆ m_File
cFile cWSSAnvil::cMCAFile::m_File |
|
protected |
◆ m_FileName
AString cWSSAnvil::cMCAFile::m_FileName |
|
protected |
◆ m_Header
◆ m_ParentSchema
cWSSAnvil& cWSSAnvil::cMCAFile::m_ParentSchema |
|
protected |
◆ m_RegionX
int cWSSAnvil::cMCAFile::m_RegionX |
|
protected |
◆ m_RegionZ
int cWSSAnvil::cMCAFile::m_RegionZ |
|
protected |
◆ m_TimeStamps
The documentation for this class was generated from the following files: