mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 01:34:38 +00:00
15 lines
444 B
C++
15 lines
444 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);
|
|
}
|