mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 03:11:28 +00:00
22 lines
314 B
C++
22 lines
314 B
C++
#ifndef EQEMU_COMMON_FILE_VERIFY_H
|
|
#define EQEMU_COMMON_FILE_VERIFY_H
|
|
|
|
namespace EQEmu
|
|
{
|
|
class FileVerify
|
|
{
|
|
public:
|
|
FileVerify();
|
|
~FileVerify();
|
|
|
|
bool Load(const char *file_name);
|
|
bool Verify(const char *data, uint32 size, ClientVersion version);
|
|
|
|
private:
|
|
char *buffer;
|
|
uint32 size;
|
|
};
|
|
}
|
|
|
|
#endif
|