mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-22 18:54:33 +00:00
21 lines
425 B
C++
21 lines
425 B
C++
#include "stdafx.h"
|
|
#include "DLCManager.h"
|
|
#include "DLCGameRulesFile.h"
|
|
|
|
DLCGameRulesFile::DLCGameRulesFile(const wstring &path) : DLCGameRules(DLCManager::e_DLCType_GameRules,path)
|
|
{
|
|
m_pbData = nullptr;
|
|
m_dwBytes = 0;
|
|
}
|
|
|
|
void DLCGameRulesFile::addData(PBYTE pbData, DWORD dwBytes)
|
|
{
|
|
m_pbData = pbData;
|
|
m_dwBytes = dwBytes;
|
|
}
|
|
|
|
PBYTE DLCGameRulesFile::getData(DWORD &dwBytes)
|
|
{
|
|
dwBytes = m_dwBytes;
|
|
return m_pbData;
|
|
} |