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.
25 lines
750 B
C++
25 lines
750 B
C++
#pragma once
|
|
#include "DLCManager.h"
|
|
|
|
class DLCFile
|
|
{
|
|
protected:
|
|
DLCManager::EDLCType m_type;
|
|
wstring m_path;
|
|
DWORD m_dwSkinId;
|
|
|
|
public:
|
|
DLCFile(DLCManager::EDLCType type, const wstring &path);
|
|
virtual ~DLCFile() {}
|
|
|
|
DLCManager::EDLCType getType() { return m_type; }
|
|
wstring getPath() { return m_path; }
|
|
DWORD getSkinID() { return m_dwSkinId; }
|
|
|
|
virtual void addData(PBYTE pbData, DWORD dwBytes) {}
|
|
virtual PBYTE getData(DWORD &dwBytes) { dwBytes = 0; return NULL; }
|
|
virtual void addParameter(DLCManager::EDLCParameterType type, const wstring &value) {}
|
|
|
|
virtual wstring getParameterAsString(DLCManager::EDLCParameterType type) { return L""; }
|
|
virtual bool getParameterAsBool(DLCManager::EDLCParameterType type) { return false;}
|
|
}; |