增加List处理功能
This commit is contained in:
@@ -39,8 +39,14 @@ public:
|
||||
static LuaNPKFileList* createEmpty();
|
||||
static void destroy(LuaNPKFileList* instance);
|
||||
public:
|
||||
bool loadListFromFile(const char* wszListFile/*utf8*/, const char* prefix, uint32_t flags, bool bEnableDuplicate);
|
||||
bool dumpToLocalFile(const char* wszListFile/*utf8*/, uint32_t flags);
|
||||
bool mergeOtherListInto(const LuaNPKFileList* sourceFileList, bool bEnableDuplicate);
|
||||
bool applyToLocalNPKFiles(const char* wszNPKBase/*utf8*/);
|
||||
|
||||
int32_t getFileCounts(void) const;
|
||||
LuaNPKFileItemFullInfo getFileItem(int32_t index) const;
|
||||
LuaNPKFileItemFullInfo getFileItemFromIndex(int32_t index) const;
|
||||
LuaNPKFileItemFullInfo getFileItemFromName(const char* szKeyName) const;
|
||||
|
||||
public:
|
||||
NPK::IFileList* m_pFileList = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user