This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
21 lines
385 B
C++
21 lines
385 B
C++
#pragma once
|
|
#include "DLCFile.h"
|
|
|
|
class DLCUIDataFile : public DLCFile
|
|
{
|
|
private:
|
|
PBYTE m_pbData;
|
|
DWORD m_dwBytes;
|
|
bool m_canDeleteData;
|
|
|
|
public:
|
|
DLCUIDataFile(const wstring &path);
|
|
~DLCUIDataFile();
|
|
|
|
using DLCFile::addData;
|
|
using DLCFile::addParameter;
|
|
|
|
virtual void addData(PBYTE pbData, DWORD dwBytes,bool canDeleteData = false);
|
|
virtual PBYTE getData(DWORD &dwBytes);
|
|
};
|