AVA2 cross-platform client parity baseline

This commit is contained in:
shen
2026-10-06 00:53:42 -07:00
commit 9f748eb05a
3271 changed files with 1275528 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
#pragma once
#include <string>
class CProperty
{
public:
CProperty(const char * c_pszFileName);
~CProperty();
void Clear();
bool ReadFromMemory(const void * c_pvData, int iLen, const char * c_pszFileName);
#ifdef USE_FOX_FS
bool ReadFromXML(const char* c_pszCRC);
#endif
const char * GetFileName();
bool GetVector(const char * c_pszKey, CTokenVector & rTokenVector);
bool GetString(const char * c_pszKey, const char ** c_ppString);
void PutVector(const char * c_pszKey, const CTokenVector & c_rTokenVector);
void PutString(const char * c_pszKey, const char * c_pszString);
bool Save(const char * c_pszFileName);
DWORD GetSize();
DWORD GetCRC();
protected:
std::string m_stFileName;
std::string m_stCRC;
const char * mc_pFileName;
DWORD m_dwCRC;
CTokenVectorMap m_stTokenMap;
};