the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 21 lines 422 B view raw
1#include "stdafx.h" 2#include "DLCManager.h" 3#include "DLCGameRulesFile.h" 4 5DLCGameRulesFile::DLCGameRulesFile(const wstring &path) : DLCGameRules(DLCManager::e_DLCType_GameRules,path) 6{ 7 m_pbData = NULL; 8 m_dwBytes = 0; 9} 10 11void DLCGameRulesFile::addData(PBYTE pbData, DWORD dwBytes) 12{ 13 m_pbData = pbData; 14 m_dwBytes = dwBytes; 15} 16 17PBYTE DLCGameRulesFile::getData(DWORD &dwBytes) 18{ 19 dwBytes = m_dwBytes; 20 return m_pbData; 21}