增加Lua函数

This commit is contained in:
2025-09-02 22:45:41 +08:00
parent 6788128cc3
commit 25e7cff75d
14 changed files with 260 additions and 22 deletions
+4 -2
View File
@@ -31,6 +31,8 @@ public:
return m_currentOffset >= m_fileSize;
}
virtual bool writeToDiskFile(const wchar_t* diskPathFile);
protected:
//Pack file
CNPKFile* m_pNPKFile;
@@ -38,9 +40,9 @@ protected:
HANDLE m_hFileandle;
std::string m_fileName;
//offset of the file in the pak file
uint32_t m_fileOffset = 0;
const uint32_t m_fileOffset = 0;
//size of the file
uint32_t m_fileSize = 0;
const uint32_t m_fileSize = 0;
//current read offset in the file
uint32_t m_currentOffset = 0;
//CRC32 checksum of the file