diff options
Diffstat (limited to 'Minecraft.Client/Common/DLC/DLCFile.h')
| -rw-r--r-- | Minecraft.Client/Common/DLC/DLCFile.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Minecraft.Client/Common/DLC/DLCFile.h b/Minecraft.Client/Common/DLC/DLCFile.h new file mode 100644 index 00000000..3a40dbc7 --- /dev/null +++ b/Minecraft.Client/Common/DLC/DLCFile.h @@ -0,0 +1,25 @@ +#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;} +};
\ No newline at end of file |
