the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 26 lines 515 B view raw
1#include "stdafx.h" 2#include "DLCFile.h" 3 4DLCFile::DLCFile(DLCManager::EDLCType type, const wstring &path) 5{ 6 m_type = type; 7 m_path = path; 8 9 // store the id 10 bool dlcSkin = path.substr(0,3).compare(L"dlc") == 0; 11 12 if(dlcSkin) 13 { 14 wstring skinValue = path.substr(7,path.size()); 15 skinValue = skinValue.substr(0,skinValue.find_first_of(L'.')); 16 std::wstringstream ss; 17 ss << std::dec << skinValue.c_str(); 18 ss >> m_dwSkinId; 19 m_dwSkinId = MAKE_SKIN_BITMASK(true, m_dwSkinId); 20 21 } 22 else 23 { 24 m_dwSkinId=0; 25 } 26}