Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
515 B · 26 lines
C++
at main
1234567891011121314151617181920212223242526#include "stdafx.h"#include "DLCFile.h"
DLCFile::DLCFile(DLCManager::EDLCType type, const wstring &path){ m_type = type; m_path = path;
// store the id bool dlcSkin = path.substr(0,3).compare(L"dlc") == 0;
if(dlcSkin) { wstring skinValue = path.substr(7,path.size()); skinValue = skinValue.substr(0,skinValue.find_first_of(L'.')); std::wstringstream ss; ss << std::dec << skinValue.c_str(); ss >> m_dwSkinId; m_dwSkinId = MAKE_SKIN_BITMASK(true, m_dwSkinId);
} else { m_dwSkinId=0; }}