#include "stdafx.h" #include "DLCManager.h" #include "DLCGameRulesFile.h" DLCGameRulesFile::DLCGameRulesFile(const wstring &path) : DLCGameRules(DLCManager::e_DLCType_GameRules,path) { m_pbData = NULL; m_dwBytes = 0; } void DLCGameRulesFile::addData(uint8_t* pbData, unsigned long dwBytes) { m_pbData = pbData; m_dwBytes = dwBytes; } uint8_t* DLCGameRulesFile::getData(unsigned long &dwBytes) { dwBytes = m_dwBytes; return m_pbData; }