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.
714 B · 26 lines
C++
at main
1234567891011121314151617181920212223242526#include "stdafx.h"#include "DLCManager.h"#include "DLCColourTableFile.h"#include "..\..\Minecraft.h"#include "..\..\TexturePackRepository.h"#include "..\..\TexturePack.h"
DLCColourTableFile::DLCColourTableFile(const wstring &path) : DLCFile(DLCManager::e_DLCType_ColourTable,path){ m_colourTable = NULL;}
DLCColourTableFile::~DLCColourTableFile(){ if(m_colourTable != NULL) { app.DebugPrintf("Deleting DLCColourTableFile data\n"); delete m_colourTable; }}
void DLCColourTableFile::addData(PBYTE pbData, DWORD dwBytes){ ColourTable *defaultColourTable = Minecraft::GetInstance()->skins->getDefault()->getColourTable(); m_colourTable = new ColourTable(defaultColourTable, pbData, dwBytes);}