mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 03:33:38 +00:00
15 lines
488 B
C++
15 lines
488 B
C++
#include "../../Minecraft.World/Platform/stdafx.h"
|
|
#include "DLCManager.h"
|
|
#include "DLCLocalisationFile.h"
|
|
#include "../../Minecraft.Client/Utils/StringTable.h"
|
|
|
|
DLCLocalisationFile::DLCLocalisationFile(const std::wstring& path)
|
|
: DLCFile(DLCManager::e_DLCType_LocalisationData, path) {
|
|
m_strings = NULL;
|
|
}
|
|
|
|
void DLCLocalisationFile::addData(std::uint8_t* pbData,
|
|
std::uint32_t dataBytes) {
|
|
m_strings = new StringTable(pbData, dataBytes);
|
|
}
|